Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update from OpenAPI spec #145

Merged
merged 1 commit into from
Jun 2, 2023
Merged
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
6 changes: 5 additions & 1 deletion databricks/sdk/__init__.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions databricks/sdk/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
from urllib3.util.retry import Retry

from .azure import ARM_DATABRICKS_RESOURCE_ID, ENVIRONMENTS, AzureEnvironment
from .oauth import (ClientCredentials, OAuthClient, OidcEndpoints, Refreshable,
Token, TokenCache, TokenSource)
from .oauth import (ClientCredentials, OAuthClient, OidcEndpoints, Refreshable, Token, TokenCache,
TokenSource)
from .version import __version__

__all__ = ['Config', 'DatabricksError']
Expand Down
4 changes: 2 additions & 2 deletions databricks/sdk/dbconnect.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import os
from typing import Any, Iterable, List, Optional, Tuple

import grpc # TODO: check if it's duck-typed
import grpc # TODO: check if it's duck-typed

from databricks.sdk.core import Config

Expand Down Expand Up @@ -43,7 +43,7 @@ def metadata(self) -> Iterable[Tuple[str, str]]:
return [('x-databricks-cluster-id', self._cfg.cluster_id), ]

def toChannel(self) -> grpc.Channel:
from grpc import _plugin_wrapping # pylint: disable=cyclic-import
from grpc import _plugin_wrapping # pylint: disable=cyclic-import

ssl_creds = grpc.ssl_channel_credentials()
databricks_creds = _plugin_wrapping.metadata_plugin_call_credentials(
Expand Down
8 changes: 4 additions & 4 deletions databricks/sdk/service/billing.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading