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

Settings are for cache alias only now. #193

Merged
merged 1 commit into from
Apr 20, 2017
Merged

Conversation

argaen
Copy link
Member

@argaen argaen commented Apr 20, 2017

Added django-like cache configuration using aliases. Now, if
defaults for a given cache class is needed, the set_defaults
method is available.

TODO:

  • Increase coverage
  • Add example multiple caches configuration
  • Update docs
  • Add acceptance tests for checking fallbacks with defaults and so

Closes #175

@codecov-io
Copy link

codecov-io commented Apr 20, 2017

Codecov Report

Merging #193 into master will decrease coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #193      +/-   ##
==========================================
- Coverage   99.55%   99.55%   -0.01%     
==========================================
  Files          12       11       -1     
  Lines         676      670       -6     
  Branches       82       72      -10     
==========================================
- Hits          673      667       -6     
  Misses          3        3
Impacted Files Coverage Δ
aiocache/plugins.py 100% <ø> (ø) ⬆️
aiocache/settings.py 100% <100%> (ø) ⬆️
aiocache/backends/memcached.py 100% <100%> (ø) ⬆️
aiocache/__init__.py 100% <100%> (ø) ⬆️
aiocache/decorators.py 100% <100%> (ø) ⬆️
aiocache/backends/redis.py 100% <100%> (ø) ⬆️
aiocache/cache.py 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 911eda0...8c92d7d. Read the comment docs.

Added django-like cache configuration using aliases.

Now, if defaults for a given cache class is needed,
the set_defaults method is available.
@argaen argaen merged commit 9e7aa33 into master Apr 20, 2017
@argaen argaen deleted the feature_#175/cache_alias branch April 20, 2017 21:47
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.

2 participants