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

[PROD-37531] Exposing runtime credential provider without changing user namespace #140

Merged
merged 5 commits into from
Jun 3, 2023

Conversation

dby-tmwctw
Copy link
Contributor

Changes

Per discussion here, we need to expose the init_runtime_native_auth without modifying the user namespace. Both verified working with latest universe and not making the Python SDK explode in previous DBR.

Tests

  • make test run locally
  • make fmt applied
  • relevant integration tests applied

Copy link
Contributor

@nfx nfx left a comment

Choose a reason for hiding this comment

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

lgtm

@codecov-commenter
Copy link

Codecov Report

Patch coverage: 87.50% and project coverage change: -0.01 ⚠️

Comparison is base (136d7e1) 53.18% compared to head (e2259e7) 53.18%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #140      +/-   ##
==========================================
- Coverage   53.18%   53.18%   -0.01%     
==========================================
  Files          29       29              
  Lines       17900    17901       +1     
==========================================
- Hits         9521     9520       -1     
- Misses       8379     8381       +2     
Impacted Files Coverage Δ
databricks/sdk/runtime/__init__.py 64.00% <83.33%> (-1.22%) ⬇️
databricks/sdk/core.py 66.51% <100.00%> (-0.20%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Contributor

@nfx nfx left a comment

Choose a reason for hiding this comment

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

lgtm

@nfx nfx merged commit 97212ef into databricks:main Jun 3, 2023
@nfx nfx mentioned this pull request Jun 9, 2023
nfx added a commit that referenced this pull request Jun 9, 2023
# Version changelog

## 0.1.9

* Added new services from OpenAPI spec
([#145](#145),
[#159](#159)).
* Added consistent usage of the `upload(path, IO)` and `download(path)
-> IO` across file-related operations
([#148](#148)).
* Added Databricks Metadata Service credential provider
([#139](#139),
[#130](#130)).
* Added exposing runtime credential provider without changing user
namespace
([#140](#140)).
* Added a check for `is not None` for primitive fields in `as_dict()`
([#147](#147)).
* Fixed bug related to boolean flags and convert `True` to `true` in
query strings
([#156](#156)).
* Fixed generation of external entities
([#146](#146)).
* Make u2m authentication work with new CLI
([#150](#150)).
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.

3 participants