Skip to content

Commit

Permalink
Fix type hinting mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
Guitlle committed Aug 12, 2024
1 parent 215f926 commit c32e3fe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kobo/apps/subsequences/constants.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from typing import Any

GOOGLETX = 'googletx'
GOOGLETS = 'googlets'
GOOGLE_CODE = 'goog'
Expand All @@ -10,5 +12,5 @@
GOOGLE_CACHE_TIMEOUT = 28800 # 8 hours


def make_async_cache_key(*args: str | int):
def make_async_cache_key(*args: list[Any]):
return '-'.join(map(str, [SUBSEQUENCES_ASYNC_CACHE_KEY, *args]))

0 comments on commit c32e3fe

Please sign in to comment.