Skip to content

Remove use of global#22

Merged
CasperWA merged 2 commits intomasterfrom
remove_global_cache
Oct 29, 2020
Merged

Remove use of global#22
CasperWA merged 2 commits intomasterfrom
remove_global_cache

Conversation

@CasperWA
Copy link
Copy Markdown
Owner

Create a class in the new cache.py file, which emulates a mapping container.
An instance named IN_MEMORY_CACHE is instantiated from this and imported in utils.py and run.py.

Create `cache.py` with the `InMemoryCache` class that implements a mock
container.
Instantiate `IN_MEMORY_CACHE` in `cache.py` and import it for caching
purposes.
@CasperWA CasperWA force-pushed the remove_global_cache branch from 85ed29a to 69ba626 Compare October 29, 2020 17:50
@CasperWA CasperWA force-pushed the remove_global_cache branch from 69ba626 to ccf9b27 Compare October 29, 2020 17:53
@CasperWA CasperWA merged commit ccf9b27 into master Oct 29, 2020
@CasperWA CasperWA deleted the remove_global_cache branch October 29, 2020 18:02
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