Skip to content

Commit

Permalink
Fix Python conf for AnomalyDectector
Browse files Browse the repository at this point in the history
  • Loading branch information
lmazuel committed Aug 7, 2020
1 parent adda038 commit b8238e6
Showing 1 changed file with 16 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,23 @@ These settings apply only when `--python` is specified on the command line.
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.

``` yaml $(python)
``` yaml
python-mode: create
python:
license-header: MICROSOFT_MIT_NO_VERSION
add-credentials: true
payload-flattening-threshold: 2
namespace: azure.cognitiveservices.anomalydetector
package-name: azure-cognitiveservices-anomalydetector
package-version: 0.2.0
clear-output-folder: true
license-header: MICROSOFT_MIT_NO_VERSION
add-credentials: true
credential-default-policy-type: AzureKeyCredentialPolicy
credential-key-header-name: Ocp-Apim-Subscription-Key
payload-flattening-threshold: 1
namespace: azure.cognitiveservices.anomalydetector
package-name: azure-cognitiveservices-anomalydetector
package-version: 0.2.0
clear-output-folder: true
```
``` yaml $(python) && $(python-mode) == 'update'
python:
no-namespace-folders: true
output-folder: $(python-sdks-folder)/cognitiveservices/azure-cognitiveservices-anomalydetector/azure/cognitiveservices/anomalydetector
``` yaml $(python-mode) == 'update'
no-namespace-folders: true
output-folder: $(python-sdks-folder)/cognitiveservices/azure-cognitiveservices-anomalydetector/azure/cognitiveservices/anomalydetector
```
``` yaml $(python) && $(python-mode) == 'create'
python:
basic-setup-py: true
output-folder: $(python-sdks-folder)/cognitiveservices/azure-cognitiveservices-anomalydetector
``` yaml $(python-mode) == 'create'
basic-setup-py: true
output-folder: $(python-sdks-folder)/cognitiveservices/azure-cognitiveservices-anomalydetector
```

0 comments on commit b8238e6

Please sign in to comment.