Skip to content

Conversation

shosca
Copy link
Owner

@shosca shosca commented Jan 26, 2019

Mostly from sqlalchemy dogpile caching recipe with some tweaks

@shosca shosca force-pushed the caching branch 2 times, most recently from 0391afc to d9ed40d Compare January 26, 2019 17:02
@shosca shosca requested a review from miki725 January 26, 2019 17:07
@coveralls
Copy link

coveralls commented Jan 26, 2019

Pull Request Test Coverage Report for Build 1087

  • 44 of 44 (100.0%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build #904: 0.0%
Covered Lines: 3572
Relevant Lines: 3572

💛 - Coveralls

db = databases.get("test")


class DummyCache(object):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe simple in-memory variant in sorcery itself? are there other libs there which can plug and play with this interface?

Copy link
Owner Author

@shosca shosca Feb 4, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dogpile.cache should work ootb

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool. then prolly a good idea to add to somewhere

@@ -0,0 +1,75 @@
# -*- coding: utf-8 -*-
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

3 participants