Skip to content

Commit 41f653d

Browse files
author
SDKAuto
committed
CodeGen from PR 33749 in Azure/azure-rest-api-specs
Merge 5a022e5649f5c6e8c9dee9c58aeb7eb4dc70a2ac into ef196785552a7e79e5db813cb513bd94c8e7b1e1
1 parent 4d8426b commit 41f653d

File tree

135 files changed

+1653
-1577
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

135 files changed

+1653
-1577
lines changed

sdk/billing/azure-mgmt-billing/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ pip install azure-identity
2424

2525
### Authentication
2626

27-
By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configure of following environment variables.
27+
By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configuration of the following environment variables.
2828

2929
- `AZURE_CLIENT_ID` for Azure client ID.
3030
- `AZURE_TENANT_ID` for Azure tenant ID.
+3-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"commit": "e79d9ef3e065f2dcb6bd1db51e29c62a99dff5cb",
2+
"commit": "c5cd32401eb9b7594749a77e652c02d061b639a5",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"autorest": "3.10.2",
55
"use": [
6-
"@autorest/python@6.19.0",
6+
"@autorest/python@6.27.4",
77
"@autorest/[email protected]"
88
],
9-
"autorest_command": "autorest specification/billing/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --use=@autorest/python@6.19.0 --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
9+
"autorest_command": "autorest specification/billing/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --use=@autorest/python@6.27.4 --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
1010
"readme": "specification/billing/resource-manager/readme.md"
1111
}

sdk/billing/azure-mgmt-billing/azure/mgmt/billing/__init__.py

+9-3
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,28 @@
55
# Code generated by Microsoft (R) AutoRest Code Generator.
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
8+
# pylint: disable=wrong-import-position
89

9-
from ._billing_management_client import BillingManagementClient
10+
from typing import TYPE_CHECKING
11+
12+
if TYPE_CHECKING:
13+
from ._patch import * # pylint: disable=unused-wildcard-import
14+
15+
from ._billing_management_client import BillingManagementClient # type: ignore
1016
from ._version import VERSION
1117

1218
__version__ = VERSION
1319

1420
try:
1521
from ._patch import __all__ as _patch_all
16-
from ._patch import * # pylint: disable=unused-wildcard-import
22+
from ._patch import *
1723
except ImportError:
1824
_patch_all = []
1925
from ._patch import patch_sdk as _patch_sdk
2026

2127
__all__ = [
2228
"BillingManagementClient",
2329
]
24-
__all__.extend([p for p in _patch_all if p not in __all__])
30+
__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore
2531

2632
_patch_sdk()

sdk/billing/azure-mgmt-billing/azure/mgmt/billing/_billing_management_client.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,10 @@
5252
)
5353

5454
if TYPE_CHECKING:
55-
# pylint: disable=unused-import,ungrouped-imports
5655
from azure.core.credentials import TokenCredential
5756

5857

59-
class BillingManagementClient: # pylint: disable=client-accepts-api-version-keyword,too-many-instance-attributes
58+
class BillingManagementClient: # pylint: disable=too-many-instance-attributes
6059
"""Billing Client.
6160
6261
:ivar agreements: AgreementsOperations operations

sdk/billing/azure-mgmt-billing/azure/mgmt/billing/_configuration.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,10 @@
1414
from ._version import VERSION
1515

1616
if TYPE_CHECKING:
17-
# pylint: disable=unused-import,ungrouped-imports
1817
from azure.core.credentials import TokenCredential
1918

2019

21-
class BillingManagementClientConfiguration: # pylint: disable=too-many-instance-attributes,name-too-long
20+
class BillingManagementClientConfiguration: # pylint: disable=too-many-instance-attributes
2221
"""Configuration for BillingManagementClient.
2322
2423
Note that all parameters used to create this instance are saved as instance

0 commit comments

Comments
 (0)