-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[AutoPR azure-resourcemanager-fileshares]-generated-from-SDK Generation - Python-6239783 #46602
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
ankushbindlish2
wants to merge
9
commits into
Azure:main
from
ankushbindlish2:fileshares-GA-apiversion-python
Closed
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
7b1a058
Add azure-mgmt-fileshares SDK package (1.0.0b1)
ankushbindlish2 3577885
Merge branch 'main' into fileshares-GA-apiversion-python
ankushbindlish2 461c2cd
Address PR feedback: fix pyproject.toml, README typos/snippets, remov…
ankushbindlish2 e6f4198
Add tests for azure-mgmt-fileshares with assets.json recordings
ankushbindlish2 9478a7d
Merge branch 'main' into fileshares-GA-apiversion-python
ankushbindlish2 3f4aa66
Fix pytest module name collision: rename tests/_helpers.py to _fs_tes…
ankushbindlish2 bd4330f
Merge branch 'main' into fileshares-GA-apiversion-python
ankushbindlish2 a955028
Mark unrecorded fileshares tests as live_test_only
ankushbindlish2 ad37854
Update tsp-location.yaml to use official azure/azure-rest-api-specs repo
ankushbindlish2 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| # Release History | ||
|
|
||
| ## 1.0.0b1 (2026-04-28) | ||
|
|
||
| ### Other Changes | ||
|
|
||
| - Initial version |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| Copyright (c) Microsoft Corporation. | ||
|
|
||
| MIT License | ||
|
|
||
| Permission is hereby granted, free of charge, to any person obtaining a copy | ||
| of this software and associated documentation files (the "Software"), to deal | ||
| in the Software without restriction, including without limitation the rights | ||
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
| copies of the Software, and to permit persons to whom the Software is | ||
| furnished to do so, subject to the following conditions: | ||
|
|
||
| The above copyright notice and this permission notice shall be included in all | ||
| copies or substantial portions of the Software. | ||
|
|
||
| THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
| SOFTWARE. |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| include *.md | ||
| include LICENSE | ||
| include azure/mgmt/fileshares/py.typed | ||
| recursive-include tests *.py | ||
| recursive-include samples *.py *.md | ||
| include azure/__init__.py | ||
| include azure/mgmt/__init__.py |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,80 @@ | ||
| # Fileshares Management client library for Python | ||
| <!-- write necessary description of service --> | ||
|
|
||
| ## Getting started | ||
|
|
||
| ### Install the package | ||
|
|
||
| ```bash | ||
| python -m pip install azure-mgmt-fileshares | ||
| ``` | ||
|
|
||
| #### Prerequisites | ||
|
|
||
| - Python 3.9 or later is required to use this package. | ||
| - You need an [Azure subscription][azure_sub] to use this package. | ||
| - An existing Fileshares Management instance. | ||
|
|
||
| #### Create with an Azure Active Directory Credential | ||
| To use an [Azure Active Directory (AAD) token credential][authenticate_with_token], | ||
| provide an instance of the desired credential type obtained from the | ||
| [azure-identity][azure_identity_credentials] library. | ||
|
|
||
| To authenticate with AAD, you must first [pip][pip] install [`azure-identity`][azure_identity_pip] | ||
|
|
||
| After setup, you can choose which type of [credential][azure_identity_credentials] from azure.identity to use. | ||
| As an example, [DefaultAzureCredential][default_azure_credential] can be used to authenticate the client: | ||
|
|
||
| Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: | ||
| `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET` | ||
|
|
||
| Use the returned token credential to authenticate the client: | ||
|
|
||
| ```python | ||
| >>> from azure.mgmt.fileshares import FileSharesClient | ||
| >>> from azure.identity import DefaultAzureCredential | ||
| >>> client = FileSharesClient(credential=DefaultAzureCredential(), subscription_id='<subscription_id>') | ||
| ``` | ||
|
|
||
| ## Examples | ||
|
|
||
| ```python | ||
| >>> from azure.mgmt.fileshares import FileSharesClient | ||
| >>> from azure.identity import DefaultAzureCredential | ||
| >>> from azure.core.exceptions import HttpResponseError | ||
|
|
||
| >>> client = FileSharesClient(credential=DefaultAzureCredential(), subscription_id='<subscription_id>') | ||
| >>> try: | ||
| ... result = client.file_shares.list_by_subscription() | ||
| ... for item in result: | ||
| ... print(item) | ||
| ... except HttpResponseError as e: | ||
| ... print('service responds error: {}'.format(e.response.json())) | ||
|
|
||
| ``` | ||
|
|
||
| ## Contributing | ||
|
|
||
| This project welcomes contributions and suggestions. Most contributions require | ||
| you to agree to a Contributor License Agreement (CLA) declaring that you have | ||
| the right to, and actually do, grant us the rights to use your contribution. | ||
| For details, visit https://cla.microsoft.com. | ||
|
|
||
| When you submit a pull request, a CLA-bot will automatically determine whether | ||
| you need to provide a CLA and decorate the PR appropriately (e.g., label, | ||
| comment). Simply follow the instructions provided by the bot. You will only | ||
| need to do this once across all repos using our CLA. | ||
|
|
||
| This project has adopted the | ||
| [Microsoft Open Source Code of Conduct][code_of_conduct]. For more information, | ||
| see the Code of Conduct FAQ or contact opencode@microsoft.com with any | ||
| additional questions or comments. | ||
|
|
||
| <!-- LINKS --> | ||
| [code_of_conduct]: https://opensource.microsoft.com/codeofconduct/ | ||
| [authenticate_with_token]: https://docs.microsoft.com/azure/cognitive-services/authentication?tabs=powershell#authenticate-with-an-authentication-token | ||
| [azure_identity_credentials]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/identity/azure-identity#credentials | ||
| [azure_identity_pip]: https://pypi.org/project/azure-identity/ | ||
| [default_azure_credential]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/identity/azure-identity#defaultazurecredential | ||
| [pip]: https://pypi.org/project/pip/ | ||
| [azure_sub]: https://azure.microsoft.com/free/ | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| { | ||
| "apiVersion": "2026-06-01", | ||
| "apiVersions": { | ||
| "Microsoft.FileShares": "2026-06-01" | ||
| } | ||
| } |
100 changes: 100 additions & 0 deletions
100
sdk/fileshares/azure-mgmt-fileshares/apiview-properties.json
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,100 @@ | ||
| { | ||
| "CrossLanguagePackageId": "Microsoft.FileShares", | ||
| "CrossLanguageDefinitionId": { | ||
| "azure.mgmt.fileshares.models.CheckNameAvailabilityRequest": "Azure.ResourceManager.CommonTypes.CheckNameAvailabilityRequest", | ||
| "azure.mgmt.fileshares.models.CheckNameAvailabilityResponse": "Azure.ResourceManager.CommonTypes.CheckNameAvailabilityResponse", | ||
| "azure.mgmt.fileshares.models.ErrorAdditionalInfo": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo", | ||
| "azure.mgmt.fileshares.models.ErrorDetail": "Azure.ResourceManager.CommonTypes.ErrorDetail", | ||
| "azure.mgmt.fileshares.models.ErrorResponse": "Azure.ResourceManager.CommonTypes.ErrorResponse", | ||
| "azure.mgmt.fileshares.models.Resource": "Azure.ResourceManager.CommonTypes.Resource", | ||
| "azure.mgmt.fileshares.models.TrackedResource": "Azure.ResourceManager.CommonTypes.TrackedResource", | ||
| "azure.mgmt.fileshares.models.FileShare": "Microsoft.FileShares.FileShare", | ||
| "azure.mgmt.fileshares.models.FileShareLimits": "Microsoft.FileShares.FileShareLimits", | ||
| "azure.mgmt.fileshares.models.FileShareLimitsOutput": "Microsoft.FileShares.FileShareLimitsOutput", | ||
| "azure.mgmt.fileshares.models.FileShareLimitsResponse": "Microsoft.FileShares.FileShareLimitsResponse", | ||
| "azure.mgmt.fileshares.models.FileShareProperties": "Microsoft.FileShares.FileShareProperties", | ||
| "azure.mgmt.fileshares.models.FileShareProvisioningConstants": "Microsoft.FileShares.FileShareProvisioningConstants", | ||
| "azure.mgmt.fileshares.models.FileShareProvisioningRecommendationInput": "Microsoft.FileShares.FileShareProvisioningRecommendationInput", | ||
| "azure.mgmt.fileshares.models.FileShareProvisioningRecommendationOutput": "Microsoft.FileShares.FileShareProvisioningRecommendationOutput", | ||
| "azure.mgmt.fileshares.models.FileShareProvisioningRecommendationRequest": "Microsoft.FileShares.FileShareProvisioningRecommendationRequest", | ||
| "azure.mgmt.fileshares.models.FileShareProvisioningRecommendationResponse": "Microsoft.FileShares.FileShareProvisioningRecommendationResponse", | ||
| "azure.mgmt.fileshares.models.ProxyResource": "Azure.ResourceManager.CommonTypes.ProxyResource", | ||
| "azure.mgmt.fileshares.models.FileShareSnapshot": "Microsoft.FileShares.FileShareSnapshot", | ||
| "azure.mgmt.fileshares.models.FileShareSnapshotProperties": "Microsoft.FileShares.FileShareSnapshotProperties", | ||
| "azure.mgmt.fileshares.models.FileShareSnapshotUpdate": "Azure.ResourceManager.Foundations.ResourceUpdateModel", | ||
| "azure.mgmt.fileshares.models.FileShareSnapshotUpdateProperties": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties", | ||
| "azure.mgmt.fileshares.models.FileShareUpdate": "Azure.ResourceManager.Foundations.ResourceUpdateModel", | ||
| "azure.mgmt.fileshares.models.FileShareUpdateProperties": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties", | ||
| "azure.mgmt.fileshares.models.FileShareUsageDataOutput": "Microsoft.FileShares.FileShareUsageDataOutput", | ||
| "azure.mgmt.fileshares.models.FileShareUsageDataResponse": "Microsoft.FileShares.FileShareUsageDataResponse", | ||
| "azure.mgmt.fileshares.models.LiveSharesUsageData": "Microsoft.FileShares.LiveSharesUsageData", | ||
| "azure.mgmt.fileshares.models.NfsProtocolProperties": "Microsoft.FileShares.NfsProtocolProperties", | ||
| "azure.mgmt.fileshares.models.Operation": "Azure.ResourceManager.CommonTypes.Operation", | ||
| "azure.mgmt.fileshares.models.OperationDisplay": "Azure.ResourceManager.CommonTypes.OperationDisplay", | ||
| "azure.mgmt.fileshares.models.PrivateEndpoint": "Azure.ResourceManager.CommonTypes.PrivateEndpoint", | ||
| "azure.mgmt.fileshares.models.PrivateEndpointConnection": "Microsoft.FileShares.PrivateEndpointConnection", | ||
| "azure.mgmt.fileshares.models.PrivateEndpointConnectionProperties": "Azure.ResourceManager.CommonTypes.PrivateEndpointConnectionProperties", | ||
| "azure.mgmt.fileshares.models.PrivateLinkResource": "Microsoft.FileShares.PrivateLinkResource", | ||
| "azure.mgmt.fileshares.models.PrivateLinkResourceProperties": "Microsoft.FileShares.PrivateLinkResourceProperties", | ||
| "azure.mgmt.fileshares.models.PrivateLinkServiceConnectionState": "Azure.ResourceManager.CommonTypes.PrivateLinkServiceConnectionState", | ||
| "azure.mgmt.fileshares.models.PublicAccessProperties": "Microsoft.FileShares.PublicAccessProperties", | ||
| "azure.mgmt.fileshares.models.SystemData": "Azure.ResourceManager.CommonTypes.SystemData", | ||
| "azure.mgmt.fileshares.models.CreatedByType": "Azure.ResourceManager.CommonTypes.createdByType", | ||
| "azure.mgmt.fileshares.models.MediaTier": "Microsoft.FileShares.MediaTier", | ||
| "azure.mgmt.fileshares.models.Redundancy": "Microsoft.FileShares.Redundancy", | ||
| "azure.mgmt.fileshares.models.Protocol": "Microsoft.FileShares.Protocol", | ||
| "azure.mgmt.fileshares.models.ShareRootSquash": "Microsoft.FileShares.ShareRootSquash", | ||
| "azure.mgmt.fileshares.models.EncryptionInTransitRequired": "Microsoft.FileShares.EncryptionInTransitRequired", | ||
| "azure.mgmt.fileshares.models.FileShareProvisioningState": "Microsoft.FileShares.FileShareProvisioningState", | ||
| "azure.mgmt.fileshares.models.PublicNetworkAccess": "Microsoft.FileShares.PublicNetworkAccess", | ||
| "azure.mgmt.fileshares.models.PrivateEndpointServiceConnectionStatus": "Azure.ResourceManager.CommonTypes.PrivateEndpointServiceConnectionStatus", | ||
| "azure.mgmt.fileshares.models.PrivateEndpointConnectionProvisioningState": "Azure.ResourceManager.CommonTypes.PrivateEndpointConnectionProvisioningState", | ||
| "azure.mgmt.fileshares.models.CheckNameAvailabilityReason": "Azure.ResourceManager.CommonTypes.CheckNameAvailabilityReason", | ||
| "azure.mgmt.fileshares.models.Origin": "Azure.ResourceManager.CommonTypes.Origin", | ||
| "azure.mgmt.fileshares.models.ActionType": "Azure.ResourceManager.CommonTypes.ActionType", | ||
| "azure.mgmt.fileshares.operations.FileSharesOperations.get": "Microsoft.FileShares.FileShares.get", | ||
| "azure.mgmt.fileshares.aio.operations.FileSharesOperations.get": "Microsoft.FileShares.FileShares.get", | ||
| "azure.mgmt.fileshares.operations.FileSharesOperations.begin_create_or_update": "Microsoft.FileShares.FileShares.createOrUpdate", | ||
| "azure.mgmt.fileshares.aio.operations.FileSharesOperations.begin_create_or_update": "Microsoft.FileShares.FileShares.createOrUpdate", | ||
| "azure.mgmt.fileshares.operations.FileSharesOperations.begin_update": "Microsoft.FileShares.FileShares.update", | ||
| "azure.mgmt.fileshares.aio.operations.FileSharesOperations.begin_update": "Microsoft.FileShares.FileShares.update", | ||
| "azure.mgmt.fileshares.operations.FileSharesOperations.begin_delete": "Microsoft.FileShares.FileShares.delete", | ||
| "azure.mgmt.fileshares.aio.operations.FileSharesOperations.begin_delete": "Microsoft.FileShares.FileShares.delete", | ||
| "azure.mgmt.fileshares.operations.FileSharesOperations.list_by_subscription": "Microsoft.FileShares.FileShares.listBySubscription", | ||
| "azure.mgmt.fileshares.aio.operations.FileSharesOperations.list_by_subscription": "Microsoft.FileShares.FileShares.listBySubscription", | ||
| "azure.mgmt.fileshares.operations.FileSharesOperations.list_by_parent": "Microsoft.FileShares.FileShares.listByParent", | ||
| "azure.mgmt.fileshares.aio.operations.FileSharesOperations.list_by_parent": "Microsoft.FileShares.FileShares.listByParent", | ||
| "azure.mgmt.fileshares.operations.FileSharesOperations.check_name_availability": "Microsoft.FileShares.FileShares.checkNameAvailability", | ||
| "azure.mgmt.fileshares.aio.operations.FileSharesOperations.check_name_availability": "Microsoft.FileShares.FileShares.checkNameAvailability", | ||
| "azure.mgmt.fileshares.operations.FileShareSnapshotsOperations.get_file_share_snapshot": "Microsoft.FileShares.FileShareSnapshots.getFileShareSnapshot", | ||
| "azure.mgmt.fileshares.aio.operations.FileShareSnapshotsOperations.get_file_share_snapshot": "Microsoft.FileShares.FileShareSnapshots.getFileShareSnapshot", | ||
| "azure.mgmt.fileshares.operations.FileShareSnapshotsOperations.begin_create_or_update_file_share_snapshot": "Microsoft.FileShares.FileShareSnapshots.createOrUpdateFileShareSnapshot", | ||
| "azure.mgmt.fileshares.aio.operations.FileShareSnapshotsOperations.begin_create_or_update_file_share_snapshot": "Microsoft.FileShares.FileShareSnapshots.createOrUpdateFileShareSnapshot", | ||
| "azure.mgmt.fileshares.operations.FileShareSnapshotsOperations.begin_update_file_share_snapshot": "Microsoft.FileShares.FileShareSnapshots.updateFileShareSnapshot", | ||
| "azure.mgmt.fileshares.aio.operations.FileShareSnapshotsOperations.begin_update_file_share_snapshot": "Microsoft.FileShares.FileShareSnapshots.updateFileShareSnapshot", | ||
| "azure.mgmt.fileshares.operations.FileShareSnapshotsOperations.begin_delete_file_share_snapshot": "Microsoft.FileShares.FileShareSnapshots.deleteFileShareSnapshot", | ||
| "azure.mgmt.fileshares.aio.operations.FileShareSnapshotsOperations.begin_delete_file_share_snapshot": "Microsoft.FileShares.FileShareSnapshots.deleteFileShareSnapshot", | ||
| "azure.mgmt.fileshares.operations.FileShareSnapshotsOperations.list_by_file_share": "Microsoft.FileShares.FileShareSnapshots.listByFileShare", | ||
| "azure.mgmt.fileshares.aio.operations.FileShareSnapshotsOperations.list_by_file_share": "Microsoft.FileShares.FileShareSnapshots.listByFileShare", | ||
| "azure.mgmt.fileshares.operations.Operations.list": "Microsoft.FileShares.Operations.list", | ||
| "azure.mgmt.fileshares.aio.operations.Operations.list": "Microsoft.FileShares.Operations.list", | ||
| "azure.mgmt.fileshares.operations.InformationalOperationsOperations.get_usage_data": "Microsoft.FileShares.InformationalOperations.getUsageData", | ||
| "azure.mgmt.fileshares.aio.operations.InformationalOperationsOperations.get_usage_data": "Microsoft.FileShares.InformationalOperations.getUsageData", | ||
| "azure.mgmt.fileshares.operations.InformationalOperationsOperations.get_limits": "Microsoft.FileShares.InformationalOperations.getLimits", | ||
| "azure.mgmt.fileshares.aio.operations.InformationalOperationsOperations.get_limits": "Microsoft.FileShares.InformationalOperations.getLimits", | ||
| "azure.mgmt.fileshares.operations.InformationalOperationsOperations.get_provisioning_recommendation": "Microsoft.FileShares.InformationalOperations.getProvisioningRecommendation", | ||
| "azure.mgmt.fileshares.aio.operations.InformationalOperationsOperations.get_provisioning_recommendation": "Microsoft.FileShares.InformationalOperations.getProvisioningRecommendation", | ||
| "azure.mgmt.fileshares.operations.PrivateEndpointConnectionsOperations.get": "Microsoft.FileShares.PrivateEndpointConnections.get", | ||
| "azure.mgmt.fileshares.aio.operations.PrivateEndpointConnectionsOperations.get": "Microsoft.FileShares.PrivateEndpointConnections.get", | ||
| "azure.mgmt.fileshares.operations.PrivateEndpointConnectionsOperations.begin_create": "Microsoft.FileShares.PrivateEndpointConnections.create", | ||
| "azure.mgmt.fileshares.aio.operations.PrivateEndpointConnectionsOperations.begin_create": "Microsoft.FileShares.PrivateEndpointConnections.create", | ||
| "azure.mgmt.fileshares.operations.PrivateEndpointConnectionsOperations.begin_delete": "Microsoft.FileShares.PrivateEndpointConnections.delete", | ||
| "azure.mgmt.fileshares.aio.operations.PrivateEndpointConnectionsOperations.begin_delete": "Microsoft.FileShares.PrivateEndpointConnections.delete", | ||
| "azure.mgmt.fileshares.operations.PrivateEndpointConnectionsOperations.list_by_file_share": "Microsoft.FileShares.PrivateEndpointConnections.listByFileShare", | ||
| "azure.mgmt.fileshares.aio.operations.PrivateEndpointConnectionsOperations.list_by_file_share": "Microsoft.FileShares.PrivateEndpointConnections.listByFileShare", | ||
| "azure.mgmt.fileshares.operations.PrivateLinkResourcesOperations.get": "Microsoft.FileShares.PrivateLinkResources.get", | ||
| "azure.mgmt.fileshares.aio.operations.PrivateLinkResourcesOperations.get": "Microsoft.FileShares.PrivateLinkResources.get", | ||
| "azure.mgmt.fileshares.operations.PrivateLinkResourcesOperations.list": "Microsoft.FileShares.PrivateLinkResources.list", | ||
| "azure.mgmt.fileshares.aio.operations.PrivateLinkResourcesOperations.list": "Microsoft.FileShares.PrivateLinkResources.list" | ||
| } | ||
| } |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| { | ||
| "AssetsRepo": "Azure/azure-sdk-assets", | ||
| "AssetsRepoPrefixPath": "python", | ||
| "TagPrefix": "python/fileshares/azure-mgmt-fileshares", | ||
| "Tag": "python/fileshares/azure-mgmt-fileshares_d5b0dfcc03" | ||
| } |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| __path__ = __import__("pkgutil").extend_path(__path__, __name__) # type: ignore |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| __path__ = __import__("pkgutil").extend_path(__path__, __name__) # type: ignore |
32 changes: 32 additions & 0 deletions
32
sdk/fileshares/azure-mgmt-fileshares/azure/mgmt/fileshares/__init__.py
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| # coding=utf-8 | ||
| # -------------------------------------------------------------------------- | ||
| # Copyright (c) Microsoft Corporation. All rights reserved. | ||
| # Licensed under the MIT License. See License.txt in the project root for license information. | ||
| # Code generated by Microsoft (R) Python Code Generator. | ||
| # Changes may cause incorrect behavior and will be lost if the code is regenerated. | ||
| # -------------------------------------------------------------------------- | ||
| # pylint: disable=wrong-import-position | ||
|
|
||
| from typing import TYPE_CHECKING | ||
|
|
||
| if TYPE_CHECKING: | ||
| from ._patch import * # pylint: disable=unused-wildcard-import | ||
|
|
||
| from ._client import FileSharesClient # type: ignore | ||
| from ._version import VERSION | ||
|
|
||
| __version__ = VERSION | ||
|
|
||
| try: | ||
| from ._patch import __all__ as _patch_all | ||
| from ._patch import * | ||
| except ImportError: | ||
| _patch_all = [] | ||
| from ._patch import patch_sdk as _patch_sdk | ||
|
|
||
| __all__ = [ | ||
| "FileSharesClient", | ||
| ] | ||
| __all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore | ||
|
|
||
| _patch_sdk() |
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.