Skip to content

Conversation

willsmithDB
Copy link
Owner

Updated the DatabricksRM class to use Databricks service principals.

  • Updated the base class to include the optional parameters
  • Updated logic on the _query_via_databricks_sdk to use the SP credentials if they exist otherwise will fallback to PAT.

willsmithDB and others added 30 commits May 27, 2025 14:31
- Updated the base class to include the optional parameters
- Updated logic on the _query_via_databricks_sdk to use the SP credentials if they exist otherwise will fallback to PAT.
…ity' into dbx_service_principal_functionality

# Conflicts:
#	dspy/retrieve/databricks_rm.py
Updated print statements for which auth method is invoked.
Updated docstrings.
Created helper function: _get_oauth_token
Updated logic for databricks token to use oauth token with SP when using the REST API with client secret and client id
…ity' into dbx_service_principal_functionality

# Conflicts:
#	dspy/retrieve/databricks_rm.py
Updated print statements for which auth method is invoked.
Updated docstrings.
Created helper function: _get_oauth_token
Updated logic for databricks token to use oauth token with SP when using the REST API with client secret and client id
Updated print statements for which auth method is invoked.
Updated docstrings.
Created helper function: _get_oauth_token
Updated logic for databricks token to use oauth token with SP when using the REST API with client secret and client id
Updated print statements for which auth method is invoked.
Updated docstrings.
Created helper function: _get_oauth_token
Updated logic for databricks token to use oauth token with SP when using the REST API with client secret and client id
…ity' into dbx_service_principal_functionality
Updated print statements for which auth method is invoked.
Updated docstrings.
Created helper function: _get_oauth_token
Updated logic for databricks token to use oauth token with SP when using the REST API with client secret and client id
…ity' into dbx_service_principal_functionality
* Fix Pydantic v2 deprecation warning in json_adapter

* Fix json adapter tests

* use __config__ field

---------

Co-authored-by: chenmoneygithub <chen.qian@databricks.com>
* feat(settings): expose max_errors globally

* Defer max_errors default to invocation

* correction in MIPRO
chenmoneygithub and others added 3 commits June 3, 2025 15:24
* add more permission capabilities to PythonInterpreter

* update tests

* update file access/write tests

* resolve comments

* resolve comments

* update flags and interpreter usage

* resolve comments
@willsmithDB willsmithDB merged commit e9a68ca into main Jun 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants