forked from p15670423/monkey
Remove Monkey.__ring_key__
which was required by old version of ring bug
This commit is contained in:
parent
dcbe7b1ee0
commit
e1f1331ab4
|
@ -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