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

Create a deepcopy of config in api client #172

Merged
merged 11 commits into from
Jun 21, 2023
6 changes: 4 additions & 2 deletions databricks/sdk/__init__.py

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

5 changes: 5 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from databricks.connect import DatabricksSession
from databricks.sdk.core import Config

config = Config(host='https://x', token='x', product="xapp", product_version="0.0.0")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove this file

spark = DatabricksSession().builder.userAgent("custom-agent").getOrCreate()