Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sdk/fabric/azure-mgmt-fabric/_meta.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"commit": "eea7584434f9225cad0327d83d5c6d84257a4d7d",
"commit": "128ec8a98b2080a6473d7c4b8f19dc36fdbc3ab7",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"typespec_src": "specification/fabric/Microsoft.Fabric.Management",
"@azure-tools/typespec-python": "0.30.0"
"@azure-tools/typespec-python": "0.36.1"
}
12 changes: 9 additions & 3 deletions sdk/fabric/azure-mgmt-fabric/azure/mgmt/fabric/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,28 @@
# 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 ._client import FabricMgmtClient
from typing import TYPE_CHECKING

if TYPE_CHECKING:
from ._patch import * # pylint: disable=unused-wildcard-import

from ._client import FabricMgmtClient # type: ignore
from ._version import VERSION

__version__ = VERSION

try:
from ._patch import __all__ as _patch_all
from ._patch import * # pylint: disable=unused-wildcard-import
from ._patch import *
except ImportError:
_patch_all = []
from ._patch import patch_sdk as _patch_sdk

__all__ = [
"FabricMgmtClient",
]
__all__.extend([p for p in _patch_all if p not in __all__])
__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore

_patch_sdk()
3 changes: 1 addition & 2 deletions sdk/fabric/azure-mgmt-fabric/azure/mgmt/fabric/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,10 @@
from .operations import FabricCapacitiesOperations, Operations

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


class FabricMgmtClient: # pylint: disable=client-accepts-api-version-keyword
class FabricMgmtClient:
"""FabricMgmtClient.

:ivar fabric_capacities: FabricCapacitiesOperations operations
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@
from ._version import VERSION

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


class FabricMgmtClientConfiguration: # pylint: disable=too-many-instance-attributes,name-too-long
class FabricMgmtClientConfiguration: # pylint: disable=too-many-instance-attributes
"""Configuration for FabricMgmtClient.

Note that all parameters used to create this instance are saved as instance
Expand Down
Loading