Remove Monkey.__ring_key__

which was required by old version of ring bug
This commit is contained in:
Jeong YunWon 2019-11-08 12:48:23 +09:00
parent dcbe7b1ee0
commit e1f1331ab4
1 changed files with 0 additions and 9 deletions

View File

@ -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):