Skip to content

Commit ff1530a

Browse files
authored
Add python readme for Search. (#15873)
1 parent c36887c commit ff1530a

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
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+
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
6+
7+
``` yaml
8+
license-header: MICROSOFT_MIT_NO_VERSION
9+
payload-flattening-threshold: 1
10+
package-name: azure-search-documents
11+
clear-output-folder: true
12+
no-namespace-folders: true
13+
```
14+
15+
### Tag: package-2020-06-searchservice-preview
16+
17+
These settings apply only when `--tag=package-2020-06-searchservice-preview` is specified on the command line.
18+
19+
``` yaml $(tag) == 'package-2020-06-searchservice-preview'
20+
namespace: azure.search.documents.indexes
21+
output-folder: $(python-sdks-folder)/search/azure-search-documents/azure/search/documents/indexes/_generated
22+
```
23+
24+
### Tag: package-2020-06-searchindex-preview
25+
26+
These settings apply only when `--tag=package-2020-06-searchindex-preview` is specified on the command line.
27+
28+
``` yaml $(tag) == 'package-2020-06-searchindex-preview'
29+
namespace: azure.search.documents
30+
output-folder: $(python-sdks-folder)/search/azure-search-documents/azure/search/documents/_generated
31+
```
32+
33+
### Tag: package-2021-04-searchservice-preview
34+
35+
These settings apply only when `--tag=package-2021-04-searchservice-preview` is specified on the command line.
36+
37+
``` yaml $(tag) == 'package-2021-04-searchservice-preview'
38+
namespace: azure.search.documents.indexes
39+
output-folder: $(python-sdks-folder)/search/azure-search-documents/azure/search/documents/indexes/_generated
40+
```
41+
42+
### Tag: package-2021-04-searchindex-preview
43+
44+
These settings apply only when `--tag=package-2021-04-searchindex-preview` is specified on the command line.
45+
46+
``` yaml $(tag) == 'package-2021-04-searchindex-preview'
47+
namespace: azure.search.documents
48+
output-folder: $(python-sdks-folder)/search/azure-search-documents/azure/search/documents/_generated
49+
```

0 commit comments

Comments
 (0)