Skip to content

Commit 76ae50f

Browse files
author
SDKAuto
committed
CodeGen from PR 3537 in test-repo-billy/azure-rest-api-specs
Merge 6296b8e5c14516850f6b39a7fee10b2f0db170a5 into 6c6e1713f03acaf37e5c89652b023dd2c9eae16e
1 parent b2b0c35 commit 76ae50f

Some content is hidden

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

44 files changed

+1211
-3206
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"commit": "c29452397f8d29456182b951987a765d1ae01bb1",
3+
"repository_url": "https://github.com/test-repo-billy/azure-rest-api-specs",
4+
"typespec_src": "specification/schemaregistry/SchemaRegistry",
5+
"@azure-tools/typespec-python": "0.31.1"
6+
}

sdk/schemaregistry/azure-schemaregistry/azure/schemaregistry/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9+
from ._client import SchemaRegistryClient
910
from ._version import VERSION
1011

1112
__version__ = VERSION

sdk/schemaregistry/azure-schemaregistry/azure/schemaregistry/_client.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,12 @@ class SchemaRegistryClient(SchemaRegistryClientOperationsMixin): # pylint: disa
3232
:type fully_qualified_namespace: str
3333
:param credential: Credential used to authenticate requests to the service. Required.
3434
:type credential: ~azure.core.credentials.TokenCredential
35-
:keyword api_version: The API version to use for this operation. Default value is "2022-10".
35+
:keyword api_version: The API version to use for this operation. Default value is "2023-07-01".
3636
Note that overriding this default value may result in unsupported behavior.
3737
:paramtype api_version: str
3838
"""
3939

4040
def __init__(self, fully_qualified_namespace: str, credential: "TokenCredential", **kwargs: Any) -> None:
41-
super().__init__()
4241
_endpoint = "https://{fullyQualifiedNamespace}"
4342
self._config = SchemaRegistryClientConfiguration(
4443
fully_qualified_namespace=fully_qualified_namespace, credential=credential, **kwargs

sdk/schemaregistry/azure-schemaregistry/azure/schemaregistry/_configuration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ class SchemaRegistryClientConfiguration: # pylint: disable=too-many-instance-at
2828
:type fully_qualified_namespace: str
2929
:param credential: Credential used to authenticate requests to the service. Required.
3030
:type credential: ~azure.core.credentials.TokenCredential
31-
:keyword api_version: The API version to use for this operation. Default value is "2022-10".
31+
:keyword api_version: The API version to use for this operation. Default value is "2023-07-01".
3232
Note that overriding this default value may result in unsupported behavior.
3333
:paramtype api_version: str
3434
"""
3535

3636
def __init__(self, fully_qualified_namespace: str, credential: "TokenCredential", **kwargs: Any) -> None:
37-
api_version: str = kwargs.pop("api_version", "2022-10")
37+
api_version: str = kwargs.pop("api_version", "2023-07-01")
3838

3939
if fully_qualified_namespace is None:
4040
raise ValueError("Parameter 'fully_qualified_namespace' must not be None.")

sdk/schemaregistry/azure-schemaregistry/azure/schemaregistry/_model_base.py

Lines changed: 308 additions & 38 deletions
Large diffs are not rendered by default.

sdk/schemaregistry/azure-schemaregistry/azure/schemaregistry/_operations/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9+
from ._operations import SchemaRegistryClientOperationsMixin
10+
911
from ._patch import __all__ as _patch_all
1012
from ._patch import * # pylint: disable=unused-wildcard-import
1113
from ._patch import patch_sdk as _patch_sdk

0 commit comments

Comments
 (0)