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

Bug: refetch fields on has_field failure #595

Merged
merged 1 commit into from
Feb 18, 2025

Conversation

kbolashev
Copy link
Member

Users might add new fields outside of the client, that won't appear in the client immediately and could fail when ds.has_field() is called (in client or user code).

This PR is adding a re-fetch to ds.has_field() that refreshes the datasource state if the field is not found.

@kbolashev kbolashev added the bug Something isn't working label Feb 18, 2025
@kbolashev kbolashev self-assigned this Feb 18, 2025
Copy link

dagshub bot commented Feb 18, 2025

Copy link
Contributor

@simonlsk simonlsk left a comment

Choose a reason for hiding this comment

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

LGTM,
Thanks

@kbolashev kbolashev merged commit 19e0970 into master Feb 18, 2025
8 checks passed
@kbolashev kbolashev deleted the bug/refresh-cache-on-field-not-found branch February 18, 2025 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants