[AutoPR azure-mgmt-datafactory]-generated-from-SDK Generation - Python-6033510#45794
Open
[AutoPR azure-mgmt-datafactory]-generated-from-SDK Generation - Python-6033510#45794
Conversation
….DataFactory/DataFactory/tspconfig.yaml', API Version: 2018-06-01, SDK Release Type: beta, and CommitSHA: '6efaa6fac0287b5696f1c1d6982a9a06c3a9d1ab' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6033510 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.
Contributor
There was a problem hiding this comment.
Pull request overview
This PR appears to be an automated regeneration of azure-mgmt-datafactory from the TypeSpec-based pipeline, updating the generated client/operations surface, metadata, and package version for the next beta release.
Changes:
- Regenerates clients/operations using the “Python Code Generator” (replacing prior AutoRest-generated structure).
- Updates client configuration and request sending flow to support endpoint templating (
{endpoint}) and introduces ETag helper utilities. - Bumps package version to
9.4.0b1and adds a new changelog entry and updated generation metadata.
Reviewed changes
Copilot reviewed 47 out of 235 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
| sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/operations/init.py | Re-exports operation groups from a consolidated _operations module; adjusts public symbols. |
| sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/aio/operations/init.py | Async equivalent re-exports; adjusts public symbols. |
| sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/_client.py | Updates sync client construction and send_request endpoint formatting behavior. |
| sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/aio/_client.py | Updates async client construction and send_request endpoint formatting behavior. |
| sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/_configuration.py | Adds base_url to configuration and updates docstring wording. |
| sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/aio/_configuration.py | Adds base_url to async configuration and updates docstring wording. |
| sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/_utils/utils.py | Adds generated helpers for ETag quoting and conditional header preparation. |
| sdk/datafactory/azure-mgmt-datafactory/CHANGELOG.md | Adds 9.4.0b1 entry (currently with placeholder text). |
| sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/_version.py | Bumps version to 9.4.0b1. |
| sdk/datafactory/azure-mgmt-datafactory/_metadata.json | Updates generation metadata to TypeSpec emitter info and new commit SHA. |
Comments suppressed due to low confidence (2)
sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/aio/operations/init.py:1
- Same issue as the sync
operations/__init__.py: exportingprivateEndPointConnectionsOperationsas a public operation-group symbol introduces an inconsistent (and likely unintended) class name. Please use a PascalCase operation group name for the exported symbol, and consider providing an alias if the previous name wasPrivateEndPointConnectionsOperationsto avoid breaking imports for users.
sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/aio/operations/init.py:1 - Same issue as the sync
operations/__init__.py: exportingprivateEndPointConnectionsOperationsas a public operation-group symbol introduces an inconsistent (and likely unintended) class name. Please use a PascalCase operation group name for the exported symbol, and consider providing an alias if the previous name wasPrivateEndPointConnectionsOperationsto avoid breaking imports for users.
| from ._operations import ManagedPrivateEndpointsOperations # type: ignore | ||
| from ._operations import CredentialOperationsOperations # type: ignore | ||
| from ._operations import PrivateEndpointConnectionOperations # type: ignore | ||
| from ._operations import privateEndPointConnectionsOperations # type: ignore |
| "PrivateEndPointConnectionsOperations", | ||
| "PrivateEndpointConnectionOperations", | ||
| "PrivateLinkResourcesOperations", | ||
| "privateEndPointConnectionsOperations", |
Comment on lines
+3
to
+5
| ## 9.4.0b1 (2026-03-19) | ||
|
|
||
| change log generation was timeout!!! You need to write it manually!!! |
| from azure.core import MatchConditions | ||
|
|
||
|
|
||
| def quote_etag(etag: Optional[str]) -> Optional[str]: |
| return '"' + etag + '"' | ||
|
|
||
|
|
||
| def prep_if_match(etag: Optional[str], match_condition: Optional[MatchConditions]) -> Optional[str]: |
| return None | ||
|
|
||
|
|
||
| def prep_if_none_match(etag: Optional[str], match_condition: Optional[MatchConditions]) -> Optional[str]: |
| from azure.core import MatchConditions | ||
|
|
||
|
|
||
| def quote_etag(etag: Optional[str]) -> Optional[str]: |
| return '"' + etag + '"' | ||
|
|
||
|
|
||
| def prep_if_match(etag: Optional[str], match_condition: Optional[MatchConditions]) -> Optional[str]: |
| return None | ||
|
|
||
|
|
||
| def prep_if_none_match(etag: Optional[str], match_condition: Optional[MatchConditions]) -> Optional[str]: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Configurations: 'specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/tspconfig.yaml', API Version: 2018-06-01, SDK Release Type: beta, and CommitSHA: '6efaa6fac0287b5696f1c1d6982a9a06c3a9d1ab' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6033510 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.