From 45768ba6512e0dbe81cdbaed0f233e0d78c0a351 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 19 Mar 2021 01:45:26 +0000 Subject: [PATCH] CodeGen from PR 13476 in Azure/azure-rest-api-specs dataBricks readme t2 config (#13476) * dataBricks readme t2 config * dataBricks readme change * databox readme misoperation change --- .../mgmt/databricks/_databricks_client.py | 1 - .../azure/mgmt/databricks/_metadata.json | 63 +++++++++++++++++++ .../azure/mgmt/databricks/_version.py | 3 +- .../mgmt/databricks/aio/_databricks_client.py | 1 - 4 files changed, 64 insertions(+), 4 deletions(-) create mode 100644 sdk/databricks/azure-mgmt-databricks/azure/mgmt/databricks/_metadata.json diff --git a/sdk/databricks/azure-mgmt-databricks/azure/mgmt/databricks/_databricks_client.py b/sdk/databricks/azure-mgmt-databricks/azure/mgmt/databricks/_databricks_client.py index 0c18f909b850..1b377a6802fb 100644 --- a/sdk/databricks/azure-mgmt-databricks/azure/mgmt/databricks/_databricks_client.py +++ b/sdk/databricks/azure-mgmt-databricks/azure/mgmt/databricks/_databricks_client.py @@ -56,7 +56,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.workspaces = WorkspacesOperations( diff --git a/sdk/databricks/azure-mgmt-databricks/azure/mgmt/databricks/_metadata.json b/sdk/databricks/azure-mgmt-databricks/azure/mgmt/databricks/_metadata.json new file mode 100644 index 000000000000..9620393d6519 --- /dev/null +++ b/sdk/databricks/azure-mgmt-databricks/azure/mgmt/databricks/_metadata.json @@ -0,0 +1,63 @@ +{ + "chosen_version": "2018-04-01", + "total_api_version_list": ["2018-04-01"], + "client": { + "name": "DatabricksClient", + "filename": "_databricks_client", + "description": "ARM Databricks.", + "base_url": "\u0027https://management.azure.com\u0027", + "custom_base_url": null, + "azure_arm": true, + "has_lro_operations": true, + "client_side_validation": true + }, + "global_parameters": { + "sync": { + "credential": { + "signature": "credential, # type: \"TokenCredential\"", + "description": "Credential needed for the client to connect to Azure.", + "docstring_type": "~azure.core.credentials.TokenCredential", + "required": true + }, + "subscription_id": { + "signature": "subscription_id, # type: str", + "description": "The ID of the target subscription.", + "docstring_type": "str", + "required": true + } + }, + "async": { + "credential": { + "signature": "credential, # type: \"AsyncTokenCredential\"", + "description": "Credential needed for the client to connect to Azure.", + "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", + "required": true + }, + "subscription_id": { + "signature": "subscription_id, # type: str", + "description": "The ID of the target subscription.", + "docstring_type": "str", + "required": true + } + }, + "constant": { + }, + "call": "credential, subscription_id" + }, + "config": { + "credential": true, + "credential_scopes": ["https://management.azure.com/.default"], + "credential_default_policy_type": "BearerTokenCredentialPolicy", + "credential_default_policy_type_has_async_version": true, + "credential_key_header_name": null + }, + "operation_groups": { + "workspaces": "WorkspacesOperations", + "vnet_peering": "VNetPeeringOperations", + "operations": "Operations" + }, + "operation_mixins": { + }, + "sync_imports": "None", + "async_imports": "None" +} \ No newline at end of file diff --git a/sdk/databricks/azure-mgmt-databricks/azure/mgmt/databricks/_version.py b/sdk/databricks/azure-mgmt-databricks/azure/mgmt/databricks/_version.py index 515f51c112dd..eae7c95b6fbd 100644 --- a/sdk/databricks/azure-mgmt-databricks/azure/mgmt/databricks/_version.py +++ b/sdk/databricks/azure-mgmt-databricks/azure/mgmt/databricks/_version.py @@ -6,5 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "1.0.0b1" - +VERSION = "0.1.0" diff --git a/sdk/databricks/azure-mgmt-databricks/azure/mgmt/databricks/aio/_databricks_client.py b/sdk/databricks/azure-mgmt-databricks/azure/mgmt/databricks/aio/_databricks_client.py index 1802066b532b..ae816f343343 100644 --- a/sdk/databricks/azure-mgmt-databricks/azure/mgmt/databricks/aio/_databricks_client.py +++ b/sdk/databricks/azure-mgmt-databricks/azure/mgmt/databricks/aio/_databricks_client.py @@ -53,7 +53,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.workspaces = WorkspacesOperations(