整理代码

This commit is contained in:
strepsiades
2026-04-03 09:18:44 +08:00
parent 543c3ff906
commit f5729d5a18
50 changed files with 305 additions and 296 deletions
@@ -73,10 +73,7 @@ class ProjectApiHandler(BaseApiHandler):
_all_info_cache: Dict[str, Dict[str, Any]] = {}
def __init__(self, **handler_config: Any):
super().__init__(**handler_config)
self._node_type = "project"
self._node_class = ProjectSyncNode
self._schema = ProjectResponseBase
super().__init__(node_class=ProjectSyncNode, schema=ProjectResponseBase, **handler_config)
@classmethod
async def get_all_info(cls, client, project_id: str) -> Dict[str, Any]: