github databricks/databricks-sdk-py v0.36.0

9 hours ago

Breaking Changes

  • external_browser now uses the databricks-cli app instead of the third-party "6128a518-99a9-425b-8333-4cc94f04cacd" application when performing the U2M login flow for Azure workspaces when a client ID is not otherwise specified. This matches the AWS behavior.
  • The signatures of several OAuth-related constructors have changed to support U2M OAuth with Azure Entra ID application registrations. See https://github.com/databricks/databricks-sdk-py/blob/main/examples/flask_app_with_oauth.py for examples of how to use these classes.
    • OAuthClient(): renamed to OAuthClient.from_host()
    • SessionCredentials() and SessionCredentials.from_dict(): now accepts token_endpoint, client_id, client_secret, and refresh_url as parameters, rather than accepting the OAuthClient.
    • TokenCache(): now accepts host, token_endpoint, client_id, client_secret, and refresh_url as parameters, rather than accepting the OAuthClient.

Bug Fixes

  • Decouple OAuth functionality from Config (#784).

Release

  • Release v0.35.0 (#793).

Don't miss a new databricks-sdk-py release

NewReleases is sending notifications on new releases.