From 13651dcfdb36bf545afc4a2d2b46fe4d74483c06 Mon Sep 17 00:00:00 2001 From: Adrian Maraj Date: Tue, 23 Jul 2024 14:24:23 +0200 Subject: [PATCH] fix: any -> Any --- website/web/genericapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/web/genericapi.py b/website/web/genericapi.py index fa35c6c..02e164d 100644 --- a/website/web/genericapi.py +++ b/website/web/genericapi.py @@ -802,7 +802,7 @@ class RecentCaptures(Resource): # type: ignore[misc] params={'category': 'The category according to which the uuids are to be returned.'}, required=False) class CategoriesCaptures(Resource): # type: ignore[misc] - def get(self, category: str | None=None) -> list[str] | dict[str, any]: + def get(self, category: str | None=None) -> list[str] | dict[str, Any]: categories = ['legitimate', 'parking-page', 'default-page', 'insti_usertution', 'captcha', 'authentication-form', 'adult-content', 'shop', 'malicious', 'clone', 'phishing', 'unclear'] if not category: