root: fix linting error

This commit is contained in:
Jens Langhammer 2020-11-27 21:00:47 +01:00
parent 2fbf06a1aa
commit 127ffbd456

View file

@ -12,7 +12,6 @@ class FlowSerializer(ModelSerializer):
cache_count = SerializerMethodField()
# pylint: disable=invalid-name
def get_cache_count(self, flow: Flow):
"""Get count of cached flows"""
return len(cache.keys(f"{cache_key(flow)}*"))