Skip to content

Commit b6612fa

Browse files
update translator text readmes for python (#12817)
* test * updating readme for python under translatortext
1 parent 4f23794 commit b6612fa

File tree

2 files changed

+17
-24
lines changed

2 files changed

+17
-24
lines changed

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

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -64,30 +64,7 @@ csharp:
6464

6565
## Python
6666

67-
These settings apply only when `--python` is specified on the command line.
68-
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
69-
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
70-
71-
``` yaml $(python)
72-
python-mode: create
73-
python:
74-
license-header: MICROSOFT_MIT_NO_VERSION
75-
add-credentials: true
76-
payload-flattening-threshold: 2
77-
namespace: azure.cognitiveservices.translatortext
78-
package-name: azure-cognitiveservices-translatortext
79-
clear-output-folder: true
80-
```
81-
``` yaml $(python) && $(python-mode) == 'update'
82-
python:
83-
no-namespace-folders: true
84-
output-folder: $(python-sdks-folder)/cognitiveservices/azure-cognitiveservices-translatortext/azure/cognitiveservices/translatortext
85-
```
86-
``` yaml $(python) && $(python-mode) == 'create'
87-
python:
88-
basic-setup-py: true
89-
output-folder: $(python-sdks-folder)/cognitiveservices/azure-cognitiveservices-translatortext
90-
```
67+
See configuration in [readme.python.md](./readme.python.md)
9168

9269
## Go
9370

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
## Python
2+
3+
These settings apply only when `--python` is specified on the command line.
4+
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
5+
6+
``` yaml
7+
license-header: MICROSOFT_MIT_NO_VERSION
8+
add-credentials: true
9+
payload-flattening-threshold: 2
10+
namespace: azure.ai.translatortext
11+
package-name: azure-ai-translatortext
12+
clear-output-folder: true
13+
credential-scopes: https://cognitiveservices.azure.com/.default
14+
no-namespace-folders: true
15+
python-sdks-folder: $(python-sdks-folder)
16+
```

0 commit comments

Comments
 (0)