Merge pull request #484 from youknowone/fix-ring

Remove Monkey.__ring_key__
This commit is contained in:
Shay Nehmad 2019-11-17 13:27:22 +02:00 committed by GitHub
commit 70d5016206
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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):