forked from p34709852/monkey
Merge pull request #484 from youknowone/fix-ring
Remove Monkey.__ring_key__
This commit is contained in:
commit
70d5016206
|
@ -46,15 +46,6 @@ class Monkey(Document):
|
||||||
|
|
||||||
# instance. See https://github.com/guardicore/monkey/issues/426.
|
# instance. See https://github.com/guardicore/monkey/issues/426.
|
||||||
|
|
||||||
@staticmethod
|
|
||||||
def __ring_key__():
|
|
||||||
"""
|
|
||||||
Cache key representation
|
|
||||||
https://ring-cache.readthedocs.io/en/stable/quickstart.html#method-classmethod-staticmethod-property
|
|
||||||
:return:
|
|
||||||
"""
|
|
||||||
return Monkey.guid
|
|
||||||
|
|
||||||
# LOGIC
|
# LOGIC
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def get_single_monkey_by_id(db_id):
|
def get_single_monkey_by_id(db_id):
|
||||||
|
|
Loading…
Reference in New Issue