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

Show warning when force_reload is used on data sources #3895

Merged
merged 3 commits into from
Oct 25, 2024

Conversation

rodja
Copy link
Member

@rodja rodja commented Oct 18, 2024

This PR attempts to help the user understand that force_reload only makes sense on network urls. See #2566 (comment) more

@rodja rodja added the enhancement New feature or request label Oct 18, 2024
@rodja rodja added this to the 2.5 milestone Oct 18, 2024
@rodja rodja requested a review from falkoschindler October 18, 2024 03:02
Copy link
Contributor

@falkoschindler falkoschindler left a comment

Choose a reason for hiding this comment

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

Thanks, @rodja. But there are two problems with the current solution:

  • If source is a Path or PIL_Image, startswith is not defined.
  • We should update ui.image accordingly.

@falkoschindler falkoschindler self-requested a review October 25, 2024 15:18
@falkoschindler falkoschindler merged commit acc63e8 into main Oct 25, 2024
7 checks passed
@falkoschindler falkoschindler deleted the force_reload branch October 25, 2024 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants