-
Notifications
You must be signed in to change notification settings - Fork 12
Closed
Labels
0.2Updates to go into a 0.2.0 releaseUpdates to go into a 0.2.0 releaseenhancementNew feature or requestNew feature or request
Description
Right now, to re-load Words data, you have to load the overall object, and then separately load results data. Q: would it be more convenient to load results directly when using load_object?
# Current loading procedure:
words = load_object('tutorial_words', SCDB('tutorials/lisc_db')) # This doesn't load results
words.results[0].load(directory=SCDB('tutorials/lisc_db')) # This load the first Words result
The reason for loading separately is that for large scrapes, the data can be large, and we don't always want to load it all together. So we do want an option to no re-load all Articles data. However, it would be convenient to be able to do so. I'm thinking maybe a keyword option (reload_results or something) that would optionally reload all the data in load_object if set to True.
Note: idea from @ryanhammonds
Metadata
Metadata
Assignees
Labels
0.2Updates to go into a 0.2.0 releaseUpdates to go into a 0.2.0 releaseenhancementNew feature or requestNew feature or request