Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangyan99 committed Mar 1, 2021
1 parent 8329adf commit 6c5201c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
2 changes: 1 addition & 1 deletion specification/synapse/data-plane/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ tag: package-artifacts-2019-06-01-preview
```
``` yaml $(package-access-control)
tag: package-access-control-2020-02-01-preview
tag: package-access-control-2020-08-01-preview
```
``` yaml $(package-vnet)
Expand Down
17 changes: 5 additions & 12 deletions specification/synapse/data-plane/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ Use `--python-mode=update` if you already have a setup.py and just want to updat
add-credentials: true
license-header: MICROSOFT_MIT_NO_VERSION
payload-flattening-threshold: 1
package-name: azure-synapse
package-version: 0.1.0
clear-output-folder: true
credential-scopes: https://dev.azuresynapse.net/.default
Expand All @@ -21,41 +20,35 @@ batch:
```
``` yaml $(package-spark)
no-namespace-folders: true
package-name: azure-synapse-spark
namespace: azure.synapse.spark
output-folder: $(python-sdks-folder)/synapse/azure-synapse-spark/azure/synapse/spark
```
``` yaml $(package-artifacts)
no-namespace-folders: true
package-name: azure-synapse-artifacts
namespace: azure.synapse.artifacts
modelerfour:
lenient-model-deduplication: true
output-folder: $(python-sdks-folder)/synapse/azure-synapse-artifacts/azure/synapse/artifacts
```
``` yaml $(package-access-control)
no-namespace-folders: true
package-name: azure-synapse-accesscontrol
namespace: azure.synapse.accesscontrol
output-folder: $(python-sdks-folder)/synapse/azure-synapse-accesscontrol/azure/synapse/accesscontrol
```
``` yaml $(package-vnet)
no-namespace-folders: true
package-name: azure-synapse-managedprivateendpoints
namespace: azure.synapse.managedprivateendpoints
output-folder: $(python-sdks-folder)/synapse/azure-synapse-managedprivateendpoints/azure/synapse/managedprivateendpoints
```
``` yaml $(package-monitoring)
no-namespace-folders: true
package-name: azure-synapse-monitoring
namespace: azure.synapse.monitoring
output-folder: $(python-sdks-folder)/synapse/azure-synapse-monitoring/azure/synapse/monitoring
```
### LRO spark methods
``` yaml $(package-spark)
directive:
from: swagger-document
where: $["paths"]["/batches"].post
transform: >
$["x-ms-long-running-operation"] = true;
$["x-python-custom-poller-sync"] = "my.library.CustomPoller";
$["x-python-custom-poller-async"] = "my.library.aio.AsyncCustomPoller"
```

0 comments on commit 6c5201c

Please sign in to comment.