init: Prefect ETL sync project (RIIN/SDS → PG) with 12 sync flows
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
"""共享基础设施工具:HTTP 基类、TTL 缓存、并发、批量切分。"""
|
||||
|
||||
from api._common.batch import chunk, parse_id_text, split_lines
|
||||
from api._common.cache import TTLCache
|
||||
from api._common.concurrency import run_concurrent
|
||||
from api._common.http import TokenHttpClient
|
||||
|
||||
__all__ = [
|
||||
"TokenHttpClient",
|
||||
"TTLCache",
|
||||
"run_concurrent",
|
||||
"parse_id_text",
|
||||
"split_lines",
|
||||
"chunk",
|
||||
]
|
||||
Reference in New Issue
Block a user