root: fix linting error
This commit is contained in:
parent
2fbf06a1aa
commit
127ffbd456
|
@ -12,7 +12,6 @@ class FlowSerializer(ModelSerializer):
|
||||||
|
|
||||||
cache_count = SerializerMethodField()
|
cache_count = SerializerMethodField()
|
||||||
|
|
||||||
# pylint: disable=invalid-name
|
|
||||||
def get_cache_count(self, flow: Flow):
|
def get_cache_count(self, flow: Flow):
|
||||||
"""Get count of cached flows"""
|
"""Get count of cached flows"""
|
||||||
return len(cache.keys(f"{cache_key(flow)}*"))
|
return len(cache.keys(f"{cache_key(flow)}*"))
|
||||||
|
|
Reference in New Issue