Skip to content

Commit 4f23794

Browse files
authored
[text analytics] avoid python config duplication (#12816)
* avoid python ta config duplication * remove all python blocks from main readme
1 parent 883556b commit 4f23794

File tree

1 file changed

+1
-26
lines changed
  • specification/cognitiveservices/data-plane/TextAnalytics

1 file changed

+1
-26
lines changed

specification/cognitiveservices/data-plane/TextAnalytics/readme.md

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -132,33 +132,8 @@ csharp:
132132
```
133133

134134
## Python
135-
136-
These settings apply only when `--python` is specified on the command line.
137-
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
138-
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
139-
140-
``` yaml $(python)
141-
python-mode: create
142-
python:
143-
license-header: MICROSOFT_MIT_NO_VERSION
144-
add-credentials: true
145-
payload-flattening-threshold: 2
146-
namespace: azure.cognitiveservices.language.textanalytics
147-
package-name: azure-cognitiveservices-language-textanalytics
148-
clear-output-folder: true
149-
```
150135

151-
``` yaml $(python) && $(python-mode) == 'update'
152-
python:
153-
no-namespace-folders: true
154-
output-folder: $(python-sdks-folder)/cognitiveservices/azure-cognitiveservices-language-textanalytics/azure/cognitiveservices/language/textanalytics
155-
```
156-
157-
``` yaml $(python) && $(python-mode) == 'create'
158-
python:
159-
basic-setup-py: true
160-
output-folder: $(python-sdks-folder)/cognitiveservices/azure-cognitiveservices-language-textanalytics
161-
```
136+
See configuration in [readme.python.md](./readme.python.md)
162137

163138
## Go
164139

0 commit comments

Comments
 (0)