Fix linting

This commit is contained in:
yangdx
2025-03-10 02:07:19 +08:00
parent 14e1b31d1c
commit 4065a7df92
6 changed files with 44 additions and 25 deletions

View File

@@ -344,6 +344,7 @@ async def set_all_update_flags(namespace: str):
else:
_update_flags[namespace][i] = True
async def clear_all_update_flags(namespace: str):
"""Clear all update flag of namespace indicating all workers need to reload data from files"""
global _update_flags
@@ -360,6 +361,7 @@ async def clear_all_update_flags(namespace: str):
else:
_update_flags[namespace][i] = False
async def get_all_update_flags_status() -> Dict[str, list]:
"""
Get update flags status for all namespaces.