Skip to content

Commit b0b1d43

Browse files
committed
Add typing for init_storages_api, import Callable
1 parent e4d7aab commit b0b1d43

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

backend/btrixcloud/storages.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
TYPE_CHECKING,
1313
Any,
1414
cast,
15+
Callable,
1516
)
1617
from urllib.parse import urlsplit
1718
from contextlib import asynccontextmanager
@@ -885,7 +886,7 @@ def _parse_json(line) -> dict:
885886

886887

887888
# ============================================================================
888-
def init_storages_api(org_ops, crawl_manager, user_dep: Callable):
889+
def init_storages_api(org_ops: OrgOps, crawl_manager: CrawlManager, user_dep: Callable):
889890
"""API for updating storage for an org"""
890891

891892
storage_ops = StorageOps(org_ops, crawl_manager)

0 commit comments

Comments
 (0)