Update process_node function to ignore type checking

- Added a type: ignore comment to the process_node function to suppress type checking errors.
- Removed the README.md file as it is no longer needed.
This commit is contained in:
Will Miao
2025-04-02 17:02:11 +08:00
parent 234c942f34
commit 0499ca1300
2 changed files with 1 additions and 150 deletions

View File

@@ -46,7 +46,7 @@ def get_all_mappers() -> Dict[str, Dict]:
# Node Processing Function
# =============================================================================
def process_node(node_id: str, node_data: Dict, workflow: Dict, parser: 'WorkflowParser') -> Any:
def process_node(node_id: str, node_data: Dict, workflow: Dict, parser: 'WorkflowParser') -> Any: # type: ignore
"""Process a node using its mapper and extract relevant information"""
node_type = node_data.get("class_type")
mapper = get_mapper(node_type)