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

allow conditional load #276

Merged
merged 1 commit into from
Feb 15, 2023
Merged

allow conditional load #276

merged 1 commit into from
Feb 15, 2023

Conversation

tobixen
Copy link
Member

@tobixen tobixen commented Feb 15, 2023

  • obj.load(only_if_unloaded=True) will be a noop if there exists data
  • new method obj.is_loaded()
  • earlier workaround modified to use the new method

… possibly add a flag to the load()-method for load-if-needed)
@tobixen tobixen added this pull request to the merge queue Feb 15, 2023
Merged via the queue into master with commit 2aa68f3 Feb 15, 2023
@tobixen tobixen deleted the load_if_needed branch February 15, 2023 00:39
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