-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow setting of size limit and directory (#76)
* Allow setting of size limit and directory * Fix flake8 by using SIZE_LIMIT * Replace allow_caching with backend_config Rather than a single boolean, pass a dictionary of options through the resolve and infer methods to allow for more extensible mechanisms. The `cache` key replaces most current uses of the variable. see also: spacetx/starfish#789 * Support cache.debug property (uses print) This would be better implemented with the logging module but that requires more discussion and setup. * Require cache.directory for caching * Update test_write.py * Update backend_config keys * Fix Reader.parse_doc propagation * Fix cache size param * Disable caching for size_limit=0 * Only accept dicts as backend_config * Update test to use size_limit=0
Showing
4 changed files
with
45 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters