Skip to content

Conversation

@smurching
Copy link
Contributor

What changes are proposed in this pull request?

The error message when attempting to use OBO user credentials in Databricks model serving now:

  • Explains the most common cause: instantiating WorkspaceClient at model-loading time
  • Provides clear guidance to instantiate within predict() or predict_stream()
  • Maintains existing checks for UserAuthPolicy and workspace OBO enablement
  • Links to documentation for additional help

🤖 Generated with Claude Code

How is this tested?

Unit tests

…stantiation

The error message now:
- Explains the most common cause: instantiating WorkspaceClient at model-loading time
- Provides clear guidance to instantiate within predict() or predict_stream()
- Maintains existing checks for UserAuthPolicy and workspace OBO enablement
- Links to documentation for additional help

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@github-actions
Copy link

github-actions bot commented Oct 3, 2025

Please ensure that the NEXT_CHANGELOG.md file is updated with any relevant changes.
If this is not necessary for your PR, please include the following in your PR description:
NO_CHANGELOG=true
and rerun the job.

@smurching smurching closed this Oct 3, 2025
@github-actions
Copy link

github-actions bot commented Oct 3, 2025

If integration tests don't run automatically, an authorized user can run them manually by following the instructions below:

Trigger:
go/deco-tests-run/sdk-py

Inputs:

  • PR number: 1062
  • Commit SHA: 2a10e0c5b54dbc0e8d1918f4c3138a79f1c50454

Checks will be approved automatically on success.

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.

1 participant