Skip to content

Commit 393d046

Browse files
author
SDKAuto
committed
CodeGen from PR 31143 in Azure/azure-rest-api-specs
Merge f150659989febd129e7e6f4aa66d0398a2179733 into c120171b3684d88562fa26ae7db5d22b7bfa95d8
1 parent 8d6a26c commit 393d046

21 files changed

+738
-350
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"commit": "eea7584434f9225cad0327d83d5c6d84257a4d7d",
2+
"commit": "128ec8a98b2080a6473d7c4b8f19dc36fdbc3ab7",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"typespec_src": "specification/fabric/Microsoft.Fabric.Management",
5-
"@azure-tools/typespec-python": "0.30.0"
5+
"@azure-tools/typespec-python": "0.36.1"
66
}

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

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,28 @@
55
# Code generated by Microsoft (R) Python 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 ._client import FabricMgmtClient
10+
from typing import TYPE_CHECKING
11+
12+
if TYPE_CHECKING:
13+
from ._patch import * # pylint: disable=unused-wildcard-import
14+
15+
from ._client import FabricMgmtClient # 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
"FabricMgmtClient",
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/fabric/azure-mgmt-fabric/azure/mgmt/fabric/_client.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,10 @@
2020
from .operations import FabricCapacitiesOperations, Operations
2121

2222
if TYPE_CHECKING:
23-
# pylint: disable=unused-import,ungrouped-imports
2423
from azure.core.credentials import TokenCredential
2524

2625

27-
class FabricMgmtClient: # pylint: disable=client-accepts-api-version-keyword
26+
class FabricMgmtClient:
2827
"""FabricMgmtClient.
2928
3029
:ivar fabric_capacities: FabricCapacitiesOperations operations

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

Lines changed: 1 addition & 2 deletions
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 FabricMgmtClientConfiguration: # pylint: disable=too-many-instance-attributes,name-too-long
20+
class FabricMgmtClientConfiguration: # pylint: disable=too-many-instance-attributes
2221
"""Configuration for FabricMgmtClient.
2322
2423
Note that all parameters used to create this instance are saved as instance

0 commit comments

Comments
 (0)