-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Feature] DatabricksConfig: Add clone() support (#376)
## Changes Adds support for cloning DatabricksConfig(), this is needed because we need a way to set configurations per API call such as 1. timeout 2. httpClient configuration 3. debugHeaders However, we still want to use the cached oauth token etc and we would like the header factory to be a common object across workspace clients and databricks configs Ideally this should be supported by the SDK itself natively, however since its not supported and it will take significant migration to achieve that, this is a work around to achieve the same. ## Tests Added UT
- Loading branch information
1 parent
a1460c5
commit f04f6cb
Showing
2 changed files
with
38 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters