[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
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

bugfix for oinspect.object_info #14517

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

smacke
Copy link
Contributor
@smacke smacke commented Sep 14, 2024

oinspect.object_info loses stuff passed in as kwargs. I suspect it's not intentional (previous versions of object_info don't do this) and it seems to be the root cause of some CI failures when trying out new versions of IPython at Databricks. In this PR we preserve the fields passed in as kwargs.

Test plan: let pre-merge tests run.

@jasongrout-db
Copy link
jasongrout-db commented Sep 16, 2024

For reference:

The change that overwrote the object info arguments is here (#14349 - and this change seems to be have a typo - it doesn't make sense to set the object info to kw, then immediately overwrite it with a new dict), and references this change (#14342), which does preserve the kw passed into the function.

Looking at these two changes above, plus @smacke's PR, I'm +1 for merging this.

Copy link
@jasongrout-db jasongrout-db left a comment

Choose a reason for hiding this comment

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

LGTM

Co-authored-by: Jason Grout <jason.grout@databricks.com>
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.

2 participants