adding missing type parameter

pull/921/head
Adrian Maraj 2024-06-19 12:07:03 +02:00
parent 800d489781
commit b017013bed
1 changed files with 1 additions and 1 deletions

View File

@ -781,5 +781,5 @@ class CaptureHide(Resource): # type: ignore[misc]
@api.doc(description='Get uuids of the most recent captures.',
params={'timestamp': 'The timestamp up to which we want to have the current captures'})
class RecentCaptures(Resource): # type: ignore[misc]
def get(self, timestamp: str) -> list:
def get(self, timestamp: str) -> list[str]:
return lookyloo.redis.zrangebyscore('recent_captures', timestamp, '+inf')