aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/web.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-06-03 23:58:38 -0700
committerBryan Newbold <bnewbold@archive.org>2020-06-03 23:58:38 -0700
commit649913ba9fbab8e9b7b428dec6526797c5b1c532 (patch)
treef89c3807a2b2125512626dcb766bd84c8ba07106 /fatcat_scholar/web.py
parent4c90b94c24e9e78382d12947fb27c203318d6c9c (diff)
downloadfatcat-scholar-649913ba9fbab8e9b7b428dec6526797c5b1c532.tar.gz
fatcat-scholar-649913ba9fbab8e9b7b428dec6526797c5b1c532.zip
start some annotaition fixes for pytype
Diffstat (limited to 'fatcat_scholar/web.py')
-rw-r--r--fatcat_scholar/web.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/fatcat_scholar/web.py b/fatcat_scholar/web.py
index 4e912d4..8b55f75 100644
--- a/fatcat_scholar/web.py
+++ b/fatcat_scholar/web.py
@@ -70,14 +70,14 @@ async def search(query: FulltextQuery = Depends(FulltextQuery)) -> Any:
web = APIRouter()
-def locale_gettext(translations: List[Any]) -> Any:
+def locale_gettext(translations: Any) -> Any:
def gt(s):
return translations.ugettext(s)
return gt
-def locale_ngettext(translations: List[Any]) -> Any:
+def locale_ngettext(translations: Any) -> Any:
def ngt(s, n):
return translations.ungettext(s)