chore(api): adapt Graphon 0.2.2 upgrade#35377
Merged
Conversation
Contributor
Pyrefly Diffbase → PR--- /tmp/pyrefly_base.txt 2026-04-17 20:40:36.017979768 +0000
+++ /tmp/pyrefly_pr.txt 2026-04-17 20:40:26.342995313 +0000
@@ -28,6 +28,12 @@
--> core/app/task_pipeline/easy_ui_based_generate_task_pipeline.py:321:29
ERROR Argument `list[Unknown]` is not assignable to parameter `value` with type `SQLCoreOperations[dict[str, Any]] | dict[str, Any]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
--> core/app/task_pipeline/easy_ui_based_generate_task_pipeline.py:388:27
+ERROR Returned type `Response` is not assignable to declared return type `HttpResponseProtocol` [bad-return]
+ --> core/app/workflow/file_runtime.py:46:16
+ERROR Argument `bool | str` is not assignable to parameter `token` with type `str` in function `core.helper.encrypter.encrypt_token` [bad-argument-type]
+ --> core/entities/provider_configuration.py:367:86
+ERROR Argument `bool | str` is not assignable to parameter `token` with type `str` in function `core.helper.encrypter.encrypt_token` [bad-argument-type]
+ --> core/entities/provider_configuration.py:916:86
ERROR No matching overload found for function `core.model_manager.ModelInstance.invoke_llm` called with arguments: (prompt_messages=list[UserPromptMessage], model_parameters=dict[str, int], stream=Literal[False]) [no-matching-overload]
--> core/llm_generator/llm_generator.py:85:60
ERROR No matching overload found for function `core.model_manager.ModelInstance.invoke_llm` called with arguments: (prompt_messages=list[UserPromptMessage], model_parameters=dict[str, float | int], stream=Literal[False]) [no-matching-overload]
@@ -108,10 +114,22 @@
--> core/tools/mcp_tool/provider.py:33:14
ERROR Class member `PluginToolProviderController.entity` overrides parent class `BuiltinToolProviderController` in an inconsistent manner [bad-override]
--> core/tools/plugin_tool/provider.py:12:5
+ERROR Argument `bool | dict[str, Any] | float | int | list[str] | list[Any] | str | None` is not assignable to parameter `selector` with type `Sequence[str]` in function `graphon.runtime.variable_pool.VariablePool.get` [bad-argument-type]
+ --> core/tools/tool_manager.py:1085:54
ERROR `(method: str, url: str, max_retries: int = ..., **kwargs: Any) -> httpx._models.Response` is not assignable to attribute `perform_request` with type `(self: CloudScraper, method: Unknown, url: Unknown, *args: Unknown, **kwargs: Unknown) -> requests.models.Response` [bad-assignment]
--> core/tools/utils/web_reader_tool.py:66:35
ERROR `list[Never]` is not assignable to attribute `tools` with type `Never` [bad-assignment]
--> core/tools/workflow_as_tool/provider.py:238:26
+ERROR Argument `Any | None` is not assignable to parameter `value` with type `str` in function `graphon.file.enums.FileTransferMethod.value_of` [bad-argument-type]
+ --> core/tools/workflow_as_tool/tool.py:360:55
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `core.workflow.node_runtime.build_dify_llm_file_saver` [bad-argument-type]
+ --> core/workflow/node_factory.py:324:25
+ERROR Class member `DifyPreparedLLM.invoke_llm` overrides parent class `PreparedLLMProtocol` in an inconsistent manner [bad-override]
+ --> core/workflow/node_runtime.py:176:9
+ERROR Class member `DifyPreparedLLM.invoke_llm_with_structured_output` overrides parent class `PreparedLLMProtocol` in an inconsistent manner [bad-override]
+ --> core/workflow/node_runtime.py:193:9
+ERROR Argument `Sequence[str] | float | int | list[Unknown] | object | str | None` is not assignable to parameter `value` with type `Decimal | Iterable[LaxStr] | bool | bytearray | bytes | float | int | str | None` in function `core.rag.entities.metadata_entities.Condition.__init__` [bad-argument-type]
+ --> core/workflow/nodes/knowledge_retrieval/knowledge_retrieval_node.py:306:27
ERROR Cannot index into `Literal['']` [bad-index]
--> extensions/storage/huawei_obs_storage.py:27:23
ERROR Cannot index into `Literal['']` [bad-index]
@@ -810,6 +828,8 @@
--> services/hit_testing_service.py:92:28
ERROR Argument `RetrievalMethod | bool | dict[str, str] | int | Any | None` is not assignable to parameter `weights` with type `WeightsDict | None` in function `core.rag.datasource.retrieval_service.RetrievalService.retrieve` [bad-argument-type]
--> services/hit_testing_service.py:93:21
+ERROR Argument `bool | str | Any` is not assignable to parameter `token` with type `str` in function `core.helper.encrypter.encrypt_token` [bad-argument-type]
+ --> services/model_load_balancing_service.py:623:71
ERROR `handled_tenant_count` was assigned in the current scope before the nonlocal declaration [unknown-name]
--> services/plugin/plugin_migration.py:92:34
ERROR `dict[str, Any]` is not assignable to attribute `credentials` with type `Never` [bad-assignment]
@@ -830,12 +850,10 @@
--> tests/integration_tests/controllers/console/app/test_feedback_export_api.py:32:22
ERROR Argument `Literal['normal']` is not assignable to parameter `value` with type `AppStatus | SQLCoreOperations[AppStatus]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
--> tests/integration_tests/controllers/console/app/test_model_config_permissions.py:28:22
-ERROR `dict[str, str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:75:21
ERROR Argument `_GP` is not assignable to parameter `graph_init_params` with type `GraphInitParams` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:85:27
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:83:27
ERROR Argument `_GS` is not assignable to parameter `graph_runtime_state` with type `GraphRuntimeState` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:86:29
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:84:29
ERROR Could not import `Overflow` from `libs.broadcast_channel.channel` [missing-module-attribute]
--> tests/integration_tests/libs/broadcast_channel/redis/utils/test_data.py:11:44
ERROR `unpatch` may be uninitialized [unbound-name]
@@ -856,26 +874,18 @@
--> tests/integration_tests/services/test_workflow_draft_variable_service.py:651:21
ERROR Object of class `TestWorkflowDraftVariableServiceResetVariable` has no attribute `_test_user_id` [missing-attribute]
--> tests/integration_tests/services/test_workflow_draft_variable_service.py:817:21
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.code.code_node.CodeNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_code.py:68:16
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_http.py:79:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:83:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/integration_tests/workflow/nodes/test_http.py:84:35
-ERROR Argument `dict[str, dict[str, dict[str, dict[str, str] | str] | str | Unknown | None] | str] | dict[str, dict[str, str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_http.py:727:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:242:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:731:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/integration_tests/workflow/nodes/test_http.py:732:35
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.llm.node.LLMNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_llm.py:79:16
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.parameter_extractor.parameter_extractor_node.ParameterExtractorNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_parameter_extractor.py:73:16
-ERROR Argument `dict[str, dict[str, list[dict[str, list[str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.template_transform.template_transform_node.TemplateTransformNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_template_transform.py:90:16
ERROR Argument `_SimpleJinja2Renderer` is not assignable to parameter `jinja2_template_renderer` with type `Jinja2TemplateRenderer` in function `graphon.nodes.template_transform.template_transform_node.TemplateTransformNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_template_transform.py:93:34
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.tool.tool_node.ToolNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_tool.py:64:16
+ --> tests/integration_tests/workflow/nodes/test_template_transform.py:94:34
ERROR `dict[str, str | None]` is not assignable to attribute `env` with type `dict[str, str]` [bad-assignment]
--> tests/test_containers_integration_tests/conftest.py:204:39
ERROR Argument value `Literal[0]` violates Pydantic `ge` constraint `Literal[1]` for field `page` [bad-argument-type]
@@ -994,12 +1004,6 @@
--> tests/test_containers_integration_tests/core/rag/retrieval/test_dataset_retrieval_integration.py:574:23
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
--> tests/test_containers_integration_tests/core/rag/retrieval/test_dataset_retrieval_integration.py:584:23
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:105:40
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:120:40
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:134:38
ERROR Argument `Connection | Engine` is not assignable to parameter `session_factory` with type `Engine | sessionmaker[Unknown]` in function `core.repositories.sqlalchemy_workflow_execution_repository.SQLAlchemyWorkflowExecutionRepository.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:264:29
ERROR Argument `Connection | Engine` is not assignable to parameter `session_factory` with type `Engine | sessionmaker[Unknown]` in function `core.repositories.sqlalchemy_workflow_node_execution_repository.SQLAlchemyWorkflowNodeExecutionRepository.__init__` [bad-argument-type]
@@ -1356,7 +1360,7 @@
--> tests/test_containers_integration_tests/services/test_file_service.py:78:20
ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_human_input_delivery_test.py:32:18
-ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_compat.EmailRecipients.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_adapter.EmailRecipients.__init__` [unexpected-keyword]
--> tests/test_containers_integration_tests/services/test_human_input_delivery_test_service.py:239:44
ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_message_export_service.py:53:20
@@ -3263,43 +3267,43 @@
ERROR Object of class `ModuleType` has no attribute `TraceQueueManager` [missing-attribute]
--> tests/unit_tests/core/app/apps/test_pause_resume.py:42:5
ERROR Class member `_StubToolNode._run` overrides parent class `Node` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:79:9
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:92:9
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:220:19
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:226:19
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow` with type `Workflow` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:221:18
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:227:18
ERROR Argument `SimpleNamespace` is not assignable to parameter `user` with type `Account | EndUser` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:222:14
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:228:14
ERROR Argument `SimpleNamespace` is not assignable to parameter `application_generate_entity` with type `WorkflowAppGenerateEntity` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:223:37
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:37
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_execution_repository` with type `WorkflowExecutionRepository` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:225:39
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:231:39
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_node_execution_repository` with type `WorkflowNodeExecutionRepository` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:226:44
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:232:44
ERROR `+` is not supported between `list[str]` and `Generator[Mapping[str, Any] | str]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:235:12
ERROR `+` is not supported between `list[str]` and `Mapping[str, Any]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:235:12
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:260:19
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:266:19
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow` with type `Workflow` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:261:18
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:267:18
ERROR Argument `SimpleNamespace` is not assignable to parameter `user` with type `Account | EndUser` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:262:14
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:268:14
ERROR Argument `SimpleNamespace` is not assignable to parameter `conversation` with type `Conversation` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:263:22
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:269:22
ERROR Argument `SimpleNamespace` is not assignable to parameter `message` with type `Message` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:264:17
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:270:17
ERROR Argument `SimpleNamespace` is not assignable to parameter `application_generate_entity` with type `AdvancedChatAppGenerateEntity` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:265:37
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:37
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_execution_repository` with type `WorkflowExecutionRepository` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:266:39
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:272:39
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_node_execution_repository` with type `WorkflowNodeExecutionRepository` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:267:44
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:273:44
ERROR `+` is not supported between `list[str]` and `Generator[Mapping[str, Any] | str]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:277:12
ERROR `+` is not supported between `list[str]` and `Mapping[str, Any]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:277:12
ERROR Cannot index into `str` [bad-index]
--> tests/unit_tests/core/app/apps/test_streaming_utils.py:79:12
ERROR Argument `FakeTopic` is not assignable to parameter `topic` with type `Topic` in function `core.app.apps.streaming_utils.stream_topic_events` [bad-argument-type]
@@ -3972,8 +3976,8 @@
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:174:16
ERROR Object of class `object` has no attribute `total_steps` [missing-attribute]
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:175:16
-ERROR `SimpleNamespace` is not assignable to attribute `_graph_execution` with type `GraphExecutionProtocol | None` [bad-assignment]
- --> tests/unit_tests/core/app/workflow/test_persistence_layer.py:182:42
+ERROR Object of class `GraphRuntimeState` has no attribute `_graph_execution` [missing-attribute]
+ --> tests/unit_tests/core/app/workflow/test_persistence_layer.py:182:9
ERROR Object of class `object` has no attribute `status` [missing-attribute]
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:189:16
ERROR Object of class `object` has no attribute `exceptions_count` [missing-attribute]
@@ -5334,6 +5338,16 @@
ERROR Object of class `BlobChunkMessage` has no attribute `variable_value`
ERROR Object of class `BlobChunkMessage` has no attribute `stream`
ERROR Object of class `BlobChunkMessage` has no attribute `file_marker`
+ERROR Argument `object` is not assignable to parameter `obj` with type `Sized` in function `len` [bad-argument-type]
+ --> tests/unit_tests/core/variables/test_segment.py:503:20
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:504:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:505:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:512:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:513:16
ERROR Cannot set field `value` [read-only]
--> tests/unit_tests/core/variables/test_variables.py:20:9
ERROR Cannot set field `value` [read-only]
@@ -5363,47 +5377,39 @@
ERROR Could not find name `NodeType` [unknown-name]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_config.py:158:46
ERROR Cannot extend final class `DifyNodeFactory` [invalid-inheritance]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:37:23
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:38:23
ERROR Cannot set item in `dict[str, type[MockAgentNode] | type[MockCodeNode] | type[MockDocumentExtractorNode] | type[MockHttpRequestNode] | type[MockIterationNode] | type[MockKnowledgeRetrievalNode] | type[MockLLMNode] | type[MockLoopNode] | type[MockParameterExtractorNode] | type[MockQuestionClassifierNode] | type[MockTemplateTransformNode] | type[MockToolNode]]` [unsupported-operation]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:161:44
-ERROR Unexpected keyword argument `id` in function `object.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:99:13
-ERROR Unexpected keyword argument `config` in function `object.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:162:44
+ERROR Unexpected keyword argument `node_id` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:100:13
-ERROR Unexpected keyword argument `graph_init_params` in function `object.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `config` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:101:13
-ERROR Unexpected keyword argument `graph_runtime_state` in function `object.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `graph_init_params` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:102:13
+ERROR Unexpected keyword argument `graph_runtime_state` in function `object.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:103:13
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:113:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:114:56
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:128:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:129:56
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:139:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:140:56
ERROR Class member `MockKnowledgeRetrievalNode.version` overrides parent class `KnowledgeRetrievalNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:350:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:351:9
ERROR Class member `MockKnowledgeRetrievalNode._run` overrides parent class `KnowledgeRetrievalNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:354:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:355:9
ERROR Class member `MockHttpRequestNode._run` overrides parent class `HttpRequestNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:411:9
-ERROR Class member `MockQuestionClassifierNode.version` overrides parent class `QuestionClassifierNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:460:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:412:9
ERROR Class member `MockQuestionClassifierNode._run` overrides parent class `QuestionClassifierNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:464:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:465:9
ERROR Class member `MockParameterExtractorNode._run` overrides parent class `ParameterExtractorNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:512:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:513:9
ERROR Class member `MockDocumentExtractorNode._run` overrides parent class `DocumentExtractorNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:562:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:563:9
ERROR Argument `str | None` is not assignable to parameter `root_node_id` with type `str` in function `graphon.graph.graph.Graph.init` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:661:85
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:143:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:158:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:168:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:186:16
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:662:85
+ERROR Class member `MockLoopNode._create_graph_engine` overrides parent class `LoopNode` in an inconsistent manner [bad-override]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:690:9
ERROR Argument `Sequence[type[GraphEngineEvent]]` is not assignable to parameter `expected_sequence` with type `list[type[GraphEngineEvent]]` in function `TableTestRunner._validate_event_sequence` [bad-argument-type]
--> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:402:21
ERROR `graph` is uninitialized [unbound-name]
@@ -5412,20 +5418,52 @@
--> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:456:37
ERROR Argument `Iterator[Unknown]` is not assignable to parameter `messages` with type `Generator[ToolInvokeMessage]` in function `core.workflow.nodes.agent.message_transformer.AgentMessageTransformer.transform` [bad-argument-type]
--> tests/unit_tests/core/workflow/nodes/agent/test_message_transformer.py:15:26
-ERROR Argument `dict[str, dict[str, str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/answer/test_answer.py:82:16
ERROR Class member `_Version1._get_retry_config` overrides parent class `Node` in an inconsistent manner [bad-override]
--> tests/unit_tests/core/workflow/nodes/base/test_get_node_type_classes_mapping.py:53:13
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:150:44
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:157:44
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:164:45
ERROR `BaseNodeData` is not assignable to attribute `_node_data` with type `CodeNodeData` [bad-assignment]
--> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:440:27
ERROR `BaseNodeData` is not assignable to attribute `_node_data` with type `CodeNodeData` [bad-assignment]
--> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:456:27
-ERROR `dict[str, str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:83:21
ERROR Argument `_GraphParams` is not assignable to parameter `graph_init_params` with type `GraphInitParams` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:93:27
+ --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:91:27
ERROR Argument `_GraphState` is not assignable to parameter `graph_runtime_state` with type `GraphRuntimeState` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:94:29
+ --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:92:29
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:64:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:120:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:178:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:224:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:271:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:324:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:361:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:413:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:440:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:467:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:494:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:520:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:570:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:617:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:658:21
ERROR Cannot index into `object` [bad-index]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:32:15
ERROR Cannot index into `object` [bad-index]
@@ -5438,64 +5476,40 @@
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:65:12
ERROR Cannot index into `object` [bad-index]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:66:12
-ERROR Argument `dict[str, Any]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:118:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:122:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:123:35
+ERROR Argument `Response` is not assignable to parameter `response` with type `HttpResponse` in function `graphon.nodes.http_request.entities.Response.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:158:17
ERROR Object of class `NoneType` has no attribute `type` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:184:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:204:16
ERROR Object of class `NoneType` has no attribute `value` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:185:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:205:16
ERROR Object of class `NoneType` has no attribute `type` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:193:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:213:16
ERROR Object of class `NoneType` has no attribute `selector` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:194:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:214:16
ERROR Object of class `HumanInputNodeData` has no attribute `delivery_methods` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:278:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:298:20
ERROR Object of class `HumanInputNodeData` has no attribute `delivery_methods` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:301:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:321:20
ERROR Object of class `ExternalRecipient` has no attribute `reference_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:394:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:414:16
ERROR Object of class `BoundRecipient` has no attribute `email` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:395:16
-ERROR Missing argument `reference_id` in function `core.workflow.human_input_compat.BoundRecipient.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:399:28
-ERROR Unexpected keyword argument `user_id` in function `core.workflow.human_input_compat.BoundRecipient.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:399:61
-ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_compat.EmailRecipients.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:401:38
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:470:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:415:16
+ERROR Missing argument `reference_id` in function `core.workflow.human_input_adapter.BoundRecipient.__init__` [missing-argument]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:419:28
+ERROR Unexpected keyword argument `user_id` in function `core.workflow.human_input_adapter.BoundRecipient.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:419:61
+ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_adapter.EmailRecipients.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:421:38
ERROR Object of class `SchedulingPause` has no attribute `resolved_default_values` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:481:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:535:20
-ERROR Argument `dict[str, dict[str, list[dict[str, bool | dict[Unknown, Unknown] | str]] | list[dict[str, str]] | list[Unknown] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:600:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:676:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:775:20
-ERROR Argument `dict[str, dict[str, list[dict[str, str]] | list[dict[str, dict[str, str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_human_input_form_filled_event.py:85:16
-ERROR Argument `dict[str, dict[str, list[dict[str, str]] | list[dict[str, dict[str, str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_human_input_form_filled_event.py:150:16
-ERROR `dict[str, list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/iteration/test_iteration_child_engine_errors.py:50:21
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_index.knowledge_index_node.KnowledgeIndexNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:120:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:501:16
+ERROR Argument `dict[str, list[str] | str]` is not assignable to parameter `node_data` with type `KnowledgeIndexNodeData | dict[str, object]` in function `_build_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:139:23
ERROR Argument `dict[str, bool]` is not assignable to parameter `summary_index_setting` with type `SummaryIndexSettingDict | None` in function `core.workflow.nodes.knowledge_index.knowledge_index_node.KnowledgeIndexNode._invoke_knowledge_index` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:641:35
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:110:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:198:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:474:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:566:20
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:614:20
+ --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:660:35
ERROR `None` is not subscriptable [unsupported-operation]
--> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:633:16
ERROR `None` is not subscriptable [unsupported-operation]
@@ -5504,124 +5518,56 @@
--> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:635:16
ERROR `None` is not subscriptable [unsupported-operation]
--> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:636:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:675:20
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:69:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:114:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:145:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:174:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:203:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:231:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:259:43
-ERROR `dict[str, dict[str, bool | int] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:287:43
-ERROR `dict[str, dict[str, bool | int] | dict[str, bool | str] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:322:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:346:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:371:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:401:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:430:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:459:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:488:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:516:43
ERROR Argument `None` is not assignable to parameter `context` with type `str` in function `graphon.nodes.llm.llm_utils.fetch_prompt_messages` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:123:21
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:125:21
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:604:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:606:65
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:607:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:609:65
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:610:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:612:65
ERROR Argument `list[UserPromptMessage]` is not assignable to parameter `prompt_messages` with type `list[PromptMessage]` in function `graphon.nodes.llm.llm_utils._append_file_prompts` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:726:29
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:728:29
ERROR Argument `list[SystemPromptMessage]` is not assignable to parameter `prompt_messages` with type `list[PromptMessage]` in function `graphon.nodes.llm.llm_utils._append_file_prompts` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:742:29
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.llm.node.LLMNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:215:16
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:744:29
ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1224:9
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1216:9
ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1254:9
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1246:9
ERROR Argument `Iterator[LLMResultChunk | LLMStructuredOutput] | Iterator[Any]` is not assignable to parameter `invoke_result` with type `Generator[LLMResultChunk | LLMStructuredOutput] | LLMResult` in function `graphon.nodes.llm.node.LLMNode.handle_invoke_result` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1513:31
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1504:31
ERROR Argument `Generator[None, Unknown]` is not assignable to parameter `invoke_result` with type `Generator[LLMResultChunk | LLMStructuredOutput] | LLMResult` in function `graphon.nodes.llm.node.LLMNode.handle_invoke_result` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1551:31
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1541:31
ERROR Missing argument `run_context` in function `core.app.llm.model_access.DifyCredentialsProvider.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1744:32
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1733:32
ERROR Missing argument `run_context` in function `core.app.llm.model_access.DifyModelFactory.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1747:25
-ERROR `dict[str, list[Unknown] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:113:48
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1736:25
ERROR `in` is not supported between `Literal['variables']` and `object` [not-iterable]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:127:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:145:16
ERROR `in` is not supported between `Literal['template']` and `object` [not-iterable]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:128:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:146:16
ERROR Cannot index into `object` [bad-index]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:129:16
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:203:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:307:48
-ERROR `dict[str, list[Unknown] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:414:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:453:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:482:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:512:48
-ERROR `dict[str, list[@_] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/test_template_transform_node.py:43:21
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.document_extractor.node.DocumentExtractorNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_document_extractor_node.py:51:16
-ERROR Argument `dict[str, dict[str, list[dict[str, list[str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:113:16
-ERROR Argument `dict[str, dict[str, list[dict[str, list[str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:183:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:249:16
-ERROR `dict[str, list[dict[str, Any]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:341:42
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:409:21
-ERROR `dict[str, list[dict[str, list[dict[str, list[str] | str]] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:479:42
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_list_operator.py:59:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:37:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:147:16
+ERROR Argument `dict[str, list[dict[str, Any]] | str]` is not assignable to parameter `node_data` with type `IfElseNodeData | dict[str, object]` in function `_build_if_else_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/test_if_else.py:330:19
+ERROR Argument `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to parameter `node_data` with type `IfElseNodeData | dict[str, object]` in function `_build_if_else_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/test_if_else.py:395:19
+ERROR Argument `dict[str, list[dict[str, list[dict[str, list[str] | str]] | str]] | str]` is not assignable to parameter `node_data` with type `IfElseNodeData | dict[str, object]` in function `_build_if_else_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/test_if_else.py:463:19
ERROR `Literal['{invalid-json-schema']` is not assignable to attribute `json_schema` with type `dict[str, Any] | None` [bad-assignment]
- --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:211:28
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:269:16
+ --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:208:28
ERROR Returned type `VariableBase` is not assignable to declared return type `ArrayAnyVariable | ArrayBooleanVariable | ArrayFileVariable | ArrayNumberVariable | ArrayObjectVariable | ArrayStringVariable | BooleanVariable | FileVariable | FloatVariable | IntegerVariable | NoneVariable | ObjectVariable | SecretVariable | StringVariable` [bad-return]
- --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:294:12
+ --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:288:12
ERROR Object of class `ModuleType` has no attribute `TraceQueueManager` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:62:9
-ERROR Object of class `ModuleType` has no attribute `TraceTask` [missing-attribute]
--> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:63:9
-ERROR Argument `_StubToolRuntime` is not assignable to parameter `runtime` with type `ToolNodeRuntimeProtocol | None` in function `graphon.nodes.tool.tool_node.ToolNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:116:17
+ERROR Object of class `ModuleType` has no attribute `TraceTask` [missing-attribute]
+ --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:64:9
+ERROR Argument `_StubToolRuntime` is not assignable to parameter `runtime` with type `ToolNodeRuntimeProtocol` in function `graphon.nodes.tool.tool_node.ToolNode.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:117:17
ERROR Argument `Iterator[ToolRuntimeMessage] | Iterator[Any]` is not assignable to parameter `messages` with type `Generator[ToolRuntimeMessage]` in function `graphon.nodes.tool.tool_node.ToolNode._transform_message` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:132:18
-ERROR Argument `Generator[NodeEventBase, None, LLMUsage]` is not assignable to parameter `generator` with type `Generator[Unknown]` in function `_collect_events` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:138:28
+ --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:133:18
ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:220:5
+ --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:224:5
... (truncated) ... |
Contributor
Pyrefly Type Coverage
|
Contributor
Pyrefly Diffbase → PR--- /tmp/pyrefly_base.txt 2026-04-17 20:40:36.017979768 +0000
+++ /tmp/pyrefly_pr.txt 2026-04-17 20:40:26.342995313 +0000
@@ -28,6 +28,12 @@
--> core/app/task_pipeline/easy_ui_based_generate_task_pipeline.py:321:29
ERROR Argument `list[Unknown]` is not assignable to parameter `value` with type `SQLCoreOperations[dict[str, Any]] | dict[str, Any]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
--> core/app/task_pipeline/easy_ui_based_generate_task_pipeline.py:388:27
+ERROR Returned type `Response` is not assignable to declared return type `HttpResponseProtocol` [bad-return]
+ --> core/app/workflow/file_runtime.py:46:16
+ERROR Argument `bool | str` is not assignable to parameter `token` with type `str` in function `core.helper.encrypter.encrypt_token` [bad-argument-type]
+ --> core/entities/provider_configuration.py:367:86
+ERROR Argument `bool | str` is not assignable to parameter `token` with type `str` in function `core.helper.encrypter.encrypt_token` [bad-argument-type]
+ --> core/entities/provider_configuration.py:916:86
ERROR No matching overload found for function `core.model_manager.ModelInstance.invoke_llm` called with arguments: (prompt_messages=list[UserPromptMessage], model_parameters=dict[str, int], stream=Literal[False]) [no-matching-overload]
--> core/llm_generator/llm_generator.py:85:60
ERROR No matching overload found for function `core.model_manager.ModelInstance.invoke_llm` called with arguments: (prompt_messages=list[UserPromptMessage], model_parameters=dict[str, float | int], stream=Literal[False]) [no-matching-overload]
@@ -108,10 +114,22 @@
--> core/tools/mcp_tool/provider.py:33:14
ERROR Class member `PluginToolProviderController.entity` overrides parent class `BuiltinToolProviderController` in an inconsistent manner [bad-override]
--> core/tools/plugin_tool/provider.py:12:5
+ERROR Argument `bool | dict[str, Any] | float | int | list[str] | list[Any] | str | None` is not assignable to parameter `selector` with type `Sequence[str]` in function `graphon.runtime.variable_pool.VariablePool.get` [bad-argument-type]
+ --> core/tools/tool_manager.py:1085:54
ERROR `(method: str, url: str, max_retries: int = ..., **kwargs: Any) -> httpx._models.Response` is not assignable to attribute `perform_request` with type `(self: CloudScraper, method: Unknown, url: Unknown, *args: Unknown, **kwargs: Unknown) -> requests.models.Response` [bad-assignment]
--> core/tools/utils/web_reader_tool.py:66:35
ERROR `list[Never]` is not assignable to attribute `tools` with type `Never` [bad-assignment]
--> core/tools/workflow_as_tool/provider.py:238:26
+ERROR Argument `Any | None` is not assignable to parameter `value` with type `str` in function `graphon.file.enums.FileTransferMethod.value_of` [bad-argument-type]
+ --> core/tools/workflow_as_tool/tool.py:360:55
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `core.workflow.node_runtime.build_dify_llm_file_saver` [bad-argument-type]
+ --> core/workflow/node_factory.py:324:25
+ERROR Class member `DifyPreparedLLM.invoke_llm` overrides parent class `PreparedLLMProtocol` in an inconsistent manner [bad-override]
+ --> core/workflow/node_runtime.py:176:9
+ERROR Class member `DifyPreparedLLM.invoke_llm_with_structured_output` overrides parent class `PreparedLLMProtocol` in an inconsistent manner [bad-override]
+ --> core/workflow/node_runtime.py:193:9
+ERROR Argument `Sequence[str] | float | int | list[Unknown] | object | str | None` is not assignable to parameter `value` with type `Decimal | Iterable[LaxStr] | bool | bytearray | bytes | float | int | str | None` in function `core.rag.entities.metadata_entities.Condition.__init__` [bad-argument-type]
+ --> core/workflow/nodes/knowledge_retrieval/knowledge_retrieval_node.py:306:27
ERROR Cannot index into `Literal['']` [bad-index]
--> extensions/storage/huawei_obs_storage.py:27:23
ERROR Cannot index into `Literal['']` [bad-index]
@@ -810,6 +828,8 @@
--> services/hit_testing_service.py:92:28
ERROR Argument `RetrievalMethod | bool | dict[str, str] | int | Any | None` is not assignable to parameter `weights` with type `WeightsDict | None` in function `core.rag.datasource.retrieval_service.RetrievalService.retrieve` [bad-argument-type]
--> services/hit_testing_service.py:93:21
+ERROR Argument `bool | str | Any` is not assignable to parameter `token` with type `str` in function `core.helper.encrypter.encrypt_token` [bad-argument-type]
+ --> services/model_load_balancing_service.py:623:71
ERROR `handled_tenant_count` was assigned in the current scope before the nonlocal declaration [unknown-name]
--> services/plugin/plugin_migration.py:92:34
ERROR `dict[str, Any]` is not assignable to attribute `credentials` with type `Never` [bad-assignment]
@@ -830,12 +850,10 @@
--> tests/integration_tests/controllers/console/app/test_feedback_export_api.py:32:22
ERROR Argument `Literal['normal']` is not assignable to parameter `value` with type `AppStatus | SQLCoreOperations[AppStatus]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
--> tests/integration_tests/controllers/console/app/test_model_config_permissions.py:28:22
-ERROR `dict[str, str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:75:21
ERROR Argument `_GP` is not assignable to parameter `graph_init_params` with type `GraphInitParams` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:85:27
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:83:27
ERROR Argument `_GS` is not assignable to parameter `graph_runtime_state` with type `GraphRuntimeState` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:86:29
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:84:29
ERROR Could not import `Overflow` from `libs.broadcast_channel.channel` [missing-module-attribute]
--> tests/integration_tests/libs/broadcast_channel/redis/utils/test_data.py:11:44
ERROR `unpatch` may be uninitialized [unbound-name]
@@ -856,26 +874,18 @@
--> tests/integration_tests/services/test_workflow_draft_variable_service.py:651:21
ERROR Object of class `TestWorkflowDraftVariableServiceResetVariable` has no attribute `_test_user_id` [missing-attribute]
--> tests/integration_tests/services/test_workflow_draft_variable_service.py:817:21
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.code.code_node.CodeNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_code.py:68:16
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_http.py:79:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:83:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/integration_tests/workflow/nodes/test_http.py:84:35
-ERROR Argument `dict[str, dict[str, dict[str, dict[str, str] | str] | str | Unknown | None] | str] | dict[str, dict[str, str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_http.py:727:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:242:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:731:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/integration_tests/workflow/nodes/test_http.py:732:35
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.llm.node.LLMNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_llm.py:79:16
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.parameter_extractor.parameter_extractor_node.ParameterExtractorNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_parameter_extractor.py:73:16
-ERROR Argument `dict[str, dict[str, list[dict[str, list[str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.template_transform.template_transform_node.TemplateTransformNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_template_transform.py:90:16
ERROR Argument `_SimpleJinja2Renderer` is not assignable to parameter `jinja2_template_renderer` with type `Jinja2TemplateRenderer` in function `graphon.nodes.template_transform.template_transform_node.TemplateTransformNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_template_transform.py:93:34
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.tool.tool_node.ToolNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_tool.py:64:16
+ --> tests/integration_tests/workflow/nodes/test_template_transform.py:94:34
ERROR `dict[str, str | None]` is not assignable to attribute `env` with type `dict[str, str]` [bad-assignment]
--> tests/test_containers_integration_tests/conftest.py:204:39
ERROR Argument value `Literal[0]` violates Pydantic `ge` constraint `Literal[1]` for field `page` [bad-argument-type]
@@ -994,12 +1004,6 @@
--> tests/test_containers_integration_tests/core/rag/retrieval/test_dataset_retrieval_integration.py:574:23
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
--> tests/test_containers_integration_tests/core/rag/retrieval/test_dataset_retrieval_integration.py:584:23
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:105:40
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:120:40
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:134:38
ERROR Argument `Connection | Engine` is not assignable to parameter `session_factory` with type `Engine | sessionmaker[Unknown]` in function `core.repositories.sqlalchemy_workflow_execution_repository.SQLAlchemyWorkflowExecutionRepository.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:264:29
ERROR Argument `Connection | Engine` is not assignable to parameter `session_factory` with type `Engine | sessionmaker[Unknown]` in function `core.repositories.sqlalchemy_workflow_node_execution_repository.SQLAlchemyWorkflowNodeExecutionRepository.__init__` [bad-argument-type]
@@ -1356,7 +1360,7 @@
--> tests/test_containers_integration_tests/services/test_file_service.py:78:20
ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_human_input_delivery_test.py:32:18
-ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_compat.EmailRecipients.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_adapter.EmailRecipients.__init__` [unexpected-keyword]
--> tests/test_containers_integration_tests/services/test_human_input_delivery_test_service.py:239:44
ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_message_export_service.py:53:20
@@ -3263,43 +3267,43 @@
ERROR Object of class `ModuleType` has no attribute `TraceQueueManager` [missing-attribute]
--> tests/unit_tests/core/app/apps/test_pause_resume.py:42:5
ERROR Class member `_StubToolNode._run` overrides parent class `Node` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:79:9
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:92:9
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:220:19
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:226:19
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow` with type `Workflow` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:221:18
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:227:18
ERROR Argument `SimpleNamespace` is not assignable to parameter `user` with type `Account | EndUser` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:222:14
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:228:14
ERROR Argument `SimpleNamespace` is not assignable to parameter `application_generate_entity` with type `WorkflowAppGenerateEntity` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:223:37
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:37
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_execution_repository` with type `WorkflowExecutionRepository` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:225:39
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:231:39
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_node_execution_repository` with type `WorkflowNodeExecutionRepository` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:226:44
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:232:44
ERROR `+` is not supported between `list[str]` and `Generator[Mapping[str, Any] | str]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:235:12
ERROR `+` is not supported between `list[str]` and `Mapping[str, Any]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:235:12
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:260:19
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:266:19
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow` with type `Workflow` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:261:18
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:267:18
ERROR Argument `SimpleNamespace` is not assignable to parameter `user` with type `Account | EndUser` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:262:14
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:268:14
ERROR Argument `SimpleNamespace` is not assignable to parameter `conversation` with type `Conversation` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:263:22
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:269:22
ERROR Argument `SimpleNamespace` is not assignable to parameter `message` with type `Message` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:264:17
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:270:17
ERROR Argument `SimpleNamespace` is not assignable to parameter `application_generate_entity` with type `AdvancedChatAppGenerateEntity` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:265:37
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:37
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_execution_repository` with type `WorkflowExecutionRepository` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:266:39
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:272:39
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_node_execution_repository` with type `WorkflowNodeExecutionRepository` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:267:44
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:273:44
ERROR `+` is not supported between `list[str]` and `Generator[Mapping[str, Any] | str]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:277:12
ERROR `+` is not supported between `list[str]` and `Mapping[str, Any]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:277:12
ERROR Cannot index into `str` [bad-index]
--> tests/unit_tests/core/app/apps/test_streaming_utils.py:79:12
ERROR Argument `FakeTopic` is not assignable to parameter `topic` with type `Topic` in function `core.app.apps.streaming_utils.stream_topic_events` [bad-argument-type]
@@ -3972,8 +3976,8 @@
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:174:16
ERROR Object of class `object` has no attribute `total_steps` [missing-attribute]
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:175:16
-ERROR `SimpleNamespace` is not assignable to attribute `_graph_execution` with type `GraphExecutionProtocol | None` [bad-assignment]
- --> tests/unit_tests/core/app/workflow/test_persistence_layer.py:182:42
+ERROR Object of class `GraphRuntimeState` has no attribute `_graph_execution` [missing-attribute]
+ --> tests/unit_tests/core/app/workflow/test_persistence_layer.py:182:9
ERROR Object of class `object` has no attribute `status` [missing-attribute]
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:189:16
ERROR Object of class `object` has no attribute `exceptions_count` [missing-attribute]
@@ -5334,6 +5338,16 @@
ERROR Object of class `BlobChunkMessage` has no attribute `variable_value`
ERROR Object of class `BlobChunkMessage` has no attribute `stream`
ERROR Object of class `BlobChunkMessage` has no attribute `file_marker`
+ERROR Argument `object` is not assignable to parameter `obj` with type `Sized` in function `len` [bad-argument-type]
+ --> tests/unit_tests/core/variables/test_segment.py:503:20
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:504:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:505:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:512:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:513:16
ERROR Cannot set field `value` [read-only]
--> tests/unit_tests/core/variables/test_variables.py:20:9
ERROR Cannot set field `value` [read-only]
@@ -5363,47 +5377,39 @@
ERROR Could not find name `NodeType` [unknown-name]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_config.py:158:46
ERROR Cannot extend final class `DifyNodeFactory` [invalid-inheritance]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:37:23
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:38:23
ERROR Cannot set item in `dict[str, type[MockAgentNode] | type[MockCodeNode] | type[MockDocumentExtractorNode] | type[MockHttpRequestNode] | type[MockIterationNode] | type[MockKnowledgeRetrievalNode] | type[MockLLMNode] | type[MockLoopNode] | type[MockParameterExtractorNode] | type[MockQuestionClassifierNode] | type[MockTemplateTransformNode] | type[MockToolNode]]` [unsupported-operation]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:161:44
-ERROR Unexpected keyword argument `id` in function `object.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:99:13
-ERROR Unexpected keyword argument `config` in function `object.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:162:44
+ERROR Unexpected keyword argument `node_id` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:100:13
-ERROR Unexpected keyword argument `graph_init_params` in function `object.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `config` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:101:13
-ERROR Unexpected keyword argument `graph_runtime_state` in function `object.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `graph_init_params` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:102:13
+ERROR Unexpected keyword argument `graph_runtime_state` in function `object.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:103:13
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:113:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:114:56
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:128:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:129:56
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:139:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:140:56
ERROR Class member `MockKnowledgeRetrievalNode.version` overrides parent class `KnowledgeRetrievalNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:350:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:351:9
ERROR Class member `MockKnowledgeRetrievalNode._run` overrides parent class `KnowledgeRetrievalNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:354:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:355:9
ERROR Class member `MockHttpRequestNode._run` overrides parent class `HttpRequestNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:411:9
-ERROR Class member `MockQuestionClassifierNode.version` overrides parent class `QuestionClassifierNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:460:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:412:9
ERROR Class member `MockQuestionClassifierNode._run` overrides parent class `QuestionClassifierNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:464:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:465:9
ERROR Class member `MockParameterExtractorNode._run` overrides parent class `ParameterExtractorNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:512:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:513:9
ERROR Class member `MockDocumentExtractorNode._run` overrides parent class `DocumentExtractorNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:562:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:563:9
ERROR Argument `str | None` is not assignable to parameter `root_node_id` with type `str` in function `graphon.graph.graph.Graph.init` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:661:85
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:143:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:158:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:168:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:186:16
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:662:85
+ERROR Class member `MockLoopNode._create_graph_engine` overrides parent class `LoopNode` in an inconsistent manner [bad-override]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:690:9
ERROR Argument `Sequence[type[GraphEngineEvent]]` is not assignable to parameter `expected_sequence` with type `list[type[GraphEngineEvent]]` in function `TableTestRunner._validate_event_sequence` [bad-argument-type]
--> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:402:21
ERROR `graph` is uninitialized [unbound-name]
@@ -5412,20 +5418,52 @@
--> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:456:37
ERROR Argument `Iterator[Unknown]` is not assignable to parameter `messages` with type `Generator[ToolInvokeMessage]` in function `core.workflow.nodes.agent.message_transformer.AgentMessageTransformer.transform` [bad-argument-type]
--> tests/unit_tests/core/workflow/nodes/agent/test_message_transformer.py:15:26
-ERROR Argument `dict[str, dict[str, str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/answer/test_answer.py:82:16
ERROR Class member `_Version1._get_retry_config` overrides parent class `Node` in an inconsistent manner [bad-override]
--> tests/unit_tests/core/workflow/nodes/base/test_get_node_type_classes_mapping.py:53:13
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:150:44
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:157:44
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:164:45
ERROR `BaseNodeData` is not assignable to attribute `_node_data` with type `CodeNodeData` [bad-assignment]
--> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:440:27
ERROR `BaseNodeData` is not assignable to attribute `_node_data` with type `CodeNodeData` [bad-assignment]
--> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:456:27
-ERROR `dict[str, str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:83:21
ERROR Argument `_GraphParams` is not assignable to parameter `graph_init_params` with type `GraphInitParams` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:93:27
+ --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:91:27
ERROR Argument `_GraphState` is not assignable to parameter `graph_runtime_state` with type `GraphRuntimeState` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:94:29
+ --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:92:29
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:64:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:120:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:178:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:224:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:271:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:324:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:361:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:413:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:440:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:467:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:494:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:520:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:570:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:617:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:658:21
ERROR Cannot index into `object` [bad-index]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:32:15
ERROR Cannot index into `object` [bad-index]
@@ -5438,64 +5476,40 @@
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:65:12
ERROR Cannot index into `object` [bad-index]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:66:12
-ERROR Argument `dict[str, Any]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:118:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:122:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:123:35
+ERROR Argument `Response` is not assignable to parameter `response` with type `HttpResponse` in function `graphon.nodes.http_request.entities.Response.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:158:17
ERROR Object of class `NoneType` has no attribute `type` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:184:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:204:16
ERROR Object of class `NoneType` has no attribute `value` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:185:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:205:16
ERROR Object of class `NoneType` has no attribute `type` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:193:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:213:16
ERROR Object of class `NoneType` has no attribute `selector` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:194:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:214:16
ERROR Object of class `HumanInputNodeData` has no attribute `delivery_methods` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:278:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:298:20
ERROR Object of class `HumanInputNodeData` has no attribute `delivery_methods` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:301:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:321:20
ERROR Object of class `ExternalRecipient` has no attribute `reference_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:394:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:414:16
ERROR Object of class `BoundRecipient` has no attribute `email` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:395:16
-ERROR Missing argument `reference_id` in function `core.workflow.human_input_compat.BoundRecipient.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:399:28
-ERROR Unexpected keyword argument `user_id` in function `core.workflow.human_input_compat.BoundRecipient.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:399:61
-ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_compat.EmailRecipients.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:401:38
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:470:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:415:16
+ERROR Missing argument `reference_id` in function `core.workflow.human_input_adapter.BoundRecipient.__init__` [missing-argument]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:419:28
+ERROR Unexpected keyword argument `user_id` in function `core.workflow.human_input_adapter.BoundRecipient.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:419:61
+ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_adapter.EmailRecipients.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:421:38
ERROR Object of class `SchedulingPause` has no attribute `resolved_default_values` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:481:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:535:20
-ERROR Argument `dict[str, dict[str, list[dict[str, bool | dict[Unknown, Unknown] | str]] | list[dict[str, str]] | list[Unknown] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:600:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:676:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:775:20
-ERROR Argument `dict[str, dict[str, list[dict[str, str]] | list[dict[str, dict[str, str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_human_input_form_filled_event.py:85:16
-ERROR Argument `dict[str, dict[str, list[dict[str, str]] | list[dict[str, dict[str, str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_human_input_form_filled_event.py:150:16
-ERROR `dict[str, list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/iteration/test_iteration_child_engine_errors.py:50:21
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_index.knowledge_index_node.KnowledgeIndexNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:120:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:501:16
+ERROR Argument `dict[str, list[str] | str]` is not assignable to parameter `node_data` with type `KnowledgeIndexNodeData | dict[str, object]` in function `_build_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:139:23
ERROR Argument `dict[str, bool]` is not assignable to parameter `summary_index_setting` with type `SummaryIndexSettingDict | None` in function `core.workflow.nodes.knowledge_index.knowledge_index_node.KnowledgeIndexNode._invoke_knowledge_index` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:641:35
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:110:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:198:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:474:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:566:20
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:614:20
+ --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:660:35
ERROR `None` is not subscriptable [unsupported-operation]
--> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:633:16
ERROR `None` is not subscriptable [unsupported-operation]
@@ -5504,124 +5518,56 @@
--> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:635:16
ERROR `None` is not subscriptable [unsupported-operation]
--> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:636:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:675:20
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:69:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:114:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:145:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:174:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:203:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:231:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:259:43
-ERROR `dict[str, dict[str, bool | int] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:287:43
-ERROR `dict[str, dict[str, bool | int] | dict[str, bool | str] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:322:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:346:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:371:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:401:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:430:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:459:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:488:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:516:43
ERROR Argument `None` is not assignable to parameter `context` with type `str` in function `graphon.nodes.llm.llm_utils.fetch_prompt_messages` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:123:21
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:125:21
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:604:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:606:65
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:607:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:609:65
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:610:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:612:65
ERROR Argument `list[UserPromptMessage]` is not assignable to parameter `prompt_messages` with type `list[PromptMessage]` in function `graphon.nodes.llm.llm_utils._append_file_prompts` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:726:29
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:728:29
ERROR Argument `list[SystemPromptMessage]` is not assignable to parameter `prompt_messages` with type `list[PromptMessage]` in function `graphon.nodes.llm.llm_utils._append_file_prompts` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:742:29
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.llm.node.LLMNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:215:16
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:744:29
ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1224:9
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1216:9
ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1254:9
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1246:9
ERROR Argument `Iterator[LLMResultChunk | LLMStructuredOutput] | Iterator[Any]` is not assignable to parameter `invoke_result` with type `Generator[LLMResultChunk | LLMStructuredOutput] | LLMResult` in function `graphon.nodes.llm.node.LLMNode.handle_invoke_result` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1513:31
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1504:31
ERROR Argument `Generator[None, Unknown]` is not assignable to parameter `invoke_result` with type `Generator[LLMResultChunk | LLMStructuredOutput] | LLMResult` in function `graphon.nodes.llm.node.LLMNode.handle_invoke_result` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1551:31
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1541:31
ERROR Missing argument `run_context` in function `core.app.llm.model_access.DifyCredentialsProvider.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1744:32
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1733:32
ERROR Missing argument `run_context` in function `core.app.llm.model_access.DifyModelFactory.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1747:25
-ERROR `dict[str, list[Unknown] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:113:48
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1736:25
ERROR `in` is not supported between `Literal['variables']` and `object` [not-iterable]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:127:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:145:16
ERROR `in` is not supported between `Literal['template']` and `object` [not-iterable]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:128:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:146:16
ERROR Cannot index into `object` [bad-index]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:129:16
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:203:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:307:48
-ERROR `dict[str, list[Unknown] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:414:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:453:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:482:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:512:48
-ERROR `dict[str, list[@_] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/test_template_transform_node.py:43:21
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.document_extractor.node.DocumentExtractorNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_document_extractor_node.py:51:16
-ERROR Argument `dict[str, dict[str, list[dict[str, list[str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:113:16
-ERROR Argument `dict[str, dict[str, list[dict[str, list[str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:183:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:249:16
-ERROR `dict[str, list[dict[str, Any]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:341:42
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:409:21
-ERROR `dict[str, list[dict[str, list[dict[str, list[str] | str]] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:479:42
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_list_operator.py:59:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:37:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:147:16
+ERROR Argument `dict[str, list[dict[str, Any]] | str]` is not assignable to parameter `node_data` with type `IfElseNodeData | dict[str, object]` in function `_build_if_else_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/test_if_else.py:330:19
+ERROR Argument `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to parameter `node_data` with type `IfElseNodeData | dict[str, object]` in function `_build_if_else_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/test_if_else.py:395:19
+ERROR Argument `dict[str, list[dict[str, list[dict[str, list[str] | str]] | str]] | str]` is not assignable to parameter `node_data` with type `IfElseNodeData | dict[str, object]` in function `_build_if_else_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/test_if_else.py:463:19
ERROR `Literal['{invalid-json-schema']` is not assignable to attribute `json_schema` with type `dict[str, Any] | None` [bad-assignment]
- --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:211:28
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:269:16
+ --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:208:28
ERROR Returned type `VariableBase` is not assignable to declared return type `ArrayAnyVariable | ArrayBooleanVariable | ArrayFileVariable | ArrayNumberVariable | ArrayObjectVariable | ArrayStringVariable | BooleanVariable | FileVariable | FloatVariable | IntegerVariable | NoneVariable | ObjectVariable | SecretVariable | StringVariable` [bad-return]
- --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:294:12
+ --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:288:12
ERROR Object of class `ModuleType` has no attribute `TraceQueueManager` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:62:9
-ERROR Object of class `ModuleType` has no attribute `TraceTask` [missing-attribute]
--> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:63:9
-ERROR Argument `_StubToolRuntime` is not assignable to parameter `runtime` with type `ToolNodeRuntimeProtocol | None` in function `graphon.nodes.tool.tool_node.ToolNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:116:17
+ERROR Object of class `ModuleType` has no attribute `TraceTask` [missing-attribute]
+ --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:64:9
+ERROR Argument `_StubToolRuntime` is not assignable to parameter `runtime` with type `ToolNodeRuntimeProtocol` in function `graphon.nodes.tool.tool_node.ToolNode.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:117:17
ERROR Argument `Iterator[ToolRuntimeMessage] | Iterator[Any]` is not assignable to parameter `messages` with type `Generator[ToolRuntimeMessage]` in function `graphon.nodes.tool.tool_node.ToolNode._transform_message` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:132:18
-ERROR Argument `Generator[NodeEventBase, None, LLMUsage]` is not assignable to parameter `generator` with type `Generator[Unknown]` in function `_collect_events` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:138:28
+ --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:133:18
ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:220:5
+ --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:224:5
ERROR Object of class `Mo\n\n... (truncated) ... |
121e1ee to
0308395
Compare
Contributor
Pyrefly Diffbase → PR--- /tmp/pyrefly_base.txt 2026-04-17 20:43:42.658881478 +0000
+++ /tmp/pyrefly_pr.txt 2026-04-17 20:43:32.215685258 +0000
@@ -28,6 +28,12 @@
--> core/app/task_pipeline/easy_ui_based_generate_task_pipeline.py:321:29
ERROR Argument `list[Unknown]` is not assignable to parameter `value` with type `SQLCoreOperations[dict[str, Any]] | dict[str, Any]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
--> core/app/task_pipeline/easy_ui_based_generate_task_pipeline.py:388:27
+ERROR Returned type `Response` is not assignable to declared return type `HttpResponseProtocol` [bad-return]
+ --> core/app/workflow/file_runtime.py:46:16
+ERROR Argument `bool | str` is not assignable to parameter `token` with type `str` in function `core.helper.encrypter.encrypt_token` [bad-argument-type]
+ --> core/entities/provider_configuration.py:367:86
+ERROR Argument `bool | str` is not assignable to parameter `token` with type `str` in function `core.helper.encrypter.encrypt_token` [bad-argument-type]
+ --> core/entities/provider_configuration.py:916:86
ERROR No matching overload found for function `core.model_manager.ModelInstance.invoke_llm` called with arguments: (prompt_messages=list[UserPromptMessage], model_parameters=dict[str, int], stream=Literal[False]) [no-matching-overload]
--> core/llm_generator/llm_generator.py:85:60
ERROR No matching overload found for function `core.model_manager.ModelInstance.invoke_llm` called with arguments: (prompt_messages=list[UserPromptMessage], model_parameters=dict[str, float | int], stream=Literal[False]) [no-matching-overload]
@@ -108,10 +114,22 @@
--> core/tools/mcp_tool/provider.py:33:14
ERROR Class member `PluginToolProviderController.entity` overrides parent class `BuiltinToolProviderController` in an inconsistent manner [bad-override]
--> core/tools/plugin_tool/provider.py:12:5
+ERROR Argument `bool | dict[str, Any] | float | int | list[str] | list[Any] | str | None` is not assignable to parameter `selector` with type `Sequence[str]` in function `graphon.runtime.variable_pool.VariablePool.get` [bad-argument-type]
+ --> core/tools/tool_manager.py:1085:54
ERROR `(method: str, url: str, max_retries: int = ..., **kwargs: Any) -> httpx._models.Response` is not assignable to attribute `perform_request` with type `(self: CloudScraper, method: Unknown, url: Unknown, *args: Unknown, **kwargs: Unknown) -> requests.models.Response` [bad-assignment]
--> core/tools/utils/web_reader_tool.py:66:35
ERROR `list[Never]` is not assignable to attribute `tools` with type `Never` [bad-assignment]
--> core/tools/workflow_as_tool/provider.py:238:26
+ERROR Argument `Any | None` is not assignable to parameter `value` with type `str` in function `graphon.file.enums.FileTransferMethod.value_of` [bad-argument-type]
+ --> core/tools/workflow_as_tool/tool.py:360:55
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `core.workflow.node_runtime.build_dify_llm_file_saver` [bad-argument-type]
+ --> core/workflow/node_factory.py:324:25
+ERROR Class member `DifyPreparedLLM.invoke_llm` overrides parent class `PreparedLLMProtocol` in an inconsistent manner [bad-override]
+ --> core/workflow/node_runtime.py:176:9
+ERROR Class member `DifyPreparedLLM.invoke_llm_with_structured_output` overrides parent class `PreparedLLMProtocol` in an inconsistent manner [bad-override]
+ --> core/workflow/node_runtime.py:193:9
+ERROR Argument `Sequence[str] | float | int | list[Unknown] | object | str | None` is not assignable to parameter `value` with type `Decimal | Iterable[LaxStr] | bool | bytearray | bytes | float | int | str | None` in function `core.rag.entities.metadata_entities.Condition.__init__` [bad-argument-type]
+ --> core/workflow/nodes/knowledge_retrieval/knowledge_retrieval_node.py:306:27
ERROR Cannot index into `Literal['']` [bad-index]
--> extensions/storage/huawei_obs_storage.py:27:23
ERROR Cannot index into `Literal['']` [bad-index]
@@ -810,6 +828,8 @@
--> services/hit_testing_service.py:92:28
ERROR Argument `RetrievalMethod | bool | dict[str, str] | int | Any | None` is not assignable to parameter `weights` with type `WeightsDict | None` in function `core.rag.datasource.retrieval_service.RetrievalService.retrieve` [bad-argument-type]
--> services/hit_testing_service.py:93:21
+ERROR Argument `bool | str | Any` is not assignable to parameter `token` with type `str` in function `core.helper.encrypter.encrypt_token` [bad-argument-type]
+ --> services/model_load_balancing_service.py:623:71
ERROR `handled_tenant_count` was assigned in the current scope before the nonlocal declaration [unknown-name]
--> services/plugin/plugin_migration.py:92:34
ERROR `dict[str, Any]` is not assignable to attribute `credentials` with type `Never` [bad-assignment]
@@ -830,12 +850,10 @@
--> tests/integration_tests/controllers/console/app/test_feedback_export_api.py:32:22
ERROR Argument `Literal['normal']` is not assignable to parameter `value` with type `AppStatus | SQLCoreOperations[AppStatus]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
--> tests/integration_tests/controllers/console/app/test_model_config_permissions.py:28:22
-ERROR `dict[str, str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:75:21
ERROR Argument `_GP` is not assignable to parameter `graph_init_params` with type `GraphInitParams` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:85:27
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:83:27
ERROR Argument `_GS` is not assignable to parameter `graph_runtime_state` with type `GraphRuntimeState` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:86:29
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:84:29
ERROR Could not import `Overflow` from `libs.broadcast_channel.channel` [missing-module-attribute]
--> tests/integration_tests/libs/broadcast_channel/redis/utils/test_data.py:11:44
ERROR `unpatch` may be uninitialized [unbound-name]
@@ -856,26 +874,18 @@
--> tests/integration_tests/services/test_workflow_draft_variable_service.py:651:21
ERROR Object of class `TestWorkflowDraftVariableServiceResetVariable` has no attribute `_test_user_id` [missing-attribute]
--> tests/integration_tests/services/test_workflow_draft_variable_service.py:817:21
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.code.code_node.CodeNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_code.py:68:16
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_http.py:79:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:83:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/integration_tests/workflow/nodes/test_http.py:84:35
-ERROR Argument `dict[str, dict[str, dict[str, dict[str, str] | str] | str | Unknown | None] | str] | dict[str, dict[str, str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_http.py:727:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:242:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:731:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/integration_tests/workflow/nodes/test_http.py:732:35
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.llm.node.LLMNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_llm.py:79:16
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.parameter_extractor.parameter_extractor_node.ParameterExtractorNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_parameter_extractor.py:73:16
-ERROR Argument `dict[str, dict[str, list[dict[str, list[str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.template_transform.template_transform_node.TemplateTransformNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_template_transform.py:90:16
ERROR Argument `_SimpleJinja2Renderer` is not assignable to parameter `jinja2_template_renderer` with type `Jinja2TemplateRenderer` in function `graphon.nodes.template_transform.template_transform_node.TemplateTransformNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_template_transform.py:93:34
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.tool.tool_node.ToolNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_tool.py:64:16
+ --> tests/integration_tests/workflow/nodes/test_template_transform.py:94:34
ERROR `dict[str, str | None]` is not assignable to attribute `env` with type `dict[str, str]` [bad-assignment]
--> tests/test_containers_integration_tests/conftest.py:204:39
ERROR Argument value `Literal[0]` violates Pydantic `ge` constraint `Literal[1]` for field `page` [bad-argument-type]
@@ -994,12 +1004,6 @@
--> tests/test_containers_integration_tests/core/rag/retrieval/test_dataset_retrieval_integration.py:574:23
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
--> tests/test_containers_integration_tests/core/rag/retrieval/test_dataset_retrieval_integration.py:584:23
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:105:40
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:120:40
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:134:38
ERROR Argument `Connection | Engine` is not assignable to parameter `session_factory` with type `Engine | sessionmaker[Unknown]` in function `core.repositories.sqlalchemy_workflow_execution_repository.SQLAlchemyWorkflowExecutionRepository.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:264:29
ERROR Argument `Connection | Engine` is not assignable to parameter `session_factory` with type `Engine | sessionmaker[Unknown]` in function `core.repositories.sqlalchemy_workflow_node_execution_repository.SQLAlchemyWorkflowNodeExecutionRepository.__init__` [bad-argument-type]
@@ -1356,7 +1360,7 @@
--> tests/test_containers_integration_tests/services/test_file_service.py:78:20
ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_human_input_delivery_test.py:32:18
-ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_compat.EmailRecipients.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_adapter.EmailRecipients.__init__` [unexpected-keyword]
--> tests/test_containers_integration_tests/services/test_human_input_delivery_test_service.py:239:44
ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_message_export_service.py:53:20
@@ -3263,43 +3267,43 @@
ERROR Object of class `ModuleType` has no attribute `TraceQueueManager` [missing-attribute]
--> tests/unit_tests/core/app/apps/test_pause_resume.py:42:5
ERROR Class member `_StubToolNode._run` overrides parent class `Node` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:79:9
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:92:9
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:220:19
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:226:19
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow` with type `Workflow` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:221:18
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:227:18
ERROR Argument `SimpleNamespace` is not assignable to parameter `user` with type `Account | EndUser` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:222:14
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:228:14
ERROR Argument `SimpleNamespace` is not assignable to parameter `application_generate_entity` with type `WorkflowAppGenerateEntity` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:223:37
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:37
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_execution_repository` with type `WorkflowExecutionRepository` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:225:39
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:231:39
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_node_execution_repository` with type `WorkflowNodeExecutionRepository` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:226:44
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:232:44
ERROR `+` is not supported between `list[str]` and `Generator[Mapping[str, Any] | str]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:235:12
ERROR `+` is not supported between `list[str]` and `Mapping[str, Any]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:235:12
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:260:19
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:266:19
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow` with type `Workflow` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:261:18
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:267:18
ERROR Argument `SimpleNamespace` is not assignable to parameter `user` with type `Account | EndUser` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:262:14
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:268:14
ERROR Argument `SimpleNamespace` is not assignable to parameter `conversation` with type `Conversation` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:263:22
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:269:22
ERROR Argument `SimpleNamespace` is not assignable to parameter `message` with type `Message` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:264:17
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:270:17
ERROR Argument `SimpleNamespace` is not assignable to parameter `application_generate_entity` with type `AdvancedChatAppGenerateEntity` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:265:37
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:37
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_execution_repository` with type `WorkflowExecutionRepository` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:266:39
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:272:39
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_node_execution_repository` with type `WorkflowNodeExecutionRepository` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:267:44
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:273:44
ERROR `+` is not supported between `list[str]` and `Generator[Mapping[str, Any] | str]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:277:12
ERROR `+` is not supported between `list[str]` and `Mapping[str, Any]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:277:12
ERROR Cannot index into `str` [bad-index]
--> tests/unit_tests/core/app/apps/test_streaming_utils.py:79:12
ERROR Argument `FakeTopic` is not assignable to parameter `topic` with type `Topic` in function `core.app.apps.streaming_utils.stream_topic_events` [bad-argument-type]
@@ -3972,8 +3976,8 @@
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:174:16
ERROR Object of class `object` has no attribute `total_steps` [missing-attribute]
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:175:16
-ERROR `SimpleNamespace` is not assignable to attribute `_graph_execution` with type `GraphExecutionProtocol | None` [bad-assignment]
- --> tests/unit_tests/core/app/workflow/test_persistence_layer.py:182:42
+ERROR Object of class `GraphRuntimeState` has no attribute `_graph_execution` [missing-attribute]
+ --> tests/unit_tests/core/app/workflow/test_persistence_layer.py:182:9
ERROR Object of class `object` has no attribute `status` [missing-attribute]
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:189:16
ERROR Object of class `object` has no attribute `exceptions_count` [missing-attribute]
@@ -5334,6 +5338,16 @@
ERROR Object of class `BlobChunkMessage` has no attribute `variable_value`
ERROR Object of class `BlobChunkMessage` has no attribute `stream`
ERROR Object of class `BlobChunkMessage` has no attribute `file_marker`
+ERROR Argument `object` is not assignable to parameter `obj` with type `Sized` in function `len` [bad-argument-type]
+ --> tests/unit_tests/core/variables/test_segment.py:503:20
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:504:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:505:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:512:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:513:16
ERROR Cannot set field `value` [read-only]
--> tests/unit_tests/core/variables/test_variables.py:20:9
ERROR Cannot set field `value` [read-only]
@@ -5363,47 +5377,39 @@
ERROR Could not find name `NodeType` [unknown-name]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_config.py:158:46
ERROR Cannot extend final class `DifyNodeFactory` [invalid-inheritance]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:37:23
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:38:23
ERROR Cannot set item in `dict[str, type[MockAgentNode] | type[MockCodeNode] | type[MockDocumentExtractorNode] | type[MockHttpRequestNode] | type[MockIterationNode] | type[MockKnowledgeRetrievalNode] | type[MockLLMNode] | type[MockLoopNode] | type[MockParameterExtractorNode] | type[MockQuestionClassifierNode] | type[MockTemplateTransformNode] | type[MockToolNode]]` [unsupported-operation]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:161:44
-ERROR Unexpected keyword argument `id` in function `object.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:99:13
-ERROR Unexpected keyword argument `config` in function `object.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:162:44
+ERROR Unexpected keyword argument `node_id` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:100:13
-ERROR Unexpected keyword argument `graph_init_params` in function `object.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `config` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:101:13
-ERROR Unexpected keyword argument `graph_runtime_state` in function `object.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `graph_init_params` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:102:13
+ERROR Unexpected keyword argument `graph_runtime_state` in function `object.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:103:13
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:113:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:114:56
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:128:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:129:56
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:139:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:140:56
ERROR Class member `MockKnowledgeRetrievalNode.version` overrides parent class `KnowledgeRetrievalNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:350:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:351:9
ERROR Class member `MockKnowledgeRetrievalNode._run` overrides parent class `KnowledgeRetrievalNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:354:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:355:9
ERROR Class member `MockHttpRequestNode._run` overrides parent class `HttpRequestNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:411:9
-ERROR Class member `MockQuestionClassifierNode.version` overrides parent class `QuestionClassifierNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:460:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:412:9
ERROR Class member `MockQuestionClassifierNode._run` overrides parent class `QuestionClassifierNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:464:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:465:9
ERROR Class member `MockParameterExtractorNode._run` overrides parent class `ParameterExtractorNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:512:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:513:9
ERROR Class member `MockDocumentExtractorNode._run` overrides parent class `DocumentExtractorNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:562:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:563:9
ERROR Argument `str | None` is not assignable to parameter `root_node_id` with type `str` in function `graphon.graph.graph.Graph.init` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:661:85
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:143:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:158:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:168:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:186:16
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:662:85
+ERROR Class member `MockLoopNode._create_graph_engine` overrides parent class `LoopNode` in an inconsistent manner [bad-override]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:690:9
ERROR Argument `Sequence[type[GraphEngineEvent]]` is not assignable to parameter `expected_sequence` with type `list[type[GraphEngineEvent]]` in function `TableTestRunner._validate_event_sequence` [bad-argument-type]
--> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:402:21
ERROR `graph` is uninitialized [unbound-name]
@@ -5412,20 +5418,52 @@
--> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:456:37
ERROR Argument `Iterator[Unknown]` is not assignable to parameter `messages` with type `Generator[ToolInvokeMessage]` in function `core.workflow.nodes.agent.message_transformer.AgentMessageTransformer.transform` [bad-argument-type]
--> tests/unit_tests/core/workflow/nodes/agent/test_message_transformer.py:15:26
-ERROR Argument `dict[str, dict[str, str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/answer/test_answer.py:82:16
ERROR Class member `_Version1._get_retry_config` overrides parent class `Node` in an inconsistent manner [bad-override]
--> tests/unit_tests/core/workflow/nodes/base/test_get_node_type_classes_mapping.py:53:13
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:150:44
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:157:44
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:164:45
ERROR `BaseNodeData` is not assignable to attribute `_node_data` with type `CodeNodeData` [bad-assignment]
--> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:440:27
ERROR `BaseNodeData` is not assignable to attribute `_node_data` with type `CodeNodeData` [bad-assignment]
--> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:456:27
-ERROR `dict[str, str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:83:21
ERROR Argument `_GraphParams` is not assignable to parameter `graph_init_params` with type `GraphInitParams` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:93:27
+ --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:91:27
ERROR Argument `_GraphState` is not assignable to parameter `graph_runtime_state` with type `GraphRuntimeState` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:94:29
+ --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:92:29
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:64:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:120:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:178:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:224:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:271:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:324:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:361:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:413:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:440:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:467:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:494:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:520:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:570:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:617:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:658:21
ERROR Cannot index into `object` [bad-index]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:32:15
ERROR Cannot index into `object` [bad-index]
@@ -5438,64 +5476,40 @@
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:65:12
ERROR Cannot index into `object` [bad-index]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:66:12
-ERROR Argument `dict[str, Any]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:118:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:122:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:123:35
+ERROR Argument `Response` is not assignable to parameter `response` with type `HttpResponse` in function `graphon.nodes.http_request.entities.Response.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:158:17
ERROR Object of class `NoneType` has no attribute `type` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:184:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:204:16
ERROR Object of class `NoneType` has no attribute `value` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:185:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:205:16
ERROR Object of class `NoneType` has no attribute `type` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:193:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:213:16
ERROR Object of class `NoneType` has no attribute `selector` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:194:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:214:16
ERROR Object of class `HumanInputNodeData` has no attribute `delivery_methods` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:278:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:298:20
ERROR Object of class `HumanInputNodeData` has no attribute `delivery_methods` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:301:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:321:20
ERROR Object of class `ExternalRecipient` has no attribute `reference_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:394:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:414:16
ERROR Object of class `BoundRecipient` has no attribute `email` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:395:16
-ERROR Missing argument `reference_id` in function `core.workflow.human_input_compat.BoundRecipient.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:399:28
-ERROR Unexpected keyword argument `user_id` in function `core.workflow.human_input_compat.BoundRecipient.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:399:61
-ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_compat.EmailRecipients.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:401:38
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:470:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:415:16
+ERROR Missing argument `reference_id` in function `core.workflow.human_input_adapter.BoundRecipient.__init__` [missing-argument]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:419:28
+ERROR Unexpected keyword argument `user_id` in function `core.workflow.human_input_adapter.BoundRecipient.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:419:61
+ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_adapter.EmailRecipients.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:421:38
ERROR Object of class `SchedulingPause` has no attribute `resolved_default_values` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:481:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:535:20
-ERROR Argument `dict[str, dict[str, list[dict[str, bool | dict[Unknown, Unknown] | str]] | list[dict[str, str]] | list[Unknown] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:600:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:676:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:775:20
-ERROR Argument `dict[str, dict[str, list[dict[str, str]] | list[dict[str, dict[str, str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_human_input_form_filled_event.py:85:16
-ERROR Argument `dict[str, dict[str, list[dict[str, str]] | list[dict[str, dict[str, str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_human_input_form_filled_event.py:150:16
-ERROR `dict[str, list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/iteration/test_iteration_child_engine_errors.py:50:21
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_index.knowledge_index_node.KnowledgeIndexNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:120:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:501:16
+ERROR Argument `dict[str, list[str] | str]` is not assignable to parameter `node_data` with type `KnowledgeIndexNodeData | dict[str, object]` in function `_build_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:139:23
ERROR Argument `dict[str, bool]` is not assignable to parameter `summary_index_setting` with type `SummaryIndexSettingDict | None` in function `core.workflow.nodes.knowledge_index.knowledge_index_node.KnowledgeIndexNode._invoke_knowledge_index` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:641:35
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:110:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:198:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:474:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:566:20
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:614:20
+ --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:660:35
ERROR `None` is not subscriptable [unsupported-operation]
--> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:633:16
ERROR `None` is not subscriptable [unsupported-operation]
@@ -5504,124 +5518,56 @@
--> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:635:16
ERROR `None` is not subscriptable [unsupported-operation]
--> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:636:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:675:20
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:69:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:114:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:145:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:174:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:203:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:231:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:259:43
-ERROR `dict[str, dict[str, bool | int] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:287:43
-ERROR `dict[str, dict[str, bool | int] | dict[str, bool | str] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:322:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:346:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:371:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:401:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:430:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:459:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:488:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:516:43
ERROR Argument `None` is not assignable to parameter `context` with type `str` in function `graphon.nodes.llm.llm_utils.fetch_prompt_messages` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:123:21
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:125:21
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:604:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:606:65
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:607:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:609:65
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:610:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:612:65
ERROR Argument `list[UserPromptMessage]` is not assignable to parameter `prompt_messages` with type `list[PromptMessage]` in function `graphon.nodes.llm.llm_utils._append_file_prompts` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:726:29
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:728:29
ERROR Argument `list[SystemPromptMessage]` is not assignable to parameter `prompt_messages` with type `list[PromptMessage]` in function `graphon.nodes.llm.llm_utils._append_file_prompts` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:742:29
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.llm.node.LLMNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:215:16
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:744:29
ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1224:9
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1216:9
ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1254:9
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1246:9
ERROR Argument `Iterator[LLMResultChunk | LLMStructuredOutput] | Iterator[Any]` is not assignable to parameter `invoke_result` with type `Generator[LLMResultChunk | LLMStructuredOutput] | LLMResult` in function `graphon.nodes.llm.node.LLMNode.handle_invoke_result` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1513:31
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1504:31
ERROR Argument `Generator[None, Unknown]` is not assignable to parameter `invoke_result` with type `Generator[LLMResultChunk | LLMStructuredOutput] | LLMResult` in function `graphon.nodes.llm.node.LLMNode.handle_invoke_result` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1551:31
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1541:31
ERROR Missing argument `run_context` in function `core.app.llm.model_access.DifyCredentialsProvider.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1744:32
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1733:32
ERROR Missing argument `run_context` in function `core.app.llm.model_access.DifyModelFactory.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1747:25
-ERROR `dict[str, list[Unknown] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:113:48
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1736:25
ERROR `in` is not supported between `Literal['variables']` and `object` [not-iterable]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:127:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:145:16
ERROR `in` is not supported between `Literal['template']` and `object` [not-iterable]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:128:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:146:16
ERROR Cannot index into `object` [bad-index]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:129:16
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:203:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:307:48
-ERROR `dict[str, list[Unknown] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:414:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:453:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:482:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:512:48
-ERROR `dict[str, list[@_] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/test_template_transform_node.py:43:21
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.document_extractor.node.DocumentExtractorNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_document_extractor_node.py:51:16
-ERROR Argument `dict[str, dict[str, list[dict[str, list[str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:113:16
-ERROR Argument `dict[str, dict[str, list[dict[str, list[str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:183:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:249:16
-ERROR `dict[str, list[dict[str, Any]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:341:42
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:409:21
-ERROR `dict[str, list[dict[str, list[dict[str, list[str] | str]] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:479:42
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_list_operator.py:59:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:37:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:147:16
+ERROR Argument `dict[str, list[dict[str, Any]] | str]` is not assignable to parameter `node_data` with type `IfElseNodeData | dict[str, object]` in function `_build_if_else_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/test_if_else.py:330:19
+ERROR Argument `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to parameter `node_data` with type `IfElseNodeData | dict[str, object]` in function `_build_if_else_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/test_if_else.py:395:19
+ERROR Argument `dict[str, list[dict[str, list[dict[str, list[str] | str]] | str]] | str]` is not assignable to parameter `node_data` with type `IfElseNodeData | dict[str, object]` in function `_build_if_else_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/test_if_else.py:463:19
ERROR `Literal['{invalid-json-schema']` is not assignable to attribute `json_schema` with type `dict[str, Any] | None` [bad-assignment]
- --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:211:28
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:269:16
+ --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:208:28
ERROR Returned type `VariableBase` is not assignable to declared return type `ArrayAnyVariable | ArrayBooleanVariable | ArrayFileVariable | ArrayNumberVariable | ArrayObjectVariable | ArrayStringVariable | BooleanVariable | FileVariable | FloatVariable | IntegerVariable | NoneVariable | ObjectVariable | SecretVariable | StringVariable` [bad-return]
- --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:294:12
+ --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:288:12
ERROR Object of class `ModuleType` has no attribute `TraceQueueManager` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:62:9
-ERROR Object of class `ModuleType` has no attribute `TraceTask` [missing-attribute]
--> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:63:9
-ERROR Argument `_StubToolRuntime` is not assignable to parameter `runtime` with type `ToolNodeRuntimeProtocol | None` in function `graphon.nodes.tool.tool_node.ToolNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:116:17
+ERROR Object of class `ModuleType` has no attribute `TraceTask` [missing-attribute]
+ --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:64:9
+ERROR Argument `_StubToolRuntime` is not assignable to parameter `runtime` with type `ToolNodeRuntimeProtocol` in function `graphon.nodes.tool.tool_node.ToolNode.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:117:17
ERROR Argument `Iterator[ToolRuntimeMessage] | Iterator[Any]` is not assignable to parameter `messages` with type `Generator[ToolRuntimeMessage]` in function `graphon.nodes.tool.tool_node.ToolNode._transform_message` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:132:18
-ERROR Argument `Generator[NodeEventBase, None, LLMUsage]` is not assignable to parameter `generator` with type `Generator[Unknown]` in function `_collect_events` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:138:28
+ --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:133:18
ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:220:5
+ --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:224:5
... (truncated) ... |
Contributor
Pyrefly Diffbase → PR--- /tmp/pyrefly_base.txt 2026-04-17 20:43:42.658881478 +0000
+++ /tmp/pyrefly_pr.txt 2026-04-17 20:43:32.215685258 +0000
@@ -28,6 +28,12 @@
--> core/app/task_pipeline/easy_ui_based_generate_task_pipeline.py:321:29
ERROR Argument `list[Unknown]` is not assignable to parameter `value` with type `SQLCoreOperations[dict[str, Any]] | dict[str, Any]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
--> core/app/task_pipeline/easy_ui_based_generate_task_pipeline.py:388:27
+ERROR Returned type `Response` is not assignable to declared return type `HttpResponseProtocol` [bad-return]
+ --> core/app/workflow/file_runtime.py:46:16
+ERROR Argument `bool | str` is not assignable to parameter `token` with type `str` in function `core.helper.encrypter.encrypt_token` [bad-argument-type]
+ --> core/entities/provider_configuration.py:367:86
+ERROR Argument `bool | str` is not assignable to parameter `token` with type `str` in function `core.helper.encrypter.encrypt_token` [bad-argument-type]
+ --> core/entities/provider_configuration.py:916:86
ERROR No matching overload found for function `core.model_manager.ModelInstance.invoke_llm` called with arguments: (prompt_messages=list[UserPromptMessage], model_parameters=dict[str, int], stream=Literal[False]) [no-matching-overload]
--> core/llm_generator/llm_generator.py:85:60
ERROR No matching overload found for function `core.model_manager.ModelInstance.invoke_llm` called with arguments: (prompt_messages=list[UserPromptMessage], model_parameters=dict[str, float | int], stream=Literal[False]) [no-matching-overload]
@@ -108,10 +114,22 @@
--> core/tools/mcp_tool/provider.py:33:14
ERROR Class member `PluginToolProviderController.entity` overrides parent class `BuiltinToolProviderController` in an inconsistent manner [bad-override]
--> core/tools/plugin_tool/provider.py:12:5
+ERROR Argument `bool | dict[str, Any] | float | int | list[str] | list[Any] | str | None` is not assignable to parameter `selector` with type `Sequence[str]` in function `graphon.runtime.variable_pool.VariablePool.get` [bad-argument-type]
+ --> core/tools/tool_manager.py:1085:54
ERROR `(method: str, url: str, max_retries: int = ..., **kwargs: Any) -> httpx._models.Response` is not assignable to attribute `perform_request` with type `(self: CloudScraper, method: Unknown, url: Unknown, *args: Unknown, **kwargs: Unknown) -> requests.models.Response` [bad-assignment]
--> core/tools/utils/web_reader_tool.py:66:35
ERROR `list[Never]` is not assignable to attribute `tools` with type `Never` [bad-assignment]
--> core/tools/workflow_as_tool/provider.py:238:26
+ERROR Argument `Any | None` is not assignable to parameter `value` with type `str` in function `graphon.file.enums.FileTransferMethod.value_of` [bad-argument-type]
+ --> core/tools/workflow_as_tool/tool.py:360:55
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `core.workflow.node_runtime.build_dify_llm_file_saver` [bad-argument-type]
+ --> core/workflow/node_factory.py:324:25
+ERROR Class member `DifyPreparedLLM.invoke_llm` overrides parent class `PreparedLLMProtocol` in an inconsistent manner [bad-override]
+ --> core/workflow/node_runtime.py:176:9
+ERROR Class member `DifyPreparedLLM.invoke_llm_with_structured_output` overrides parent class `PreparedLLMProtocol` in an inconsistent manner [bad-override]
+ --> core/workflow/node_runtime.py:193:9
+ERROR Argument `Sequence[str] | float | int | list[Unknown] | object | str | None` is not assignable to parameter `value` with type `Decimal | Iterable[LaxStr] | bool | bytearray | bytes | float | int | str | None` in function `core.rag.entities.metadata_entities.Condition.__init__` [bad-argument-type]
+ --> core/workflow/nodes/knowledge_retrieval/knowledge_retrieval_node.py:306:27
ERROR Cannot index into `Literal['']` [bad-index]
--> extensions/storage/huawei_obs_storage.py:27:23
ERROR Cannot index into `Literal['']` [bad-index]
@@ -810,6 +828,8 @@
--> services/hit_testing_service.py:92:28
ERROR Argument `RetrievalMethod | bool | dict[str, str] | int | Any | None` is not assignable to parameter `weights` with type `WeightsDict | None` in function `core.rag.datasource.retrieval_service.RetrievalService.retrieve` [bad-argument-type]
--> services/hit_testing_service.py:93:21
+ERROR Argument `bool | str | Any` is not assignable to parameter `token` with type `str` in function `core.helper.encrypter.encrypt_token` [bad-argument-type]
+ --> services/model_load_balancing_service.py:623:71
ERROR `handled_tenant_count` was assigned in the current scope before the nonlocal declaration [unknown-name]
--> services/plugin/plugin_migration.py:92:34
ERROR `dict[str, Any]` is not assignable to attribute `credentials` with type `Never` [bad-assignment]
@@ -830,12 +850,10 @@
--> tests/integration_tests/controllers/console/app/test_feedback_export_api.py:32:22
ERROR Argument `Literal['normal']` is not assignable to parameter `value` with type `AppStatus | SQLCoreOperations[AppStatus]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
--> tests/integration_tests/controllers/console/app/test_model_config_permissions.py:28:22
-ERROR `dict[str, str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:75:21
ERROR Argument `_GP` is not assignable to parameter `graph_init_params` with type `GraphInitParams` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:85:27
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:83:27
ERROR Argument `_GS` is not assignable to parameter `graph_runtime_state` with type `GraphRuntimeState` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:86:29
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:84:29
ERROR Could not import `Overflow` from `libs.broadcast_channel.channel` [missing-module-attribute]
--> tests/integration_tests/libs/broadcast_channel/redis/utils/test_data.py:11:44
ERROR `unpatch` may be uninitialized [unbound-name]
@@ -856,26 +874,18 @@
--> tests/integration_tests/services/test_workflow_draft_variable_service.py:651:21
ERROR Object of class `TestWorkflowDraftVariableServiceResetVariable` has no attribute `_test_user_id` [missing-attribute]
--> tests/integration_tests/services/test_workflow_draft_variable_service.py:817:21
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.code.code_node.CodeNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_code.py:68:16
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_http.py:79:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:83:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/integration_tests/workflow/nodes/test_http.py:84:35
-ERROR Argument `dict[str, dict[str, dict[str, dict[str, str] | str] | str | Unknown | None] | str] | dict[str, dict[str, str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_http.py:727:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:242:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:731:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/integration_tests/workflow/nodes/test_http.py:732:35
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.llm.node.LLMNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_llm.py:79:16
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.parameter_extractor.parameter_extractor_node.ParameterExtractorNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_parameter_extractor.py:73:16
-ERROR Argument `dict[str, dict[str, list[dict[str, list[str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.template_transform.template_transform_node.TemplateTransformNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_template_transform.py:90:16
ERROR Argument `_SimpleJinja2Renderer` is not assignable to parameter `jinja2_template_renderer` with type `Jinja2TemplateRenderer` in function `graphon.nodes.template_transform.template_transform_node.TemplateTransformNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_template_transform.py:93:34
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.tool.tool_node.ToolNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_tool.py:64:16
+ --> tests/integration_tests/workflow/nodes/test_template_transform.py:94:34
ERROR `dict[str, str | None]` is not assignable to attribute `env` with type `dict[str, str]` [bad-assignment]
--> tests/test_containers_integration_tests/conftest.py:204:39
ERROR Argument value `Literal[0]` violates Pydantic `ge` constraint `Literal[1]` for field `page` [bad-argument-type]
@@ -994,12 +1004,6 @@
--> tests/test_containers_integration_tests/core/rag/retrieval/test_dataset_retrieval_integration.py:574:23
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
--> tests/test_containers_integration_tests/core/rag/retrieval/test_dataset_retrieval_integration.py:584:23
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:105:40
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:120:40
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:134:38
ERROR Argument `Connection | Engine` is not assignable to parameter `session_factory` with type `Engine | sessionmaker[Unknown]` in function `core.repositories.sqlalchemy_workflow_execution_repository.SQLAlchemyWorkflowExecutionRepository.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:264:29
ERROR Argument `Connection | Engine` is not assignable to parameter `session_factory` with type `Engine | sessionmaker[Unknown]` in function `core.repositories.sqlalchemy_workflow_node_execution_repository.SQLAlchemyWorkflowNodeExecutionRepository.__init__` [bad-argument-type]
@@ -1356,7 +1360,7 @@
--> tests/test_containers_integration_tests/services/test_file_service.py:78:20
ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_human_input_delivery_test.py:32:18
-ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_compat.EmailRecipients.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_adapter.EmailRecipients.__init__` [unexpected-keyword]
--> tests/test_containers_integration_tests/services/test_human_input_delivery_test_service.py:239:44
ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_message_export_service.py:53:20
@@ -3263,43 +3267,43 @@
ERROR Object of class `ModuleType` has no attribute `TraceQueueManager` [missing-attribute]
--> tests/unit_tests/core/app/apps/test_pause_resume.py:42:5
ERROR Class member `_StubToolNode._run` overrides parent class `Node` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:79:9
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:92:9
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:220:19
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:226:19
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow` with type `Workflow` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:221:18
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:227:18
ERROR Argument `SimpleNamespace` is not assignable to parameter `user` with type `Account | EndUser` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:222:14
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:228:14
ERROR Argument `SimpleNamespace` is not assignable to parameter `application_generate_entity` with type `WorkflowAppGenerateEntity` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:223:37
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:37
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_execution_repository` with type `WorkflowExecutionRepository` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:225:39
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:231:39
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_node_execution_repository` with type `WorkflowNodeExecutionRepository` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:226:44
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:232:44
ERROR `+` is not supported between `list[str]` and `Generator[Mapping[str, Any] | str]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:235:12
ERROR `+` is not supported between `list[str]` and `Mapping[str, Any]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:235:12
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:260:19
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:266:19
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow` with type `Workflow` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:261:18
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:267:18
ERROR Argument `SimpleNamespace` is not assignable to parameter `user` with type `Account | EndUser` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:262:14
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:268:14
ERROR Argument `SimpleNamespace` is not assignable to parameter `conversation` with type `Conversation` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:263:22
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:269:22
ERROR Argument `SimpleNamespace` is not assignable to parameter `message` with type `Message` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:264:17
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:270:17
ERROR Argument `SimpleNamespace` is not assignable to parameter `application_generate_entity` with type `AdvancedChatAppGenerateEntity` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:265:37
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:37
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_execution_repository` with type `WorkflowExecutionRepository` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:266:39
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:272:39
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_node_execution_repository` with type `WorkflowNodeExecutionRepository` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:267:44
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:273:44
ERROR `+` is not supported between `list[str]` and `Generator[Mapping[str, Any] | str]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:277:12
ERROR `+` is not supported between `list[str]` and `Mapping[str, Any]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:277:12
ERROR Cannot index into `str` [bad-index]
--> tests/unit_tests/core/app/apps/test_streaming_utils.py:79:12
ERROR Argument `FakeTopic` is not assignable to parameter `topic` with type `Topic` in function `core.app.apps.streaming_utils.stream_topic_events` [bad-argument-type]
@@ -3972,8 +3976,8 @@
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:174:16
ERROR Object of class `object` has no attribute `total_steps` [missing-attribute]
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:175:16
-ERROR `SimpleNamespace` is not assignable to attribute `_graph_execution` with type `GraphExecutionProtocol | None` [bad-assignment]
- --> tests/unit_tests/core/app/workflow/test_persistence_layer.py:182:42
+ERROR Object of class `GraphRuntimeState` has no attribute `_graph_execution` [missing-attribute]
+ --> tests/unit_tests/core/app/workflow/test_persistence_layer.py:182:9
ERROR Object of class `object` has no attribute `status` [missing-attribute]
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:189:16
ERROR Object of class `object` has no attribute `exceptions_count` [missing-attribute]
@@ -5334,6 +5338,16 @@
ERROR Object of class `BlobChunkMessage` has no attribute `variable_value`
ERROR Object of class `BlobChunkMessage` has no attribute `stream`
ERROR Object of class `BlobChunkMessage` has no attribute `file_marker`
+ERROR Argument `object` is not assignable to parameter `obj` with type `Sized` in function `len` [bad-argument-type]
+ --> tests/unit_tests/core/variables/test_segment.py:503:20
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:504:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:505:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:512:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:513:16
ERROR Cannot set field `value` [read-only]
--> tests/unit_tests/core/variables/test_variables.py:20:9
ERROR Cannot set field `value` [read-only]
@@ -5363,47 +5377,39 @@
ERROR Could not find name `NodeType` [unknown-name]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_config.py:158:46
ERROR Cannot extend final class `DifyNodeFactory` [invalid-inheritance]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:37:23
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:38:23
ERROR Cannot set item in `dict[str, type[MockAgentNode] | type[MockCodeNode] | type[MockDocumentExtractorNode] | type[MockHttpRequestNode] | type[MockIterationNode] | type[MockKnowledgeRetrievalNode] | type[MockLLMNode] | type[MockLoopNode] | type[MockParameterExtractorNode] | type[MockQuestionClassifierNode] | type[MockTemplateTransformNode] | type[MockToolNode]]` [unsupported-operation]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:161:44
-ERROR Unexpected keyword argument `id` in function `object.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:99:13
-ERROR Unexpected keyword argument `config` in function `object.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:162:44
+ERROR Unexpected keyword argument `node_id` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:100:13
-ERROR Unexpected keyword argument `graph_init_params` in function `object.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `config` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:101:13
-ERROR Unexpected keyword argument `graph_runtime_state` in function `object.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `graph_init_params` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:102:13
+ERROR Unexpected keyword argument `graph_runtime_state` in function `object.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:103:13
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:113:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:114:56
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:128:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:129:56
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:139:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:140:56
ERROR Class member `MockKnowledgeRetrievalNode.version` overrides parent class `KnowledgeRetrievalNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:350:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:351:9
ERROR Class member `MockKnowledgeRetrievalNode._run` overrides parent class `KnowledgeRetrievalNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:354:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:355:9
ERROR Class member `MockHttpRequestNode._run` overrides parent class `HttpRequestNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:411:9
-ERROR Class member `MockQuestionClassifierNode.version` overrides parent class `QuestionClassifierNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:460:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:412:9
ERROR Class member `MockQuestionClassifierNode._run` overrides parent class `QuestionClassifierNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:464:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:465:9
ERROR Class member `MockParameterExtractorNode._run` overrides parent class `ParameterExtractorNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:512:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:513:9
ERROR Class member `MockDocumentExtractorNode._run` overrides parent class `DocumentExtractorNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:562:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:563:9
ERROR Argument `str | None` is not assignable to parameter `root_node_id` with type `str` in function `graphon.graph.graph.Graph.init` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:661:85
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:143:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:158:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:168:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:186:16
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:662:85
+ERROR Class member `MockLoopNode._create_graph_engine` overrides parent class `LoopNode` in an inconsistent manner [bad-override]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:690:9
ERROR Argument `Sequence[type[GraphEngineEvent]]` is not assignable to parameter `expected_sequence` with type `list[type[GraphEngineEvent]]` in function `TableTestRunner._validate_event_sequence` [bad-argument-type]
--> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:402:21
ERROR `graph` is uninitialized [unbound-name]
@@ -5412,20 +5418,52 @@
--> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:456:37
ERROR Argument `Iterator[Unknown]` is not assignable to parameter `messages` with type `Generator[ToolInvokeMessage]` in function `core.workflow.nodes.agent.message_transformer.AgentMessageTransformer.transform` [bad-argument-type]
--> tests/unit_tests/core/workflow/nodes/agent/test_message_transformer.py:15:26
-ERROR Argument `dict[str, dict[str, str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/answer/test_answer.py:82:16
ERROR Class member `_Version1._get_retry_config` overrides parent class `Node` in an inconsistent manner [bad-override]
--> tests/unit_tests/core/workflow/nodes/base/test_get_node_type_classes_mapping.py:53:13
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:150:44
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:157:44
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:164:45
ERROR `BaseNodeData` is not assignable to attribute `_node_data` with type `CodeNodeData` [bad-assignment]
--> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:440:27
ERROR `BaseNodeData` is not assignable to attribute `_node_data` with type `CodeNodeData` [bad-assignment]
--> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:456:27
-ERROR `dict[str, str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:83:21
ERROR Argument `_GraphParams` is not assignable to parameter `graph_init_params` with type `GraphInitParams` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:93:27
+ --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:91:27
ERROR Argument `_GraphState` is not assignable to parameter `graph_runtime_state` with type `GraphRuntimeState` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:94:29
+ --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:92:29
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:64:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:120:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:178:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:224:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:271:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:324:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:361:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:413:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:440:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:467:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:494:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:520:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:570:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:617:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:658:21
ERROR Cannot index into `object` [bad-index]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:32:15
ERROR Cannot index into `object` [bad-index]
@@ -5438,64 +5476,40 @@
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:65:12
ERROR Cannot index into `object` [bad-index]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:66:12
-ERROR Argument `dict[str, Any]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:118:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:122:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:123:35
+ERROR Argument `Response` is not assignable to parameter `response` with type `HttpResponse` in function `graphon.nodes.http_request.entities.Response.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:158:17
ERROR Object of class `NoneType` has no attribute `type` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:184:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:204:16
ERROR Object of class `NoneType` has no attribute `value` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:185:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:205:16
ERROR Object of class `NoneType` has no attribute `type` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:193:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:213:16
ERROR Object of class `NoneType` has no attribute `selector` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:194:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:214:16
ERROR Object of class `HumanInputNodeData` has no attribute `delivery_methods` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:278:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:298:20
ERROR Object of class `HumanInputNodeData` has no attribute `delivery_methods` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:301:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:321:20
ERROR Object of class `ExternalRecipient` has no attribute `reference_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:394:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:414:16
ERROR Object of class `BoundRecipient` has no attribute `email` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:395:16
-ERROR Missing argument `reference_id` in function `core.workflow.human_input_compat.BoundRecipient.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:399:28
-ERROR Unexpected keyword argument `user_id` in function `core.workflow.human_input_compat.BoundRecipient.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:399:61
-ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_compat.EmailRecipients.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:401:38
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:470:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:415:16
+ERROR Missing argument `reference_id` in function `core.workflow.human_input_adapter.BoundRecipient.__init__` [missing-argument]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:419:28
+ERROR Unexpected keyword argument `user_id` in function `core.workflow.human_input_adapter.BoundRecipient.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:419:61
+ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_adapter.EmailRecipients.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:421:38
ERROR Object of class `SchedulingPause` has no attribute `resolved_default_values` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:481:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:535:20
-ERROR Argument `dict[str, dict[str, list[dict[str, bool | dict[Unknown, Unknown] | str]] | list[dict[str, str]] | list[Unknown] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:600:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:676:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:775:20
-ERROR Argument `dict[str, dict[str, list[dict[str, str]] | list[dict[str, dict[str, str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_human_input_form_filled_event.py:85:16
-ERROR Argument `dict[str, dict[str, list[dict[str, str]] | list[dict[str, dict[str, str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_human_input_form_filled_event.py:150:16
-ERROR `dict[str, list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/iteration/test_iteration_child_engine_errors.py:50:21
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_index.knowledge_index_node.KnowledgeIndexNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:120:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:501:16
+ERROR Argument `dict[str, list[str] | str]` is not assignable to parameter `node_data` with type `KnowledgeIndexNodeData | dict[str, object]` in function `_build_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:139:23
ERROR Argument `dict[str, bool]` is not assignable to parameter `summary_index_setting` with type `SummaryIndexSettingDict | None` in function `core.workflow.nodes.knowledge_index.knowledge_index_node.KnowledgeIndexNode._invoke_knowledge_index` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:641:35
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:110:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:198:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:474:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:566:20
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:614:20
+ --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:660:35
ERROR `None` is not subscriptable [unsupported-operation]
--> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:633:16
ERROR `None` is not subscriptable [unsupported-operation]
@@ -5504,124 +5518,56 @@
--> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:635:16
ERROR `None` is not subscriptable [unsupported-operation]
--> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:636:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:675:20
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:69:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:114:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:145:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:174:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:203:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:231:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:259:43
-ERROR `dict[str, dict[str, bool | int] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:287:43
-ERROR `dict[str, dict[str, bool | int] | dict[str, bool | str] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:322:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:346:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:371:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:401:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:430:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:459:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:488:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:516:43
ERROR Argument `None` is not assignable to parameter `context` with type `str` in function `graphon.nodes.llm.llm_utils.fetch_prompt_messages` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:123:21
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:125:21
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:604:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:606:65
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:607:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:609:65
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:610:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:612:65
ERROR Argument `list[UserPromptMessage]` is not assignable to parameter `prompt_messages` with type `list[PromptMessage]` in function `graphon.nodes.llm.llm_utils._append_file_prompts` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:726:29
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:728:29
ERROR Argument `list[SystemPromptMessage]` is not assignable to parameter `prompt_messages` with type `list[PromptMessage]` in function `graphon.nodes.llm.llm_utils._append_file_prompts` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:742:29
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.llm.node.LLMNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:215:16
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:744:29
ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1224:9
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1216:9
ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1254:9
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1246:9
ERROR Argument `Iterator[LLMResultChunk | LLMStructuredOutput] | Iterator[Any]` is not assignable to parameter `invoke_result` with type `Generator[LLMResultChunk | LLMStructuredOutput] | LLMResult` in function `graphon.nodes.llm.node.LLMNode.handle_invoke_result` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1513:31
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1504:31
ERROR Argument `Generator[None, Unknown]` is not assignable to parameter `invoke_result` with type `Generator[LLMResultChunk | LLMStructuredOutput] | LLMResult` in function `graphon.nodes.llm.node.LLMNode.handle_invoke_result` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1551:31
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1541:31
ERROR Missing argument `run_context` in function `core.app.llm.model_access.DifyCredentialsProvider.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1744:32
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1733:32
ERROR Missing argument `run_context` in function `core.app.llm.model_access.DifyModelFactory.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1747:25
-ERROR `dict[str, list[Unknown] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:113:48
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1736:25
ERROR `in` is not supported between `Literal['variables']` and `object` [not-iterable]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:127:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:145:16
ERROR `in` is not supported between `Literal['template']` and `object` [not-iterable]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:128:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:146:16
ERROR Cannot index into `object` [bad-index]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:129:16
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:203:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:307:48
-ERROR `dict[str, list[Unknown] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:414:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:453:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:482:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:512:48
-ERROR `dict[str, list[@_] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/test_template_transform_node.py:43:21
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.document_extractor.node.DocumentExtractorNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_document_extractor_node.py:51:16
-ERROR Argument `dict[str, dict[str, list[dict[str, list[str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:113:16
-ERROR Argument `dict[str, dict[str, list[dict[str, list[str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:183:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:249:16
-ERROR `dict[str, list[dict[str, Any]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:341:42
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:409:21
-ERROR `dict[str, list[dict[str, list[dict[str, list[str] | str]] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:479:42
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_list_operator.py:59:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:37:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:147:16
+ERROR Argument `dict[str, list[dict[str, Any]] | str]` is not assignable to parameter `node_data` with type `IfElseNodeData | dict[str, object]` in function `_build_if_else_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/test_if_else.py:330:19
+ERROR Argument `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to parameter `node_data` with type `IfElseNodeData | dict[str, object]` in function `_build_if_else_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/test_if_else.py:395:19
+ERROR Argument `dict[str, list[dict[str, list[dict[str, list[str] | str]] | str]] | str]` is not assignable to parameter `node_data` with type `IfElseNodeData | dict[str, object]` in function `_build_if_else_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/test_if_else.py:463:19
ERROR `Literal['{invalid-json-schema']` is not assignable to attribute `json_schema` with type `dict[str, Any] | None` [bad-assignment]
- --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:211:28
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:269:16
+ --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:208:28
ERROR Returned type `VariableBase` is not assignable to declared return type `ArrayAnyVariable | ArrayBooleanVariable | ArrayFileVariable | ArrayNumberVariable | ArrayObjectVariable | ArrayStringVariable | BooleanVariable | FileVariable | FloatVariable | IntegerVariable | NoneVariable | ObjectVariable | SecretVariable | StringVariable` [bad-return]
- --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:294:12
+ --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:288:12
ERROR Object of class `ModuleType` has no attribute `TraceQueueManager` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:62:9
-ERROR Object of class `ModuleType` has no attribute `TraceTask` [missing-attribute]
--> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:63:9
-ERROR Argument `_StubToolRuntime` is not assignable to parameter `runtime` with type `ToolNodeRuntimeProtocol | None` in function `graphon.nodes.tool.tool_node.ToolNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:116:17
+ERROR Object of class `ModuleType` has no attribute `TraceTask` [missing-attribute]
+ --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:64:9
+ERROR Argument `_StubToolRuntime` is not assignable to parameter `runtime` with type `ToolNodeRuntimeProtocol` in function `graphon.nodes.tool.tool_node.ToolNode.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:117:17
ERROR Argument `Iterator[ToolRuntimeMessage] | Iterator[Any]` is not assignable to parameter `messages` with type `Generator[ToolRuntimeMessage]` in function `graphon.nodes.tool.tool_node.ToolNode._transform_message` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:132:18
-ERROR Argument `Generator[NodeEventBase, None, LLMUsage]` is not assignable to parameter `generator` with type `Generator[Unknown]` in function `_collect_events` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:138:28
+ --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:133:18
ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:220:5
+ --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:224:5
ERROR Object of class `Mo\n\n... (truncated) ... |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #35377 +/- ##
==========================================
+ Coverage 85.43% 85.48% +0.04%
==========================================
Files 4431 4431
Lines 206705 206895 +190
Branches 38471 38510 +39
==========================================
+ Hits 176601 176860 +259
+ Misses 26995 26928 -67
+ Partials 3109 3107 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Contributor
Pyrefly Diffbase → PR--- /tmp/pyrefly_base.txt 2026-04-18 09:26:51.662179944 +0000
+++ /tmp/pyrefly_pr.txt 2026-04-18 09:26:41.742166424 +0000
@@ -2,8 +2,6 @@
--> app_factory.py:132:5
ERROR Object of class `App` has no attribute `access_mode` [missing-attribute]
--> controllers/console/app/app.py:552:13
-ERROR Object of class `object` has no attribute `value` [missing-attribute]
- --> controllers/console/app/conversation_variables.py:48:24
ERROR Argument `str | None` is not assignable to parameter `language` with type `str` in function `services.account_service.AccountService.send_email_register_email` [bad-argument-type]
--> controllers/console/auth/email_register.py:75:108
ERROR Object of class `MissingRouter` has no attribute `get` [missing-attribute]
@@ -20,8 +18,6 @@
--> controllers/console/socketio/workflow.py:45:14
ERROR Object of class `MissingRouter` has no attribute `get` [missing-attribute]
--> controllers/console/version.py:30:2
-ERROR Object of class `object` has no attribute `value` [missing-attribute]
- --> controllers/service_api/app/conversation.py:87:24
ERROR Class member `EasyUIBasedGenerateTaskPipeline._application_generate_entity` overrides parent class `BasedGenerateTaskPipeline` in an inconsistent manner [bad-override]
--> core/app/task_pipeline/easy_ui_based_generate_task_pipeline.py:75:5
ERROR `+=` is not supported between `list[PromptMessageContentUnionTypes]` and `str` [unsupported-operation]
@@ -46,26 +42,6 @@
--> core/llm_generator/llm_generator.py:394:60
ERROR No matching overload found for function `core.model_manager.ModelInstance.invoke_llm` called with arguments: (prompt_messages=list[SystemPromptMessage | UserPromptMessage], model_parameters=dict[str, float], stream=Literal[False]) [no-matching-overload]
--> core/llm_generator/llm_generator.py:582:60
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:171:17
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:196:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:216:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:238:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:255:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:280:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:308:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:327:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:343:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:360:13
ERROR Class member `OpsTraceProviderConfigMap.__getitem__` overrides parent class `UserDict` in an inconsistent manner [bad-param-name-override]
--> core/ops/ops_trace_manager.py:206:9
ERROR Object of class `NoneType` has no attribute `data_source_type` [missing-attribute]
@@ -116,8 +92,6 @@
--> extensions/storage/huawei_obs_storage.py:27:23
ERROR Cannot index into `Literal['']` [bad-index]
--> extensions/storage/huawei_obs_storage.py:31:20
-ERROR Object of class `object` has no attribute `value` [missing-attribute]
- --> fields/conversation_variable_fields.py:60:24
ERROR Argument `Module[Crypto.Hash.SHA1] | Unknown` is not assignable to parameter with type `Hash | HashModule` [bad-argument-type]
--> libs/gmpy2_pkcs10aep_cipher.py:73:49
ERROR Object of class `NoneType` has no attribute `trace_id` [missing-attribute]
@@ -810,6 +784,8 @@
--> services/hit_testing_service.py:92:28
ERROR Argument `RetrievalMethod | bool | dict[str, str] | int | Any | None` is not assignable to parameter `weights` with type `WeightsDict | None` in function `core.rag.datasource.retrieval_service.RetrievalService.retrieve` [bad-argument-type]
--> services/hit_testing_service.py:93:21
+ERROR Argument `bool | str | Any` is not assignable to parameter `token` with type `str` in function `core.helper.encrypter.encrypt_token` [bad-argument-type]
+ --> services/model_load_balancing_service.py:623:71
ERROR `handled_tenant_count` was assigned in the current scope before the nonlocal declaration [unknown-name]
--> services/plugin/plugin_migration.py:92:34
ERROR `dict[str, Any]` is not assignable to attribute `credentials` with type `Never` [bad-assignment]
@@ -830,12 +806,10 @@
--> tests/integration_tests/controllers/console/app/test_feedback_export_api.py:32:22
ERROR Argument `Literal['normal']` is not assignable to parameter `value` with type `AppStatus | SQLCoreOperations[AppStatus]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
--> tests/integration_tests/controllers/console/app/test_model_config_permissions.py:28:22
-ERROR `dict[str, str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:75:21
ERROR Argument `_GP` is not assignable to parameter `graph_init_params` with type `GraphInitParams` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:85:27
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:83:27
ERROR Argument `_GS` is not assignable to parameter `graph_runtime_state` with type `GraphRuntimeState` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:86:29
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:84:29
ERROR Could not import `Overflow` from `libs.broadcast_channel.channel` [missing-module-attribute]
--> tests/integration_tests/libs/broadcast_channel/redis/utils/test_data.py:11:44
ERROR `unpatch` may be uninitialized [unbound-name]
@@ -856,26 +830,18 @@
--> tests/integration_tests/services/test_workflow_draft_variable_service.py:651:21
ERROR Object of class `TestWorkflowDraftVariableServiceResetVariable` has no attribute `_test_user_id` [missing-attribute]
--> tests/integration_tests/services/test_workflow_draft_variable_service.py:817:21
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.code.code_node.CodeNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_code.py:68:16
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_http.py:79:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:83:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/integration_tests/workflow/nodes/test_http.py:84:35
-ERROR Argument `dict[str, dict[str, dict[str, dict[str, str] | str] | str | Unknown | None] | str] | dict[str, dict[str, str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_http.py:727:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:242:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:731:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/integration_tests/workflow/nodes/test_http.py:732:35
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.llm.node.LLMNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_llm.py:79:16
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.parameter_extractor.parameter_extractor_node.ParameterExtractorNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_parameter_extractor.py:73:16
-ERROR Argument `dict[str, dict[str, list[dict[str, list[str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.template_transform.template_transform_node.TemplateTransformNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_template_transform.py:90:16
ERROR Argument `_SimpleJinja2Renderer` is not assignable to parameter `jinja2_template_renderer` with type `Jinja2TemplateRenderer` in function `graphon.nodes.template_transform.template_transform_node.TemplateTransformNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_template_transform.py:93:34
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.tool.tool_node.ToolNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_tool.py:64:16
+ --> tests/integration_tests/workflow/nodes/test_template_transform.py:94:34
ERROR `dict[str, str | None]` is not assignable to attribute `env` with type `dict[str, str]` [bad-assignment]
--> tests/test_containers_integration_tests/conftest.py:204:39
ERROR Argument value `Literal[0]` violates Pydantic `ge` constraint `Literal[1]` for field `page` [bad-argument-type]
@@ -994,12 +960,6 @@
--> tests/test_containers_integration_tests/core/rag/retrieval/test_dataset_retrieval_integration.py:574:23
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
--> tests/test_containers_integration_tests/core/rag/retrieval/test_dataset_retrieval_integration.py:584:23
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:105:40
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:120:40
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:134:38
ERROR Argument `Connection | Engine` is not assignable to parameter `session_factory` with type `Engine | sessionmaker[Unknown]` in function `core.repositories.sqlalchemy_workflow_execution_repository.SQLAlchemyWorkflowExecutionRepository.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:264:29
ERROR Argument `Connection | Engine` is not assignable to parameter `session_factory` with type `Engine | sessionmaker[Unknown]` in function `core.repositories.sqlalchemy_workflow_node_execution_repository.SQLAlchemyWorkflowNodeExecutionRepository.__init__` [bad-argument-type]
@@ -1356,7 +1316,7 @@
--> tests/test_containers_integration_tests/services/test_file_service.py:78:20
ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_human_input_delivery_test.py:32:18
-ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_compat.EmailRecipients.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_adapter.EmailRecipients.__init__` [unexpected-keyword]
--> tests/test_containers_integration_tests/services/test_human_input_delivery_test_service.py:239:44
ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_message_export_service.py:53:20
@@ -3263,43 +3223,43 @@
ERROR Object of class `ModuleType` has no attribute `TraceQueueManager` [missing-attribute]
--> tests/unit_tests/core/app/apps/test_pause_resume.py:42:5
ERROR Class member `_StubToolNode._run` overrides parent class `Node` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:79:9
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:92:9
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:220:19
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:226:19
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow` with type `Workflow` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:221:18
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:227:18
ERROR Argument `SimpleNamespace` is not assignable to parameter `user` with type `Account | EndUser` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:222:14
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:228:14
ERROR Argument `SimpleNamespace` is not assignable to parameter `application_generate_entity` with type `WorkflowAppGenerateEntity` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:223:37
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:37
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_execution_repository` with type `WorkflowExecutionRepository` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:225:39
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:231:39
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_node_execution_repository` with type `WorkflowNodeExecutionRepository` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:226:44
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:232:44
ERROR `+` is not supported between `list[str]` and `Generator[Mapping[str, Any] | str]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:235:12
ERROR `+` is not supported between `list[str]` and `Mapping[str, Any]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:235:12
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:260:19
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:266:19
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow` with type `Workflow` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:261:18
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:267:18
ERROR Argument `SimpleNamespace` is not assignable to parameter `user` with type `Account | EndUser` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:262:14
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:268:14
ERROR Argument `SimpleNamespace` is not assignable to parameter `conversation` with type `Conversation` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:263:22
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:269:22
ERROR Argument `SimpleNamespace` is not assignable to parameter `message` with type `Message` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:264:17
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:270:17
ERROR Argument `SimpleNamespace` is not assignable to parameter `application_generate_entity` with type `AdvancedChatAppGenerateEntity` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:265:37
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:37
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_execution_repository` with type `WorkflowExecutionRepository` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:266:39
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:272:39
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_node_execution_repository` with type `WorkflowNodeExecutionRepository` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:267:44
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:273:44
ERROR `+` is not supported between `list[str]` and `Generator[Mapping[str, Any] | str]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:277:12
ERROR `+` is not supported between `list[str]` and `Mapping[str, Any]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:277:12
ERROR Cannot index into `str` [bad-index]
--> tests/unit_tests/core/app/apps/test_streaming_utils.py:79:12
ERROR Argument `FakeTopic` is not assignable to parameter `topic` with type `Topic` in function `core.app.apps.streaming_utils.stream_topic_events` [bad-argument-type]
@@ -3972,8 +3932,8 @@
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:174:16
ERROR Object of class `object` has no attribute `total_steps` [missing-attribute]
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:175:16
-ERROR `SimpleNamespace` is not assignable to attribute `_graph_execution` with type `GraphExecutionProtocol | None` [bad-assignment]
- --> tests/unit_tests/core/app/workflow/test_persistence_layer.py:182:42
+ERROR Object of class `GraphRuntimeState` has no attribute `_graph_execution` [missing-attribute]
+ --> tests/unit_tests/core/app/workflow/test_persistence_layer.py:182:9
ERROR Object of class `object` has no attribute `status` [missing-attribute]
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:189:16
ERROR Object of class `object` has no attribute `exceptions_count` [missing-attribute]
@@ -5334,6 +5294,16 @@
ERROR Object of class `BlobChunkMessage` has no attribute `variable_value`
ERROR Object of class `BlobChunkMessage` has no attribute `stream`
ERROR Object of class `BlobChunkMessage` has no attribute `file_marker`
+ERROR Argument `object` is not assignable to parameter `obj` with type `Sized` in function `len` [bad-argument-type]
+ --> tests/unit_tests/core/variables/test_segment.py:503:20
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:504:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:505:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:512:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:513:16
ERROR Cannot set field `value` [read-only]
--> tests/unit_tests/core/variables/test_variables.py:20:9
ERROR Cannot set field `value` [read-only]
@@ -5363,47 +5333,39 @@
ERROR Could not find name `NodeType` [unknown-name]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_config.py:158:46
ERROR Cannot extend final class `DifyNodeFactory` [invalid-inheritance]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:37:23
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:38:23
ERROR Cannot set item in `dict[str, type[MockAgentNode] | type[MockCodeNode] | type[MockDocumentExtractorNode] | type[MockHttpRequestNode] | type[MockIterationNode] | type[MockKnowledgeRetrievalNode] | type[MockLLMNode] | type[MockLoopNode] | type[MockParameterExtractorNode] | type[MockQuestionClassifierNode] | type[MockTemplateTransformNode] | type[MockToolNode]]` [unsupported-operation]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:161:44
-ERROR Unexpected keyword argument `id` in function `object.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:99:13
-ERROR Unexpected keyword argument `config` in function `object.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:162:44
+ERROR Unexpected keyword argument `node_id` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:100:13
-ERROR Unexpected keyword argument `graph_init_params` in function `object.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `config` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:101:13
-ERROR Unexpected keyword argument `graph_runtime_state` in function `object.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `graph_init_params` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:102:13
+ERROR Unexpected keyword argument `graph_runtime_state` in function `object.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:103:13
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:113:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:114:56
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:128:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:129:56
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:139:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:140:56
ERROR Class member `MockKnowledgeRetrievalNode.version` overrides parent class `KnowledgeRetrievalNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:350:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:351:9
ERROR Class member `MockKnowledgeRetrievalNode._run` overrides parent class `KnowledgeRetrievalNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:354:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:355:9
ERROR Class member `MockHttpRequestNode._run` overrides parent class `HttpRequestNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:411:9
-ERROR Class member `MockQuestionClassifierNode.version` overrides parent class `QuestionClassifierNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:460:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:412:9
ERROR Class member `MockQuestionClassifierNode._run` overrides parent class `QuestionClassifierNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:464:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:465:9
ERROR Class member `MockParameterExtractorNode._run` overrides parent class `ParameterExtractorNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:512:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:513:9
ERROR Class member `MockDocumentExtractorNode._run` overrides parent class `DocumentExtractorNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:562:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:563:9
ERROR Argument `str | None` is not assignable to parameter `root_node_id` with type `str` in function `graphon.graph.graph.Graph.init` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:661:85
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:143:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:158:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:168:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:186:16
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:662:85
+ERROR Class member `MockLoopNode._create_graph_engine` overrides parent class `LoopNode` in an inconsistent manner [bad-override]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:690:9
ERROR Argument `Sequence[type[GraphEngineEvent]]` is not assignable to parameter `expected_sequence` with type `list[type[GraphEngineEvent]]` in function `TableTestRunner._validate_event_sequence` [bad-argument-type]
--> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:402:21
ERROR `graph` is uninitialized [unbound-name]
@@ -5412,20 +5374,52 @@
--> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:456:37
ERROR Argument `Iterator[Unknown]` is not assignable to parameter `messages` with type `Generator[ToolInvokeMessage]` in function `core.workflow.nodes.agent.message_transformer.AgentMessageTransformer.transform` [bad-argument-type]
--> tests/unit_tests/core/workflow/nodes/agent/test_message_transformer.py:15:26
-ERROR Argument `dict[str, dict[str, str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/answer/test_answer.py:82:16
ERROR Class member `_Version1._get_retry_config` overrides parent class `Node` in an inconsistent manner [bad-override]
--> tests/unit_tests/core/workflow/nodes/base/test_get_node_type_classes_mapping.py:53:13
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:150:44
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:157:44
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:164:45
ERROR `BaseNodeData` is not assignable to attribute `_node_data` with type `CodeNodeData` [bad-assignment]
--> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:440:27
ERROR `BaseNodeData` is not assignable to attribute `_node_data` with type `CodeNodeData` [bad-assignment]
--> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:456:27
-ERROR `dict[str, str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:83:21
ERROR Argument `_GraphParams` is not assignable to parameter `graph_init_params` with type `GraphInitParams` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:93:27
+ --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:91:27
ERROR Argument `_GraphState` is not assignable to parameter `graph_runtime_state` with type `GraphRuntimeState` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:94:29
+ --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:92:29
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:64:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:120:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:178:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:224:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:271:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:324:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:361:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:413:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:440:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:467:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:494:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:520:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:570:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:617:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:658:21
ERROR Cannot index into `object` [bad-index]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:32:15
ERROR Cannot index into `object` [bad-index]
@@ -5438,64 +5432,40 @@
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:65:12
ERROR Cannot index into `object` [bad-index]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:66:12
-ERROR Argument `dict[str, Any]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:118:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:122:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:123:35
+ERROR Argument `Response` is not assignable to parameter `response` with type `HttpResponse` in function `graphon.nodes.http_request.entities.Response.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:158:17
ERROR Object of class `NoneType` has no attribute `type` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:184:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:204:16
ERROR Object of class `NoneType` has no attribute `value` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:185:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:205:16
ERROR Object of class `NoneType` has no attribute `type` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:193:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:213:16
ERROR Object of class `NoneType` has no attribute `selector` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:194:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:214:16
ERROR Object of class `HumanInputNodeData` has no attribute `delivery_methods` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:278:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:298:20
ERROR Object of class `HumanInputNodeData` has no attribute `delivery_methods` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:301:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:321:20
ERROR Object of class `ExternalRecipient` has no attribute `reference_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:394:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:414:16
ERROR Object of class `BoundRecipient` has no attribute `email` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:395:16
-ERROR Missing argument `reference_id` in function `core.workflow.human_input_compat.BoundRecipient.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:399:28
-ERROR Unexpected keyword argument `user_id` in function `core.workflow.human_input_compat.BoundRecipient.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:399:61
-ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_compat.EmailRecipients.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:401:38
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:470:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:415:16
+ERROR Missing argument `reference_id` in function `core.workflow.human_input_adapter.BoundRecipient.__init__` [missing-argument]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:419:28
+ERROR Unexpected keyword argument `user_id` in function `core.workflow.human_input_adapter.BoundRecipient.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:419:61
+ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_adapter.EmailRecipients.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:421:38
ERROR Object of class `SchedulingPause` has no attribute `resolved_default_values` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:481:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:535:20
-ERROR Argument `dict[str, dict[str, list[dict[str, bool | dict[Unknown, Unknown] | str]] | list[dict[str, str]] | list[Unknown] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:600:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:676:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:775:20
-ERROR Argument `dict[str, dict[str, list[dict[str, str]] | list[dict[str, dict[str, str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_human_input_form_filled_event.py:85:16
-ERROR Argument `dict[str, dict[str, list[dict[str, str]] | list[dict[str, dict[str, str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_human_input_form_filled_event.py:150:16
-ERROR `dict[str, list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/iteration/test_iteration_child_engine_errors.py:50:21
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_index.knowledge_index_node.KnowledgeIndexNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:120:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:501:16
+ERROR Argument `dict[str, list[str] | str]` is not assignable to parameter `node_data` with type `KnowledgeIndexNodeData | dict[str, object]` in function `_build_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:139:23
ERROR Argument `dict[str, bool]` is not assignable to parameter `summary_index_setting` with type `SummaryIndexSettingDict | None` in function `core.workflow.nodes.knowledge_index.knowledge_index_node.KnowledgeIndexNode._invoke_knowledge_index` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:641:35
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:110:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:198:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:474:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:566:20
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:614:20
+ --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:660:35
ERROR `None` is not subscriptable [unsupported-operation]
--> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:633:16
ERROR `None` is not subscriptable [unsupported-operation]
@@ -5504,124 +5474,56 @@
--> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:635:16
ERROR `None` is not subscriptable [unsupported-operation]
--> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:636:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:675:20
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:69:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:114:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:145:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:174:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:203:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:231:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:259:43
-ERROR `dict[str, dict[str, bool | int] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:287:43
-ERROR `dict[str, dict[str, bool | int] | dict[str, bool | str] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:322:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:346:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:371:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:401:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:430:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:459:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:488:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:516:43
ERROR Argument `None` is not assignable to parameter `context` with type `str` in function `graphon.nodes.llm.llm_utils.fetch_prompt_messages` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:123:21
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:125:21
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:604:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:606:65
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:607:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:609:65
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:610:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:612:65
ERROR Argument `list[UserPromptMessage]` is not assignable to parameter `prompt_messages` with type `list[PromptMessage]` in function `graphon.nodes.llm.llm_utils._append_file_prompts` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:726:29
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:728:29
ERROR Argument `list[SystemPromptMessage]` is not assignable to parameter `prompt_messages` with type `list[PromptMessage]` in function `graphon.nodes.llm.llm_utils._append_file_prompts` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:742:29
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.llm.node.LLMNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:215:16
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:744:29
ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1224:9
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1216:9
ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1254:9
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1246:9
ERROR Argument `Iterator[LLMResultChunk | LLMStructuredOutput] | Iterator[Any]` is not assignable to parameter `invoke_result` with type `Generator[LLMResultChunk | LLMStructuredOutput] | LLMResult` in function `graphon.nodes.llm.node.LLMNode.handle_invoke_result` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1513:31
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1504:31
ERROR Argument `Generator[None, Unknown]` is not assignable to parameter `invoke_result` with type `Generator[LLMResultChunk | LLMStructuredOutput] | LLMResult` in function `graphon.nodes.llm.node.LLMNode.handle_invoke_result` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1551:31
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1541:31
ERROR Missing argument `run_context` in function `core.app.llm.model_access.DifyCredentialsProvider.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1744:32
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1733:32
ERROR Missing argument `run_context` in function `core.app.llm.model_access.DifyModelFactory.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1747:25
-ERROR `dict[str, list[Unknown] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:113:48
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1736:25
ERROR `in` is not supported between `Literal['variables']` and `object` [not-iterable]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:127:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:145:16
ERROR `in` is not supported between `Literal['template']` and `object` [not-iterable]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:128:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:146:16
ERROR Cannot index into `object` [bad-index]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:129:16
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:203:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:307:48
-ERROR `dict[str, list[Unknown] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:414:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:453:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:482:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:512:48
-ERROR `dict[str, list[@_] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/test_template_transform_node.py:43:21
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.document_extractor.node.DocumentExtractorNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_document_extractor_node.py:51:16
-ERROR Argument `dict[str, dict[str, list[dict[str, list[str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:113:16
-ERROR Argument `dict[str, dict[str, list[dict[str, list[str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:183:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:249:16
-ERROR `dict[str, list[dict[str, Any]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:341:42
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:409:21
-ERROR `dict[str, list[dict[str, list[dict[str, list[str] | str]] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:479:42
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_list_operator.py:59:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:37:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:147:16
+ERROR Argument `dict[str, list[dict[str, Any]] | str]` is not assignable to parameter `node_data` with type `IfElseNodeData | dict[str, object]` in function `_build_if_else_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/test_if_else.py:330:19
+ERROR Argument `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to parameter `node_data` with type `IfElseNodeData | dict[str, object]` in function `_build_if_else_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/test_if_else.py:395:19
+ERROR Argument `dict[str, list[dict[str, list[dict[str, list[str] | str]] | str]] | str]` is not assignable to parameter `node_data` with type `IfElseNodeData | dict[str, object]` in function `_build_if_else_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/test_if_else.py:463:19
ERROR `Literal['{invalid-json-schema']` is not assignable to attribute `json_schema` with type `dict[str, Any] | None` [bad-assignment]
- --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:211:28
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:269:16
+ --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:208:28
ERROR Returned type `VariableBase` is not assignable to declared return type `ArrayAnyVariable | ArrayBooleanVariable | ArrayFileVariable | ArrayNumberVariable | ArrayObjectVariable | ArrayStringVariable | BooleanVariable | FileVariable | FloatVariable | IntegerVariable | NoneVariable | ObjectVariable | SecretVariable | StringVariable` [bad-return]
- --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:294:12
+ --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:288:12
ERROR Object of class `ModuleType` has no attribute `TraceQueueManager` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:62:9
-ERROR Object of class `ModuleType` has no attribute `TraceTask` [missing-attribute]
--> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:63:9
-ERROR Argument `_StubToolRuntime` is not assignable to parameter `runtime` with type `ToolNodeRuntimeProtocol | None` in function `graphon.nodes.tool.tool_node.ToolNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:116:17
+ERROR Object of class `ModuleType` has no attribute `TraceTask` [missing-attribute]
+ --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:64:9
+ERROR Argument `_StubToolRuntime` is not assignable to parameter `runtime` with type `ToolNodeRuntimeProtocol` in function `graphon.nodes.tool.tool_node.ToolNode.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:117:17
ERROR Argument `Iterator[ToolRuntimeMessage] | Iterator[Any]` is not assignable to parameter `messages` with type `Generator[ToolRuntimeMessage]` in function `graphon.nodes.tool.tool_node.ToolNode._transform_message` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:132:18
-ERROR Argument `Generator[NodeEventBase, None, LLMUsage]` is not assignable to parameter `generator` with type `Generator[Unknown]` in function `_collect_events` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:138:28
+ --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:133:18
ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
... (truncated) ... |
Contributor
Pyrefly Diffbase → PR--- /tmp/pyrefly_base.txt 2026-04-18 09:26:51.662179944 +0000
+++ /tmp/pyrefly_pr.txt 2026-04-18 09:26:41.742166424 +0000
@@ -2,8 +2,6 @@
--> app_factory.py:132:5
ERROR Object of class `App` has no attribute `access_mode` [missing-attribute]
--> controllers/console/app/app.py:552:13
-ERROR Object of class `object` has no attribute `value` [missing-attribute]
- --> controllers/console/app/conversation_variables.py:48:24
ERROR Argument `str | None` is not assignable to parameter `language` with type `str` in function `services.account_service.AccountService.send_email_register_email` [bad-argument-type]
--> controllers/console/auth/email_register.py:75:108
ERROR Object of class `MissingRouter` has no attribute `get` [missing-attribute]
@@ -20,8 +18,6 @@
--> controllers/console/socketio/workflow.py:45:14
ERROR Object of class `MissingRouter` has no attribute `get` [missing-attribute]
--> controllers/console/version.py:30:2
-ERROR Object of class `object` has no attribute `value` [missing-attribute]
- --> controllers/service_api/app/conversation.py:87:24
ERROR Class member `EasyUIBasedGenerateTaskPipeline._application_generate_entity` overrides parent class `BasedGenerateTaskPipeline` in an inconsistent manner [bad-override]
--> core/app/task_pipeline/easy_ui_based_generate_task_pipeline.py:75:5
ERROR `+=` is not supported between `list[PromptMessageContentUnionTypes]` and `str` [unsupported-operation]
@@ -46,26 +42,6 @@
--> core/llm_generator/llm_generator.py:394:60
ERROR No matching overload found for function `core.model_manager.ModelInstance.invoke_llm` called with arguments: (prompt_messages=list[SystemPromptMessage | UserPromptMessage], model_parameters=dict[str, float], stream=Literal[False]) [no-matching-overload]
--> core/llm_generator/llm_generator.py:582:60
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:171:17
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:196:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:216:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:238:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:255:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:280:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:308:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:327:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:343:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:360:13
ERROR Class member `OpsTraceProviderConfigMap.__getitem__` overrides parent class `UserDict` in an inconsistent manner [bad-param-name-override]
--> core/ops/ops_trace_manager.py:206:9
ERROR Object of class `NoneType` has no attribute `data_source_type` [missing-attribute]
@@ -116,8 +92,6 @@
--> extensions/storage/huawei_obs_storage.py:27:23
ERROR Cannot index into `Literal['']` [bad-index]
--> extensions/storage/huawei_obs_storage.py:31:20
-ERROR Object of class `object` has no attribute `value` [missing-attribute]
- --> fields/conversation_variable_fields.py:60:24
ERROR Argument `Module[Crypto.Hash.SHA1] | Unknown` is not assignable to parameter with type `Hash | HashModule` [bad-argument-type]
--> libs/gmpy2_pkcs10aep_cipher.py:73:49
ERROR Object of class `NoneType` has no attribute `trace_id` [missing-attribute]
@@ -810,6 +784,8 @@
--> services/hit_testing_service.py:92:28
ERROR Argument `RetrievalMethod | bool | dict[str, str] | int | Any | None` is not assignable to parameter `weights` with type `WeightsDict | None` in function `core.rag.datasource.retrieval_service.RetrievalService.retrieve` [bad-argument-type]
--> services/hit_testing_service.py:93:21
+ERROR Argument `bool | str | Any` is not assignable to parameter `token` with type `str` in function `core.helper.encrypter.encrypt_token` [bad-argument-type]
+ --> services/model_load_balancing_service.py:623:71
ERROR `handled_tenant_count` was assigned in the current scope before the nonlocal declaration [unknown-name]
--> services/plugin/plugin_migration.py:92:34
ERROR `dict[str, Any]` is not assignable to attribute `credentials` with type `Never` [bad-assignment]
@@ -830,12 +806,10 @@
--> tests/integration_tests/controllers/console/app/test_feedback_export_api.py:32:22
ERROR Argument `Literal['normal']` is not assignable to parameter `value` with type `AppStatus | SQLCoreOperations[AppStatus]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
--> tests/integration_tests/controllers/console/app/test_model_config_permissions.py:28:22
-ERROR `dict[str, str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:75:21
ERROR Argument `_GP` is not assignable to parameter `graph_init_params` with type `GraphInitParams` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:85:27
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:83:27
ERROR Argument `_GS` is not assignable to parameter `graph_runtime_state` with type `GraphRuntimeState` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:86:29
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:84:29
ERROR Could not import `Overflow` from `libs.broadcast_channel.channel` [missing-module-attribute]
--> tests/integration_tests/libs/broadcast_channel/redis/utils/test_data.py:11:44
ERROR `unpatch` may be uninitialized [unbound-name]
@@ -856,26 +830,18 @@
--> tests/integration_tests/services/test_workflow_draft_variable_service.py:651:21
ERROR Object of class `TestWorkflowDraftVariableServiceResetVariable` has no attribute `_test_user_id` [missing-attribute]
--> tests/integration_tests/services/test_workflow_draft_variable_service.py:817:21
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.code.code_node.CodeNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_code.py:68:16
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_http.py:79:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:83:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/integration_tests/workflow/nodes/test_http.py:84:35
-ERROR Argument `dict[str, dict[str, dict[str, dict[str, str] | str] | str | Unknown | None] | str] | dict[str, dict[str, str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_http.py:727:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:242:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:731:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/integration_tests/workflow/nodes/test_http.py:732:35
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.llm.node.LLMNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_llm.py:79:16
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.parameter_extractor.parameter_extractor_node.ParameterExtractorNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_parameter_extractor.py:73:16
-ERROR Argument `dict[str, dict[str, list[dict[str, list[str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.template_transform.template_transform_node.TemplateTransformNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_template_transform.py:90:16
ERROR Argument `_SimpleJinja2Renderer` is not assignable to parameter `jinja2_template_renderer` with type `Jinja2TemplateRenderer` in function `graphon.nodes.template_transform.template_transform_node.TemplateTransformNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_template_transform.py:93:34
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.tool.tool_node.ToolNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_tool.py:64:16
+ --> tests/integration_tests/workflow/nodes/test_template_transform.py:94:34
ERROR `dict[str, str | None]` is not assignable to attribute `env` with type `dict[str, str]` [bad-assignment]
--> tests/test_containers_integration_tests/conftest.py:204:39
ERROR Argument value `Literal[0]` violates Pydantic `ge` constraint `Literal[1]` for field `page` [bad-argument-type]
@@ -994,12 +960,6 @@
--> tests/test_containers_integration_tests/core/rag/retrieval/test_dataset_retrieval_integration.py:574:23
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
--> tests/test_containers_integration_tests/core/rag/retrieval/test_dataset_retrieval_integration.py:584:23
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:105:40
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:120:40
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:134:38
ERROR Argument `Connection | Engine` is not assignable to parameter `session_factory` with type `Engine | sessionmaker[Unknown]` in function `core.repositories.sqlalchemy_workflow_execution_repository.SQLAlchemyWorkflowExecutionRepository.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:264:29
ERROR Argument `Connection | Engine` is not assignable to parameter `session_factory` with type `Engine | sessionmaker[Unknown]` in function `core.repositories.sqlalchemy_workflow_node_execution_repository.SQLAlchemyWorkflowNodeExecutionRepository.__init__` [bad-argument-type]
@@ -1356,7 +1316,7 @@
--> tests/test_containers_integration_tests/services/test_file_service.py:78:20
ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_human_input_delivery_test.py:32:18
-ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_compat.EmailRecipients.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_adapter.EmailRecipients.__init__` [unexpected-keyword]
--> tests/test_containers_integration_tests/services/test_human_input_delivery_test_service.py:239:44
ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_message_export_service.py:53:20
@@ -3263,43 +3223,43 @@
ERROR Object of class `ModuleType` has no attribute `TraceQueueManager` [missing-attribute]
--> tests/unit_tests/core/app/apps/test_pause_resume.py:42:5
ERROR Class member `_StubToolNode._run` overrides parent class `Node` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:79:9
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:92:9
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:220:19
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:226:19
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow` with type `Workflow` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:221:18
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:227:18
ERROR Argument `SimpleNamespace` is not assignable to parameter `user` with type `Account | EndUser` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:222:14
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:228:14
ERROR Argument `SimpleNamespace` is not assignable to parameter `application_generate_entity` with type `WorkflowAppGenerateEntity` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:223:37
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:37
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_execution_repository` with type `WorkflowExecutionRepository` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:225:39
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:231:39
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_node_execution_repository` with type `WorkflowNodeExecutionRepository` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:226:44
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:232:44
ERROR `+` is not supported between `list[str]` and `Generator[Mapping[str, Any] | str]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:235:12
ERROR `+` is not supported between `list[str]` and `Mapping[str, Any]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:235:12
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:260:19
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:266:19
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow` with type `Workflow` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:261:18
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:267:18
ERROR Argument `SimpleNamespace` is not assignable to parameter `user` with type `Account | EndUser` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:262:14
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:268:14
ERROR Argument `SimpleNamespace` is not assignable to parameter `conversation` with type `Conversation` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:263:22
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:269:22
ERROR Argument `SimpleNamespace` is not assignable to parameter `message` with type `Message` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:264:17
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:270:17
ERROR Argument `SimpleNamespace` is not assignable to parameter `application_generate_entity` with type `AdvancedChatAppGenerateEntity` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:265:37
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:37
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_execution_repository` with type `WorkflowExecutionRepository` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:266:39
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:272:39
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_node_execution_repository` with type `WorkflowNodeExecutionRepository` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:267:44
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:273:44
ERROR `+` is not supported between `list[str]` and `Generator[Mapping[str, Any] | str]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:277:12
ERROR `+` is not supported between `list[str]` and `Mapping[str, Any]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:277:12
ERROR Cannot index into `str` [bad-index]
--> tests/unit_tests/core/app/apps/test_streaming_utils.py:79:12
ERROR Argument `FakeTopic` is not assignable to parameter `topic` with type `Topic` in function `core.app.apps.streaming_utils.stream_topic_events` [bad-argument-type]
@@ -3972,8 +3932,8 @@
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:174:16
ERROR Object of class `object` has no attribute `total_steps` [missing-attribute]
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:175:16
-ERROR `SimpleNamespace` is not assignable to attribute `_graph_execution` with type `GraphExecutionProtocol | None` [bad-assignment]
- --> tests/unit_tests/core/app/workflow/test_persistence_layer.py:182:42
+ERROR Object of class `GraphRuntimeState` has no attribute `_graph_execution` [missing-attribute]
+ --> tests/unit_tests/core/app/workflow/test_persistence_layer.py:182:9
ERROR Object of class `object` has no attribute `status` [missing-attribute]
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:189:16
ERROR Object of class `object` has no attribute `exceptions_count` [missing-attribute]
@@ -5334,6 +5294,16 @@
ERROR Object of class `BlobChunkMessage` has no attribute `variable_value`
ERROR Object of class `BlobChunkMessage` has no attribute `stream`
ERROR Object of class `BlobChunkMessage` has no attribute `file_marker`
+ERROR Argument `object` is not assignable to parameter `obj` with type `Sized` in function `len` [bad-argument-type]
+ --> tests/unit_tests/core/variables/test_segment.py:503:20
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:504:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:505:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:512:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:513:16
ERROR Cannot set field `value` [read-only]
--> tests/unit_tests/core/variables/test_variables.py:20:9
ERROR Cannot set field `value` [read-only]
@@ -5363,47 +5333,39 @@
ERROR Could not find name `NodeType` [unknown-name]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_config.py:158:46
ERROR Cannot extend final class `DifyNodeFactory` [invalid-inheritance]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:37:23
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:38:23
ERROR Cannot set item in `dict[str, type[MockAgentNode] | type[MockCodeNode] | type[MockDocumentExtractorNode] | type[MockHttpRequestNode] | type[MockIterationNode] | type[MockKnowledgeRetrievalNode] | type[MockLLMNode] | type[MockLoopNode] | type[MockParameterExtractorNode] | type[MockQuestionClassifierNode] | type[MockTemplateTransformNode] | type[MockToolNode]]` [unsupported-operation]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:161:44
-ERROR Unexpected keyword argument `id` in function `object.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:99:13
-ERROR Unexpected keyword argument `config` in function `object.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:162:44
+ERROR Unexpected keyword argument `node_id` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:100:13
-ERROR Unexpected keyword argument `graph_init_params` in function `object.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `config` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:101:13
-ERROR Unexpected keyword argument `graph_runtime_state` in function `object.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `graph_init_params` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:102:13
+ERROR Unexpected keyword argument `graph_runtime_state` in function `object.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:103:13
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:113:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:114:56
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:128:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:129:56
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:139:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:140:56
ERROR Class member `MockKnowledgeRetrievalNode.version` overrides parent class `KnowledgeRetrievalNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:350:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:351:9
ERROR Class member `MockKnowledgeRetrievalNode._run` overrides parent class `KnowledgeRetrievalNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:354:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:355:9
ERROR Class member `MockHttpRequestNode._run` overrides parent class `HttpRequestNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:411:9
-ERROR Class member `MockQuestionClassifierNode.version` overrides parent class `QuestionClassifierNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:460:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:412:9
ERROR Class member `MockQuestionClassifierNode._run` overrides parent class `QuestionClassifierNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:464:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:465:9
ERROR Class member `MockParameterExtractorNode._run` overrides parent class `ParameterExtractorNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:512:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:513:9
ERROR Class member `MockDocumentExtractorNode._run` overrides parent class `DocumentExtractorNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:562:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:563:9
ERROR Argument `str | None` is not assignable to parameter `root_node_id` with type `str` in function `graphon.graph.graph.Graph.init` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:661:85
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:143:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:158:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:168:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:186:16
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:662:85
+ERROR Class member `MockLoopNode._create_graph_engine` overrides parent class `LoopNode` in an inconsistent manner [bad-override]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:690:9
ERROR Argument `Sequence[type[GraphEngineEvent]]` is not assignable to parameter `expected_sequence` with type `list[type[GraphEngineEvent]]` in function `TableTestRunner._validate_event_sequence` [bad-argument-type]
--> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:402:21
ERROR `graph` is uninitialized [unbound-name]
@@ -5412,20 +5374,52 @@
--> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:456:37
ERROR Argument `Iterator[Unknown]` is not assignable to parameter `messages` with type `Generator[ToolInvokeMessage]` in function `core.workflow.nodes.agent.message_transformer.AgentMessageTransformer.transform` [bad-argument-type]
--> tests/unit_tests/core/workflow/nodes/agent/test_message_transformer.py:15:26
-ERROR Argument `dict[str, dict[str, str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/answer/test_answer.py:82:16
ERROR Class member `_Version1._get_retry_config` overrides parent class `Node` in an inconsistent manner [bad-override]
--> tests/unit_tests/core/workflow/nodes/base/test_get_node_type_classes_mapping.py:53:13
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:150:44
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:157:44
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:164:45
ERROR `BaseNodeData` is not assignable to attribute `_node_data` with type `CodeNodeData` [bad-assignment]
--> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:440:27
ERROR `BaseNodeData` is not assignable to attribute `_node_data` with type `CodeNodeData` [bad-assignment]
--> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:456:27
-ERROR `dict[str, str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:83:21
ERROR Argument `_GraphParams` is not assignable to parameter `graph_init_params` with type `GraphInitParams` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:93:27
+ --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:91:27
ERROR Argument `_GraphState` is not assignable to parameter `graph_runtime_state` with type `GraphRuntimeState` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:94:29
+ --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:92:29
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:64:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:120:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:178:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:224:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:271:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:324:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:361:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:413:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:440:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:467:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:494:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:520:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:570:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:617:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:658:21
ERROR Cannot index into `object` [bad-index]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:32:15
ERROR Cannot index into `object` [bad-index]
@@ -5438,64 +5432,40 @@
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:65:12
ERROR Cannot index into `object` [bad-index]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:66:12
-ERROR Argument `dict[str, Any]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:118:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:122:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:123:35
+ERROR Argument `Response` is not assignable to parameter `response` with type `HttpResponse` in function `graphon.nodes.http_request.entities.Response.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:158:17
ERROR Object of class `NoneType` has no attribute `type` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:184:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:204:16
ERROR Object of class `NoneType` has no attribute `value` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:185:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:205:16
ERROR Object of class `NoneType` has no attribute `type` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:193:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:213:16
ERROR Object of class `NoneType` has no attribute `selector` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:194:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:214:16
ERROR Object of class `HumanInputNodeData` has no attribute `delivery_methods` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:278:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:298:20
ERROR Object of class `HumanInputNodeData` has no attribute `delivery_methods` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:301:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:321:20
ERROR Object of class `ExternalRecipient` has no attribute `reference_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:394:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:414:16
ERROR Object of class `BoundRecipient` has no attribute `email` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:395:16
-ERROR Missing argument `reference_id` in function `core.workflow.human_input_compat.BoundRecipient.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:399:28
-ERROR Unexpected keyword argument `user_id` in function `core.workflow.human_input_compat.BoundRecipient.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:399:61
-ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_compat.EmailRecipients.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:401:38
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:470:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:415:16
+ERROR Missing argument `reference_id` in function `core.workflow.human_input_adapter.BoundRecipient.__init__` [missing-argument]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:419:28
+ERROR Unexpected keyword argument `user_id` in function `core.workflow.human_input_adapter.BoundRecipient.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:419:61
+ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_adapter.EmailRecipients.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:421:38
ERROR Object of class `SchedulingPause` has no attribute `resolved_default_values` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:481:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:535:20
-ERROR Argument `dict[str, dict[str, list[dict[str, bool | dict[Unknown, Unknown] | str]] | list[dict[str, str]] | list[Unknown] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:600:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:676:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:775:20
-ERROR Argument `dict[str, dict[str, list[dict[str, str]] | list[dict[str, dict[str, str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_human_input_form_filled_event.py:85:16
-ERROR Argument `dict[str, dict[str, list[dict[str, str]] | list[dict[str, dict[str, str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_human_input_form_filled_event.py:150:16
-ERROR `dict[str, list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/iteration/test_iteration_child_engine_errors.py:50:21
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_index.knowledge_index_node.KnowledgeIndexNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:120:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:501:16
+ERROR Argument `dict[str, list[str] | str]` is not assignable to parameter `node_data` with type `KnowledgeIndexNodeData | dict[str, object]` in function `_build_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:139:23
ERROR Argument `dict[str, bool]` is not assignable to parameter `summary_index_setting` with type `SummaryIndexSettingDict | None` in function `core.workflow.nodes.knowledge_index.knowledge_index_node.KnowledgeIndexNode._invoke_knowledge_index` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:641:35
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:110:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:198:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:474:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:566:20
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:614:20
+ --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:660:35
ERROR `None` is not subscriptable [unsupported-operation]
--> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:633:16
ERROR `None` is not subscriptable [unsupported-operation]
@@ -5504,124 +5474,56 @@
--> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:635:16
ERROR `None` is not subscriptable [unsupported-operation]
--> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:636:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:675:20
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:69:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:114:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:145:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:174:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:203:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:231:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:259:43
-ERROR `dict[str, dict[str, bool | int] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:287:43
-ERROR `dict[str, dict[str, bool | int] | dict[str, bool | str] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:322:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:346:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:371:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:401:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:430:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:459:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:488:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:516:43
ERROR Argument `None` is not assignable to parameter `context` with type `str` in function `graphon.nodes.llm.llm_utils.fetch_prompt_messages` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:123:21
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:125:21
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:604:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:606:65
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:607:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:609:65
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:610:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:612:65
ERROR Argument `list[UserPromptMessage]` is not assignable to parameter `prompt_messages` with type `list[PromptMessage]` in function `graphon.nodes.llm.llm_utils._append_file_prompts` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:726:29
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:728:29
ERROR Argument `list[SystemPromptMessage]` is not assignable to parameter `prompt_messages` with type `list[PromptMessage]` in function `graphon.nodes.llm.llm_utils._append_file_prompts` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:742:29
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.llm.node.LLMNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:215:16
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:744:29
ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1224:9
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1216:9
ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1254:9
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1246:9
ERROR Argument `Iterator[LLMResultChunk | LLMStructuredOutput] | Iterator[Any]` is not assignable to parameter `invoke_result` with type `Generator[LLMResultChunk | LLMStructuredOutput] | LLMResult` in function `graphon.nodes.llm.node.LLMNode.handle_invoke_result` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1513:31
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1504:31
ERROR Argument `Generator[None, Unknown]` is not assignable to parameter `invoke_result` with type `Generator[LLMResultChunk | LLMStructuredOutput] | LLMResult` in function `graphon.nodes.llm.node.LLMNode.handle_invoke_result` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1551:31
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1541:31
ERROR Missing argument `run_context` in function `core.app.llm.model_access.DifyCredentialsProvider.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1744:32
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1733:32
ERROR Missing argument `run_context` in function `core.app.llm.model_access.DifyModelFactory.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1747:25
-ERROR `dict[str, list[Unknown] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:113:48
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1736:25
ERROR `in` is not supported between `Literal['variables']` and `object` [not-iterable]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:127:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:145:16
ERROR `in` is not supported between `Literal['template']` and `object` [not-iterable]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:128:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:146:16
ERROR Cannot index into `object` [bad-index]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:129:16
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:203:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:307:48
-ERROR `dict[str, list[Unknown] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:414:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:453:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:482:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:512:48
-ERROR `dict[str, list[@_] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/test_template_transform_node.py:43:21
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.document_extractor.node.DocumentExtractorNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_document_extractor_node.py:51:16
-ERROR Argument `dict[str, dict[str, list[dict[str, list[str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:113:16
-ERROR Argument `dict[str, dict[str, list[dict[str, list[str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:183:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:249:16
-ERROR `dict[str, list[dict[str, Any]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:341:42
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:409:21
-ERROR `dict[str, list[dict[str, list[dict[str, list[str] | str]] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:479:42
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_list_operator.py:59:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:37:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:147:16
+ERROR Argument `dict[str, list[dict[str, Any]] | str]` is not assignable to parameter `node_data` with type `IfElseNodeData | dict[str, object]` in function `_build_if_else_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/test_if_else.py:330:19
+ERROR Argument `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to parameter `node_data` with type `IfElseNodeData | dict[str, object]` in function `_build_if_else_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/test_if_else.py:395:19
+ERROR Argument `dict[str, list[dict[str, list[dict[str, list[str] | str]] | str]] | str]` is not assignable to parameter `node_data` with type `IfElseNodeData | dict[str, object]` in function `_build_if_else_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/test_if_else.py:463:19
ERROR `Literal['{invalid-json-schema']` is not assignable to attribute `json_schema` with type `dict[str, Any] | None` [bad-assignment]
- --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:211:28
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:269:16
+ --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:208:28
ERROR Returned type `VariableBase` is not assignable to declared return type `ArrayAnyVariable | ArrayBooleanVariable | ArrayFileVariable | ArrayNumberVariable | ArrayObjectVariable | ArrayStringVariable | BooleanVariable | FileVariable | FloatVariable | IntegerVariable | NoneVariable | ObjectVariable | SecretVariable | StringVariable` [bad-return]
- --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:294:12
+ --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:288:12
ERROR Object of class `ModuleType` has no attribute `TraceQueueManager` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:62:9
-ERROR Object of class `ModuleType` has no attribute `TraceTask` [missing-attribute]
--> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:63:9
-ERROR Argument `_StubToolRuntime` is not assignable to parameter `runtime` with type `ToolNodeRuntimeProtocol | None` in function `graphon.nodes.tool.tool_node.ToolNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:116:17
+ERROR Object of class `ModuleType` has no attribute `TraceTask` [missing-attribute]
+ --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:64:9
+ERROR Argument `_StubToolRuntime` is not assignable to parameter `runtime` with type `ToolNodeRuntimeProtocol` in function `graphon.nodes.tool.tool_node.ToolNode.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:117:17
ERROR Argument `Iterator[ToolRuntimeMessage] | Iterator[Any]` is not assignable to parameter `messages` with type `Generator[ToolRuntimeMessage]` in function `graphon.nodes.tool.tool_node.ToolNode._transform_message` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:132:18
-ERROR Argument `Generator[NodeEventBase, None, LLMUsage]` is not assignable to parameter `generator` with type `Generator[Unknown]` in function `_collect_events` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:138:28
+ --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:133:18
ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
-\n\n... (truncated) ... |
Contributor
Pyrefly Diffbase → PR--- /tmp/pyrefly_base.txt 2026-04-18 09:27:31.889058922 +0000
+++ /tmp/pyrefly_pr.txt 2026-04-18 09:27:20.713078473 +0000
@@ -2,8 +2,6 @@
--> app_factory.py:132:5
ERROR Object of class `App` has no attribute `access_mode` [missing-attribute]
--> controllers/console/app/app.py:552:13
-ERROR Object of class `object` has no attribute `value` [missing-attribute]
- --> controllers/console/app/conversation_variables.py:48:24
ERROR Argument `str | None` is not assignable to parameter `language` with type `str` in function `services.account_service.AccountService.send_email_register_email` [bad-argument-type]
--> controllers/console/auth/email_register.py:75:108
ERROR Object of class `MissingRouter` has no attribute `get` [missing-attribute]
@@ -20,8 +18,6 @@
--> controllers/console/socketio/workflow.py:45:14
ERROR Object of class `MissingRouter` has no attribute `get` [missing-attribute]
--> controllers/console/version.py:30:2
-ERROR Object of class `object` has no attribute `value` [missing-attribute]
- --> controllers/service_api/app/conversation.py:87:24
ERROR Class member `EasyUIBasedGenerateTaskPipeline._application_generate_entity` overrides parent class `BasedGenerateTaskPipeline` in an inconsistent manner [bad-override]
--> core/app/task_pipeline/easy_ui_based_generate_task_pipeline.py:75:5
ERROR `+=` is not supported between `list[PromptMessageContentUnionTypes]` and `str` [unsupported-operation]
@@ -46,26 +42,6 @@
--> core/llm_generator/llm_generator.py:394:60
ERROR No matching overload found for function `core.model_manager.ModelInstance.invoke_llm` called with arguments: (prompt_messages=list[SystemPromptMessage | UserPromptMessage], model_parameters=dict[str, float], stream=Literal[False]) [no-matching-overload]
--> core/llm_generator/llm_generator.py:582:60
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:171:17
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:196:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:216:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:238:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:255:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:280:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:308:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:327:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:343:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:360:13
ERROR Class member `OpsTraceProviderConfigMap.__getitem__` overrides parent class `UserDict` in an inconsistent manner [bad-param-name-override]
--> core/ops/ops_trace_manager.py:206:9
ERROR Object of class `NoneType` has no attribute `data_source_type` [missing-attribute]
@@ -116,8 +92,6 @@
--> extensions/storage/huawei_obs_storage.py:27:23
ERROR Cannot index into `Literal['']` [bad-index]
--> extensions/storage/huawei_obs_storage.py:31:20
-ERROR Object of class `object` has no attribute `value` [missing-attribute]
- --> fields/conversation_variable_fields.py:60:24
ERROR Argument `Module[Crypto.Hash.SHA1] | Unknown` is not assignable to parameter with type `Hash | HashModule` [bad-argument-type]
--> libs/gmpy2_pkcs10aep_cipher.py:73:49
ERROR Object of class `NoneType` has no attribute `trace_id` [missing-attribute]
@@ -810,6 +784,8 @@
--> services/hit_testing_service.py:92:28
ERROR Argument `RetrievalMethod | bool | dict[str, str] | int | Any | None` is not assignable to parameter `weights` with type `WeightsDict | None` in function `core.rag.datasource.retrieval_service.RetrievalService.retrieve` [bad-argument-type]
--> services/hit_testing_service.py:93:21
+ERROR Argument `bool | str | Any` is not assignable to parameter `token` with type `str` in function `core.helper.encrypter.encrypt_token` [bad-argument-type]
+ --> services/model_load_balancing_service.py:623:71
ERROR `handled_tenant_count` was assigned in the current scope before the nonlocal declaration [unknown-name]
--> services/plugin/plugin_migration.py:92:34
ERROR `dict[str, Any]` is not assignable to attribute `credentials` with type `Never` [bad-assignment]
@@ -830,12 +806,10 @@
--> tests/integration_tests/controllers/console/app/test_feedback_export_api.py:32:22
ERROR Argument `Literal['normal']` is not assignable to parameter `value` with type `AppStatus | SQLCoreOperations[AppStatus]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
--> tests/integration_tests/controllers/console/app/test_model_config_permissions.py:28:22
-ERROR `dict[str, str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:75:21
ERROR Argument `_GP` is not assignable to parameter `graph_init_params` with type `GraphInitParams` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:85:27
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:83:27
ERROR Argument `_GS` is not assignable to parameter `graph_runtime_state` with type `GraphRuntimeState` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:86:29
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:84:29
ERROR Could not import `Overflow` from `libs.broadcast_channel.channel` [missing-module-attribute]
--> tests/integration_tests/libs/broadcast_channel/redis/utils/test_data.py:11:44
ERROR `unpatch` may be uninitialized [unbound-name]
@@ -856,26 +830,18 @@
--> tests/integration_tests/services/test_workflow_draft_variable_service.py:651:21
ERROR Object of class `TestWorkflowDraftVariableServiceResetVariable` has no attribute `_test_user_id` [missing-attribute]
--> tests/integration_tests/services/test_workflow_draft_variable_service.py:817:21
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.code.code_node.CodeNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_code.py:68:16
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_http.py:79:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:83:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/integration_tests/workflow/nodes/test_http.py:84:35
-ERROR Argument `dict[str, dict[str, dict[str, dict[str, str] | str] | str | Unknown | None] | str] | dict[str, dict[str, str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_http.py:727:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:242:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:731:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/integration_tests/workflow/nodes/test_http.py:732:35
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.llm.node.LLMNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_llm.py:79:16
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.parameter_extractor.parameter_extractor_node.ParameterExtractorNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_parameter_extractor.py:73:16
-ERROR Argument `dict[str, dict[str, list[dict[str, list[str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.template_transform.template_transform_node.TemplateTransformNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_template_transform.py:90:16
ERROR Argument `_SimpleJinja2Renderer` is not assignable to parameter `jinja2_template_renderer` with type `Jinja2TemplateRenderer` in function `graphon.nodes.template_transform.template_transform_node.TemplateTransformNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_template_transform.py:93:34
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.tool.tool_node.ToolNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_tool.py:64:16
+ --> tests/integration_tests/workflow/nodes/test_template_transform.py:94:34
ERROR `dict[str, str | None]` is not assignable to attribute `env` with type `dict[str, str]` [bad-assignment]
--> tests/test_containers_integration_tests/conftest.py:204:39
ERROR Argument value `Literal[0]` violates Pydantic `ge` constraint `Literal[1]` for field `page` [bad-argument-type]
@@ -994,12 +960,6 @@
--> tests/test_containers_integration_tests/core/rag/retrieval/test_dataset_retrieval_integration.py:574:23
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
--> tests/test_containers_integration_tests/core/rag/retrieval/test_dataset_retrieval_integration.py:584:23
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:105:40
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:120:40
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:134:38
ERROR Argument `Connection | Engine` is not assignable to parameter `session_factory` with type `Engine | sessionmaker[Unknown]` in function `core.repositories.sqlalchemy_workflow_execution_repository.SQLAlchemyWorkflowExecutionRepository.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:264:29
ERROR Argument `Connection | Engine` is not assignable to parameter `session_factory` with type `Engine | sessionmaker[Unknown]` in function `core.repositories.sqlalchemy_workflow_node_execution_repository.SQLAlchemyWorkflowNodeExecutionRepository.__init__` [bad-argument-type]
@@ -1356,7 +1316,7 @@
--> tests/test_containers_integration_tests/services/test_file_service.py:78:20
ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_human_input_delivery_test.py:32:18
-ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_compat.EmailRecipients.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_adapter.EmailRecipients.__init__` [unexpected-keyword]
--> tests/test_containers_integration_tests/services/test_human_input_delivery_test_service.py:239:44
ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_message_export_service.py:53:20
@@ -3263,43 +3223,43 @@
ERROR Object of class `ModuleType` has no attribute `TraceQueueManager` [missing-attribute]
--> tests/unit_tests/core/app/apps/test_pause_resume.py:42:5
ERROR Class member `_StubToolNode._run` overrides parent class `Node` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:79:9
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:92:9
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:220:19
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:226:19
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow` with type `Workflow` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:221:18
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:227:18
ERROR Argument `SimpleNamespace` is not assignable to parameter `user` with type `Account | EndUser` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:222:14
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:228:14
ERROR Argument `SimpleNamespace` is not assignable to parameter `application_generate_entity` with type `WorkflowAppGenerateEntity` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:223:37
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:37
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_execution_repository` with type `WorkflowExecutionRepository` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:225:39
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:231:39
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_node_execution_repository` with type `WorkflowNodeExecutionRepository` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:226:44
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:232:44
ERROR `+` is not supported between `list[str]` and `Generator[Mapping[str, Any] | str]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:235:12
ERROR `+` is not supported between `list[str]` and `Mapping[str, Any]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:235:12
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:260:19
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:266:19
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow` with type `Workflow` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:261:18
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:267:18
ERROR Argument `SimpleNamespace` is not assignable to parameter `user` with type `Account | EndUser` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:262:14
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:268:14
ERROR Argument `SimpleNamespace` is not assignable to parameter `conversation` with type `Conversation` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:263:22
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:269:22
ERROR Argument `SimpleNamespace` is not assignable to parameter `message` with type `Message` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:264:17
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:270:17
ERROR Argument `SimpleNamespace` is not assignable to parameter `application_generate_entity` with type `AdvancedChatAppGenerateEntity` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:265:37
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:37
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_execution_repository` with type `WorkflowExecutionRepository` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:266:39
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:272:39
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_node_execution_repository` with type `WorkflowNodeExecutionRepository` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:267:44
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:273:44
ERROR `+` is not supported between `list[str]` and `Generator[Mapping[str, Any] | str]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:277:12
ERROR `+` is not supported between `list[str]` and `Mapping[str, Any]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:277:12
ERROR Cannot index into `str` [bad-index]
--> tests/unit_tests/core/app/apps/test_streaming_utils.py:79:12
ERROR Argument `FakeTopic` is not assignable to parameter `topic` with type `Topic` in function `core.app.apps.streaming_utils.stream_topic_events` [bad-argument-type]
@@ -3972,8 +3932,8 @@
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:174:16
ERROR Object of class `object` has no attribute `total_steps` [missing-attribute]
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:175:16
-ERROR `SimpleNamespace` is not assignable to attribute `_graph_execution` with type `GraphExecutionProtocol | None` [bad-assignment]
- --> tests/unit_tests/core/app/workflow/test_persistence_layer.py:182:42
+ERROR Object of class `GraphRuntimeState` has no attribute `_graph_execution` [missing-attribute]
+ --> tests/unit_tests/core/app/workflow/test_persistence_layer.py:182:9
ERROR Object of class `object` has no attribute `status` [missing-attribute]
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:189:16
ERROR Object of class `object` has no attribute `exceptions_count` [missing-attribute]
@@ -5334,6 +5294,16 @@
ERROR Object of class `BlobChunkMessage` has no attribute `variable_value`
ERROR Object of class `BlobChunkMessage` has no attribute `stream`
ERROR Object of class `BlobChunkMessage` has no attribute `file_marker`
+ERROR Argument `object` is not assignable to parameter `obj` with type `Sized` in function `len` [bad-argument-type]
+ --> tests/unit_tests/core/variables/test_segment.py:503:20
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:504:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:505:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:512:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:513:16
ERROR Cannot set field `value` [read-only]
--> tests/unit_tests/core/variables/test_variables.py:20:9
ERROR Cannot set field `value` [read-only]
@@ -5363,47 +5333,39 @@
ERROR Could not find name `NodeType` [unknown-name]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_config.py:158:46
ERROR Cannot extend final class `DifyNodeFactory` [invalid-inheritance]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:37:23
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:38:23
ERROR Cannot set item in `dict[str, type[MockAgentNode] | type[MockCodeNode] | type[MockDocumentExtractorNode] | type[MockHttpRequestNode] | type[MockIterationNode] | type[MockKnowledgeRetrievalNode] | type[MockLLMNode] | type[MockLoopNode] | type[MockParameterExtractorNode] | type[MockQuestionClassifierNode] | type[MockTemplateTransformNode] | type[MockToolNode]]` [unsupported-operation]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:161:44
-ERROR Unexpected keyword argument `id` in function `object.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:99:13
-ERROR Unexpected keyword argument `config` in function `object.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:162:44
+ERROR Unexpected keyword argument `node_id` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:100:13
-ERROR Unexpected keyword argument `graph_init_params` in function `object.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `config` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:101:13
-ERROR Unexpected keyword argument `graph_runtime_state` in function `object.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `graph_init_params` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:102:13
+ERROR Unexpected keyword argument `graph_runtime_state` in function `object.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:103:13
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:113:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:114:56
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:128:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:129:56
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:139:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:140:56
ERROR Class member `MockKnowledgeRetrievalNode.version` overrides parent class `KnowledgeRetrievalNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:350:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:351:9
ERROR Class member `MockKnowledgeRetrievalNode._run` overrides parent class `KnowledgeRetrievalNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:354:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:355:9
ERROR Class member `MockHttpRequestNode._run` overrides parent class `HttpRequestNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:411:9
-ERROR Class member `MockQuestionClassifierNode.version` overrides parent class `QuestionClassifierNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:460:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:412:9
ERROR Class member `MockQuestionClassifierNode._run` overrides parent class `QuestionClassifierNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:464:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:465:9
ERROR Class member `MockParameterExtractorNode._run` overrides parent class `ParameterExtractorNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:512:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:513:9
ERROR Class member `MockDocumentExtractorNode._run` overrides parent class `DocumentExtractorNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:562:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:563:9
ERROR Argument `str | None` is not assignable to parameter `root_node_id` with type `str` in function `graphon.graph.graph.Graph.init` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:661:85
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:143:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:158:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:168:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:186:16
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:662:85
+ERROR Class member `MockLoopNode._create_graph_engine` overrides parent class `LoopNode` in an inconsistent manner [bad-override]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:690:9
ERROR Argument `Sequence[type[GraphEngineEvent]]` is not assignable to parameter `expected_sequence` with type `list[type[GraphEngineEvent]]` in function `TableTestRunner._validate_event_sequence` [bad-argument-type]
--> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:402:21
ERROR `graph` is uninitialized [unbound-name]
@@ -5412,20 +5374,52 @@
--> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:456:37
ERROR Argument `Iterator[Unknown]` is not assignable to parameter `messages` with type `Generator[ToolInvokeMessage]` in function `core.workflow.nodes.agent.message_transformer.AgentMessageTransformer.transform` [bad-argument-type]
--> tests/unit_tests/core/workflow/nodes/agent/test_message_transformer.py:15:26
-ERROR Argument `dict[str, dict[str, str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/answer/test_answer.py:82:16
ERROR Class member `_Version1._get_retry_config` overrides parent class `Node` in an inconsistent manner [bad-override]
--> tests/unit_tests/core/workflow/nodes/base/test_get_node_type_classes_mapping.py:53:13
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:150:44
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:157:44
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:164:45
ERROR `BaseNodeData` is not assignable to attribute `_node_data` with type `CodeNodeData` [bad-assignment]
--> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:440:27
ERROR `BaseNodeData` is not assignable to attribute `_node_data` with type `CodeNodeData` [bad-assignment]
--> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:456:27
-ERROR `dict[str, str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:83:21
ERROR Argument `_GraphParams` is not assignable to parameter `graph_init_params` with type `GraphInitParams` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:93:27
+ --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:91:27
ERROR Argument `_GraphState` is not assignable to parameter `graph_runtime_state` with type `GraphRuntimeState` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:94:29
+ --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:92:29
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:64:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:120:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:178:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:224:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:271:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:324:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:361:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:413:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:440:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:467:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:494:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:520:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:570:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:617:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:658:21
ERROR Cannot index into `object` [bad-index]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:32:15
ERROR Cannot index into `object` [bad-index]
@@ -5438,64 +5432,40 @@
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:65:12
ERROR Cannot index into `object` [bad-index]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:66:12
-ERROR Argument `dict[str, Any]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:118:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:122:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:123:35
+ERROR Argument `Response` is not assignable to parameter `response` with type `HttpResponse` in function `graphon.nodes.http_request.entities.Response.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:158:17
ERROR Object of class `NoneType` has no attribute `type` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:184:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:204:16
ERROR Object of class `NoneType` has no attribute `value` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:185:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:205:16
ERROR Object of class `NoneType` has no attribute `type` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:193:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:213:16
ERROR Object of class `NoneType` has no attribute `selector` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:194:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:214:16
ERROR Object of class `HumanInputNodeData` has no attribute `delivery_methods` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:278:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:298:20
ERROR Object of class `HumanInputNodeData` has no attribute `delivery_methods` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:301:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:321:20
ERROR Object of class `ExternalRecipient` has no attribute `reference_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:394:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:414:16
ERROR Object of class `BoundRecipient` has no attribute `email` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:395:16
-ERROR Missing argument `reference_id` in function `core.workflow.human_input_compat.BoundRecipient.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:399:28
-ERROR Unexpected keyword argument `user_id` in function `core.workflow.human_input_compat.BoundRecipient.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:399:61
-ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_compat.EmailRecipients.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:401:38
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:470:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:415:16
+ERROR Missing argument `reference_id` in function `core.workflow.human_input_adapter.BoundRecipient.__init__` [missing-argument]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:419:28
+ERROR Unexpected keyword argument `user_id` in function `core.workflow.human_input_adapter.BoundRecipient.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:419:61
+ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_adapter.EmailRecipients.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:421:38
ERROR Object of class `SchedulingPause` has no attribute `resolved_default_values` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:481:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:535:20
-ERROR Argument `dict[str, dict[str, list[dict[str, bool | dict[Unknown, Unknown] | str]] | list[dict[str, str]] | list[Unknown] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:600:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:676:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:775:20
-ERROR Argument `dict[str, dict[str, list[dict[str, str]] | list[dict[str, dict[str, str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_human_input_form_filled_event.py:85:16
-ERROR Argument `dict[str, dict[str, list[dict[str, str]] | list[dict[str, dict[str, str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_human_input_form_filled_event.py:150:16
-ERROR `dict[str, list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/iteration/test_iteration_child_engine_errors.py:50:21
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_index.knowledge_index_node.KnowledgeIndexNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:120:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:501:16
+ERROR Argument `dict[str, list[str] | str]` is not assignable to parameter `node_data` with type `KnowledgeIndexNodeData | dict[str, object]` in function `_build_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:139:23
ERROR Argument `dict[str, bool]` is not assignable to parameter `summary_index_setting` with type `SummaryIndexSettingDict | None` in function `core.workflow.nodes.knowledge_index.knowledge_index_node.KnowledgeIndexNode._invoke_knowledge_index` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:641:35
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:110:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:198:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:474:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:566:20
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:614:20
+ --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:660:35
ERROR `None` is not subscriptable [unsupported-operation]
--> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:633:16
ERROR `None` is not subscriptable [unsupported-operation]
@@ -5504,124 +5474,56 @@
--> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:635:16
ERROR `None` is not subscriptable [unsupported-operation]
--> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:636:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:675:20
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:69:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:114:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:145:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:174:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:203:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:231:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:259:43
-ERROR `dict[str, dict[str, bool | int] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:287:43
-ERROR `dict[str, dict[str, bool | int] | dict[str, bool | str] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:322:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:346:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:371:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:401:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:430:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:459:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:488:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:516:43
ERROR Argument `None` is not assignable to parameter `context` with type `str` in function `graphon.nodes.llm.llm_utils.fetch_prompt_messages` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:123:21
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:125:21
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:604:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:606:65
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:607:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:609:65
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:610:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:612:65
ERROR Argument `list[UserPromptMessage]` is not assignable to parameter `prompt_messages` with type `list[PromptMessage]` in function `graphon.nodes.llm.llm_utils._append_file_prompts` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:726:29
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:728:29
ERROR Argument `list[SystemPromptMessage]` is not assignable to parameter `prompt_messages` with type `list[PromptMessage]` in function `graphon.nodes.llm.llm_utils._append_file_prompts` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:742:29
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.llm.node.LLMNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:215:16
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:744:29
ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1224:9
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1216:9
ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1254:9
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1246:9
ERROR Argument `Iterator[LLMResultChunk | LLMStructuredOutput] | Iterator[Any]` is not assignable to parameter `invoke_result` with type `Generator[LLMResultChunk | LLMStructuredOutput] | LLMResult` in function `graphon.nodes.llm.node.LLMNode.handle_invoke_result` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1513:31
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1504:31
ERROR Argument `Generator[None, Unknown]` is not assignable to parameter `invoke_result` with type `Generator[LLMResultChunk | LLMStructuredOutput] | LLMResult` in function `graphon.nodes.llm.node.LLMNode.handle_invoke_result` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1551:31
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1541:31
ERROR Missing argument `run_context` in function `core.app.llm.model_access.DifyCredentialsProvider.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1744:32
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1733:32
ERROR Missing argument `run_context` in function `core.app.llm.model_access.DifyModelFactory.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1747:25
-ERROR `dict[str, list[Unknown] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:113:48
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1736:25
ERROR `in` is not supported between `Literal['variables']` and `object` [not-iterable]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:127:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:145:16
ERROR `in` is not supported between `Literal['template']` and `object` [not-iterable]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:128:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:146:16
ERROR Cannot index into `object` [bad-index]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:129:16
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:203:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:307:48
-ERROR `dict[str, list[Unknown] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:414:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:453:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:482:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:512:48
-ERROR `dict[str, list[@_] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/test_template_transform_node.py:43:21
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.document_extractor.node.DocumentExtractorNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_document_extractor_node.py:51:16
-ERROR Argument `dict[str, dict[str, list[dict[str, list[str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:113:16
-ERROR Argument `dict[str, dict[str, list[dict[str, list[str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:183:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:249:16
-ERROR `dict[str, list[dict[str, Any]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:341:42
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:409:21
-ERROR `dict[str, list[dict[str, list[dict[str, list[str] | str]] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:479:42
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_list_operator.py:59:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:37:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:147:16
+ERROR Argument `dict[str, list[dict[str, Any]] | str]` is not assignable to parameter `node_data` with type `IfElseNodeData | dict[str, object]` in function `_build_if_else_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/test_if_else.py:330:19
+ERROR Argument `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to parameter `node_data` with type `IfElseNodeData | dict[str, object]` in function `_build_if_else_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/test_if_else.py:395:19
+ERROR Argument `dict[str, list[dict[str, list[dict[str, list[str] | str]] | str]] | str]` is not assignable to parameter `node_data` with type `IfElseNodeData | dict[str, object]` in function `_build_if_else_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/test_if_else.py:463:19
ERROR `Literal['{invalid-json-schema']` is not assignable to attribute `json_schema` with type `dict[str, Any] | None` [bad-assignment]
- --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:211:28
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:269:16
+ --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:208:28
ERROR Returned type `VariableBase` is not assignable to declared return type `ArrayAnyVariable | ArrayBooleanVariable | ArrayFileVariable | ArrayNumberVariable | ArrayObjectVariable | ArrayStringVariable | BooleanVariable | FileVariable | FloatVariable | IntegerVariable | NoneVariable | ObjectVariable | SecretVariable | StringVariable` [bad-return]
- --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:294:12
+ --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:288:12
ERROR Object of class `ModuleType` has no attribute `TraceQueueManager` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:62:9
-ERROR Object of class `ModuleType` has no attribute `TraceTask` [missing-attribute]
--> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:63:9
-ERROR Argument `_StubToolRuntime` is not assignable to parameter `runtime` with type `ToolNodeRuntimeProtocol | None` in function `graphon.nodes.tool.tool_node.ToolNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:116:17
+ERROR Object of class `ModuleType` has no attribute `TraceTask` [missing-attribute]
+ --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:64:9
+ERROR Argument `_StubToolRuntime` is not assignable to parameter `runtime` with type `ToolNodeRuntimeProtocol` in function `graphon.nodes.tool.tool_node.ToolNode.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:117:17
ERROR Argument `Iterator[ToolRuntimeMessage] | Iterator[Any]` is not assignable to parameter `messages` with type `Generator[ToolRuntimeMessage]` in function `graphon.nodes.tool.tool_node.ToolNode._transform_message` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:132:18
-ERROR Argument `Generator[NodeEventBase, None, LLMUsage]` is not assignable to parameter `generator` with type `Generator[Unknown]` in function `_collect_events` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:138:28
+ --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:133:18
ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
... (truncated) ... |
Contributor
Pyrefly Diffbase → PR--- /tmp/pyrefly_base.txt 2026-04-18 09:27:31.889058922 +0000
+++ /tmp/pyrefly_pr.txt 2026-04-18 09:27:20.713078473 +0000
@@ -2,8 +2,6 @@
--> app_factory.py:132:5
ERROR Object of class `App` has no attribute `access_mode` [missing-attribute]
--> controllers/console/app/app.py:552:13
-ERROR Object of class `object` has no attribute `value` [missing-attribute]
- --> controllers/console/app/conversation_variables.py:48:24
ERROR Argument `str | None` is not assignable to parameter `language` with type `str` in function `services.account_service.AccountService.send_email_register_email` [bad-argument-type]
--> controllers/console/auth/email_register.py:75:108
ERROR Object of class `MissingRouter` has no attribute `get` [missing-attribute]
@@ -20,8 +18,6 @@
--> controllers/console/socketio/workflow.py:45:14
ERROR Object of class `MissingRouter` has no attribute `get` [missing-attribute]
--> controllers/console/version.py:30:2
-ERROR Object of class `object` has no attribute `value` [missing-attribute]
- --> controllers/service_api/app/conversation.py:87:24
ERROR Class member `EasyUIBasedGenerateTaskPipeline._application_generate_entity` overrides parent class `BasedGenerateTaskPipeline` in an inconsistent manner [bad-override]
--> core/app/task_pipeline/easy_ui_based_generate_task_pipeline.py:75:5
ERROR `+=` is not supported between `list[PromptMessageContentUnionTypes]` and `str` [unsupported-operation]
@@ -46,26 +42,6 @@
--> core/llm_generator/llm_generator.py:394:60
ERROR No matching overload found for function `core.model_manager.ModelInstance.invoke_llm` called with arguments: (prompt_messages=list[SystemPromptMessage | UserPromptMessage], model_parameters=dict[str, float], stream=Literal[False]) [no-matching-overload]
--> core/llm_generator/llm_generator.py:582:60
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:171:17
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:196:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:216:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:238:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:255:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:280:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:308:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:327:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:343:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:360:13
ERROR Class member `OpsTraceProviderConfigMap.__getitem__` overrides parent class `UserDict` in an inconsistent manner [bad-param-name-override]
--> core/ops/ops_trace_manager.py:206:9
ERROR Object of class `NoneType` has no attribute `data_source_type` [missing-attribute]
@@ -116,8 +92,6 @@
--> extensions/storage/huawei_obs_storage.py:27:23
ERROR Cannot index into `Literal['']` [bad-index]
--> extensions/storage/huawei_obs_storage.py:31:20
-ERROR Object of class `object` has no attribute `value` [missing-attribute]
- --> fields/conversation_variable_fields.py:60:24
ERROR Argument `Module[Crypto.Hash.SHA1] | Unknown` is not assignable to parameter with type `Hash | HashModule` [bad-argument-type]
--> libs/gmpy2_pkcs10aep_cipher.py:73:49
ERROR Object of class `NoneType` has no attribute `trace_id` [missing-attribute]
@@ -810,6 +784,8 @@
--> services/hit_testing_service.py:92:28
ERROR Argument `RetrievalMethod | bool | dict[str, str] | int | Any | None` is not assignable to parameter `weights` with type `WeightsDict | None` in function `core.rag.datasource.retrieval_service.RetrievalService.retrieve` [bad-argument-type]
--> services/hit_testing_service.py:93:21
+ERROR Argument `bool | str | Any` is not assignable to parameter `token` with type `str` in function `core.helper.encrypter.encrypt_token` [bad-argument-type]
+ --> services/model_load_balancing_service.py:623:71
ERROR `handled_tenant_count` was assigned in the current scope before the nonlocal declaration [unknown-name]
--> services/plugin/plugin_migration.py:92:34
ERROR `dict[str, Any]` is not assignable to attribute `credentials` with type `Never` [bad-assignment]
@@ -830,12 +806,10 @@
--> tests/integration_tests/controllers/console/app/test_feedback_export_api.py:32:22
ERROR Argument `Literal['normal']` is not assignable to parameter `value` with type `AppStatus | SQLCoreOperations[AppStatus]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
--> tests/integration_tests/controllers/console/app/test_model_config_permissions.py:28:22
-ERROR `dict[str, str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:75:21
ERROR Argument `_GP` is not assignable to parameter `graph_init_params` with type `GraphInitParams` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:85:27
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:83:27
ERROR Argument `_GS` is not assignable to parameter `graph_runtime_state` with type `GraphRuntimeState` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:86:29
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:84:29
ERROR Could not import `Overflow` from `libs.broadcast_channel.channel` [missing-module-attribute]
--> tests/integration_tests/libs/broadcast_channel/redis/utils/test_data.py:11:44
ERROR `unpatch` may be uninitialized [unbound-name]
@@ -856,26 +830,18 @@
--> tests/integration_tests/services/test_workflow_draft_variable_service.py:651:21
ERROR Object of class `TestWorkflowDraftVariableServiceResetVariable` has no attribute `_test_user_id` [missing-attribute]
--> tests/integration_tests/services/test_workflow_draft_variable_service.py:817:21
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.code.code_node.CodeNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_code.py:68:16
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_http.py:79:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:83:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/integration_tests/workflow/nodes/test_http.py:84:35
-ERROR Argument `dict[str, dict[str, dict[str, dict[str, str] | str] | str | Unknown | None] | str] | dict[str, dict[str, str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_http.py:727:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:242:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:731:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/integration_tests/workflow/nodes/test_http.py:732:35
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.llm.node.LLMNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_llm.py:79:16
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.parameter_extractor.parameter_extractor_node.ParameterExtractorNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_parameter_extractor.py:73:16
-ERROR Argument `dict[str, dict[str, list[dict[str, list[str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.template_transform.template_transform_node.TemplateTransformNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_template_transform.py:90:16
ERROR Argument `_SimpleJinja2Renderer` is not assignable to parameter `jinja2_template_renderer` with type `Jinja2TemplateRenderer` in function `graphon.nodes.template_transform.template_transform_node.TemplateTransformNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_template_transform.py:93:34
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.tool.tool_node.ToolNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_tool.py:64:16
+ --> tests/integration_tests/workflow/nodes/test_template_transform.py:94:34
ERROR `dict[str, str | None]` is not assignable to attribute `env` with type `dict[str, str]` [bad-assignment]
--> tests/test_containers_integration_tests/conftest.py:204:39
ERROR Argument value `Literal[0]` violates Pydantic `ge` constraint `Literal[1]` for field `page` [bad-argument-type]
@@ -994,12 +960,6 @@
--> tests/test_containers_integration_tests/core/rag/retrieval/test_dataset_retrieval_integration.py:574:23
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
--> tests/test_containers_integration_tests/core/rag/retrieval/test_dataset_retrieval_integration.py:584:23
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:105:40
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:120:40
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:134:38
ERROR Argument `Connection | Engine` is not assignable to parameter `session_factory` with type `Engine | sessionmaker[Unknown]` in function `core.repositories.sqlalchemy_workflow_execution_repository.SQLAlchemyWorkflowExecutionRepository.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:264:29
ERROR Argument `Connection | Engine` is not assignable to parameter `session_factory` with type `Engine | sessionmaker[Unknown]` in function `core.repositories.sqlalchemy_workflow_node_execution_repository.SQLAlchemyWorkflowNodeExecutionRepository.__init__` [bad-argument-type]
@@ -1356,7 +1316,7 @@
--> tests/test_containers_integration_tests/services/test_file_service.py:78:20
ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_human_input_delivery_test.py:32:18
-ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_compat.EmailRecipients.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_adapter.EmailRecipients.__init__` [unexpected-keyword]
--> tests/test_containers_integration_tests/services/test_human_input_delivery_test_service.py:239:44
ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_message_export_service.py:53:20
@@ -3263,43 +3223,43 @@
ERROR Object of class `ModuleType` has no attribute `TraceQueueManager` [missing-attribute]
--> tests/unit_tests/core/app/apps/test_pause_resume.py:42:5
ERROR Class member `_StubToolNode._run` overrides parent class `Node` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:79:9
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:92:9
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:220:19
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:226:19
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow` with type `Workflow` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:221:18
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:227:18
ERROR Argument `SimpleNamespace` is not assignable to parameter `user` with type `Account | EndUser` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:222:14
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:228:14
ERROR Argument `SimpleNamespace` is not assignable to parameter `application_generate_entity` with type `WorkflowAppGenerateEntity` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:223:37
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:37
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_execution_repository` with type `WorkflowExecutionRepository` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:225:39
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:231:39
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_node_execution_repository` with type `WorkflowNodeExecutionRepository` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:226:44
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:232:44
ERROR `+` is not supported between `list[str]` and `Generator[Mapping[str, Any] | str]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:235:12
ERROR `+` is not supported between `list[str]` and `Mapping[str, Any]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:235:12
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:260:19
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:266:19
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow` with type `Workflow` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:261:18
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:267:18
ERROR Argument `SimpleNamespace` is not assignable to parameter `user` with type `Account | EndUser` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:262:14
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:268:14
ERROR Argument `SimpleNamespace` is not assignable to parameter `conversation` with type `Conversation` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:263:22
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:269:22
ERROR Argument `SimpleNamespace` is not assignable to parameter `message` with type `Message` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:264:17
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:270:17
ERROR Argument `SimpleNamespace` is not assignable to parameter `application_generate_entity` with type `AdvancedChatAppGenerateEntity` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:265:37
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:37
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_execution_repository` with type `WorkflowExecutionRepository` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:266:39
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:272:39
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_node_execution_repository` with type `WorkflowNodeExecutionRepository` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:267:44
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:273:44
ERROR `+` is not supported between `list[str]` and `Generator[Mapping[str, Any] | str]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:277:12
ERROR `+` is not supported between `list[str]` and `Mapping[str, Any]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:277:12
ERROR Cannot index into `str` [bad-index]
--> tests/unit_tests/core/app/apps/test_streaming_utils.py:79:12
ERROR Argument `FakeTopic` is not assignable to parameter `topic` with type `Topic` in function `core.app.apps.streaming_utils.stream_topic_events` [bad-argument-type]
@@ -3972,8 +3932,8 @@
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:174:16
ERROR Object of class `object` has no attribute `total_steps` [missing-attribute]
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:175:16
-ERROR `SimpleNamespace` is not assignable to attribute `_graph_execution` with type `GraphExecutionProtocol | None` [bad-assignment]
- --> tests/unit_tests/core/app/workflow/test_persistence_layer.py:182:42
+ERROR Object of class `GraphRuntimeState` has no attribute `_graph_execution` [missing-attribute]
+ --> tests/unit_tests/core/app/workflow/test_persistence_layer.py:182:9
ERROR Object of class `object` has no attribute `status` [missing-attribute]
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:189:16
ERROR Object of class `object` has no attribute `exceptions_count` [missing-attribute]
@@ -5334,6 +5294,16 @@
ERROR Object of class `BlobChunkMessage` has no attribute `variable_value`
ERROR Object of class `BlobChunkMessage` has no attribute `stream`
ERROR Object of class `BlobChunkMessage` has no attribute `file_marker`
+ERROR Argument `object` is not assignable to parameter `obj` with type `Sized` in function `len` [bad-argument-type]
+ --> tests/unit_tests/core/variables/test_segment.py:503:20
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:504:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:505:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:512:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:513:16
ERROR Cannot set field `value` [read-only]
--> tests/unit_tests/core/variables/test_variables.py:20:9
ERROR Cannot set field `value` [read-only]
@@ -5363,47 +5333,39 @@
ERROR Could not find name `NodeType` [unknown-name]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_config.py:158:46
ERROR Cannot extend final class `DifyNodeFactory` [invalid-inheritance]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:37:23
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:38:23
ERROR Cannot set item in `dict[str, type[MockAgentNode] | type[MockCodeNode] | type[MockDocumentExtractorNode] | type[MockHttpRequestNode] | type[MockIterationNode] | type[MockKnowledgeRetrievalNode] | type[MockLLMNode] | type[MockLoopNode] | type[MockParameterExtractorNode] | type[MockQuestionClassifierNode] | type[MockTemplateTransformNode] | type[MockToolNode]]` [unsupported-operation]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:161:44
-ERROR Unexpected keyword argument `id` in function `object.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:99:13
-ERROR Unexpected keyword argument `config` in function `object.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:162:44
+ERROR Unexpected keyword argument `node_id` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:100:13
-ERROR Unexpected keyword argument `graph_init_params` in function `object.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `config` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:101:13
-ERROR Unexpected keyword argument `graph_runtime_state` in function `object.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `graph_init_params` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:102:13
+ERROR Unexpected keyword argument `graph_runtime_state` in function `object.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:103:13
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:113:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:114:56
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:128:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:129:56
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:139:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:140:56
ERROR Class member `MockKnowledgeRetrievalNode.version` overrides parent class `KnowledgeRetrievalNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:350:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:351:9
ERROR Class member `MockKnowledgeRetrievalNode._run` overrides parent class `KnowledgeRetrievalNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:354:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:355:9
ERROR Class member `MockHttpRequestNode._run` overrides parent class `HttpRequestNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:411:9
-ERROR Class member `MockQuestionClassifierNode.version` overrides parent class `QuestionClassifierNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:460:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:412:9
ERROR Class member `MockQuestionClassifierNode._run` overrides parent class `QuestionClassifierNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:464:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:465:9
ERROR Class member `MockParameterExtractorNode._run` overrides parent class `ParameterExtractorNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:512:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:513:9
ERROR Class member `MockDocumentExtractorNode._run` overrides parent class `DocumentExtractorNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:562:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:563:9
ERROR Argument `str | None` is not assignable to parameter `root_node_id` with type `str` in function `graphon.graph.graph.Graph.init` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:661:85
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:143:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:158:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:168:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:186:16
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:662:85
+ERROR Class member `MockLoopNode._create_graph_engine` overrides parent class `LoopNode` in an inconsistent manner [bad-override]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:690:9
ERROR Argument `Sequence[type[GraphEngineEvent]]` is not assignable to parameter `expected_sequence` with type `list[type[GraphEngineEvent]]` in function `TableTestRunner._validate_event_sequence` [bad-argument-type]
--> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:402:21
ERROR `graph` is uninitialized [unbound-name]
@@ -5412,20 +5374,52 @@
--> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:456:37
ERROR Argument `Iterator[Unknown]` is not assignable to parameter `messages` with type `Generator[ToolInvokeMessage]` in function `core.workflow.nodes.agent.message_transformer.AgentMessageTransformer.transform` [bad-argument-type]
--> tests/unit_tests/core/workflow/nodes/agent/test_message_transformer.py:15:26
-ERROR Argument `dict[str, dict[str, str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/answer/test_answer.py:82:16
ERROR Class member `_Version1._get_retry_config` overrides parent class `Node` in an inconsistent manner [bad-override]
--> tests/unit_tests/core/workflow/nodes/base/test_get_node_type_classes_mapping.py:53:13
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:150:44
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:157:44
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:164:45
ERROR `BaseNodeData` is not assignable to attribute `_node_data` with type `CodeNodeData` [bad-assignment]
--> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:440:27
ERROR `BaseNodeData` is not assignable to attribute `_node_data` with type `CodeNodeData` [bad-assignment]
--> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:456:27
-ERROR `dict[str, str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:83:21
ERROR Argument `_GraphParams` is not assignable to parameter `graph_init_params` with type `GraphInitParams` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:93:27
+ --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:91:27
ERROR Argument `_GraphState` is not assignable to parameter `graph_runtime_state` with type `GraphRuntimeState` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:94:29
+ --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:92:29
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:64:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:120:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:178:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:224:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:271:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:324:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:361:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:413:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:440:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:467:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:494:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:520:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:570:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:617:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:658:21
ERROR Cannot index into `object` [bad-index]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:32:15
ERROR Cannot index into `object` [bad-index]
@@ -5438,64 +5432,40 @@
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:65:12
ERROR Cannot index into `object` [bad-index]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:66:12
-ERROR Argument `dict[str, Any]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:118:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:122:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:123:35
+ERROR Argument `Response` is not assignable to parameter `response` with type `HttpResponse` in function `graphon.nodes.http_request.entities.Response.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:158:17
ERROR Object of class `NoneType` has no attribute `type` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:184:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:204:16
ERROR Object of class `NoneType` has no attribute `value` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:185:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:205:16
ERROR Object of class `NoneType` has no attribute `type` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:193:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:213:16
ERROR Object of class `NoneType` has no attribute `selector` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:194:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:214:16
ERROR Object of class `HumanInputNodeData` has no attribute `delivery_methods` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:278:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:298:20
ERROR Object of class `HumanInputNodeData` has no attribute `delivery_methods` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:301:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:321:20
ERROR Object of class `ExternalRecipient` has no attribute `reference_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:394:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:414:16
ERROR Object of class `BoundRecipient` has no attribute `email` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:395:16
-ERROR Missing argument `reference_id` in function `core.workflow.human_input_compat.BoundRecipient.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:399:28
-ERROR Unexpected keyword argument `user_id` in function `core.workflow.human_input_compat.BoundRecipient.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:399:61
-ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_compat.EmailRecipients.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:401:38
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:470:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:415:16
+ERROR Missing argument `reference_id` in function `core.workflow.human_input_adapter.BoundRecipient.__init__` [missing-argument]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:419:28
+ERROR Unexpected keyword argument `user_id` in function `core.workflow.human_input_adapter.BoundRecipient.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:419:61
+ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_adapter.EmailRecipients.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:421:38
ERROR Object of class `SchedulingPause` has no attribute `resolved_default_values` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:481:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:535:20
-ERROR Argument `dict[str, dict[str, list[dict[str, bool | dict[Unknown, Unknown] | str]] | list[dict[str, str]] | list[Unknown] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:600:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:676:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:775:20
-ERROR Argument `dict[str, dict[str, list[dict[str, str]] | list[dict[str, dict[str, str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_human_input_form_filled_event.py:85:16
-ERROR Argument `dict[str, dict[str, list[dict[str, str]] | list[dict[str, dict[str, str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_human_input_form_filled_event.py:150:16
-ERROR `dict[str, list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/iteration/test_iteration_child_engine_errors.py:50:21
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_index.knowledge_index_node.KnowledgeIndexNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:120:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:501:16
+ERROR Argument `dict[str, list[str] | str]` is not assignable to parameter `node_data` with type `KnowledgeIndexNodeData | dict[str, object]` in function `_build_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:139:23
ERROR Argument `dict[str, bool]` is not assignable to parameter `summary_index_setting` with type `SummaryIndexSettingDict | None` in function `core.workflow.nodes.knowledge_index.knowledge_index_node.KnowledgeIndexNode._invoke_knowledge_index` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:641:35
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:110:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:198:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:474:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:566:20
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:614:20
+ --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:660:35
ERROR `None` is not subscriptable [unsupported-operation]
--> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:633:16
ERROR `None` is not subscriptable [unsupported-operation]
@@ -5504,124 +5474,56 @@
--> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:635:16
ERROR `None` is not subscriptable [unsupported-operation]
--> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:636:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:675:20
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:69:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:114:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:145:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:174:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:203:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:231:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:259:43
-ERROR `dict[str, dict[str, bool | int] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:287:43
-ERROR `dict[str, dict[str, bool | int] | dict[str, bool | str] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:322:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:346:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:371:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:401:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:430:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:459:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:488:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:516:43
ERROR Argument `None` is not assignable to parameter `context` with type `str` in function `graphon.nodes.llm.llm_utils.fetch_prompt_messages` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:123:21
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:125:21
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:604:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:606:65
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:607:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:609:65
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:610:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:612:65
ERROR Argument `list[UserPromptMessage]` is not assignable to parameter `prompt_messages` with type `list[PromptMessage]` in function `graphon.nodes.llm.llm_utils._append_file_prompts` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:726:29
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:728:29
ERROR Argument `list[SystemPromptMessage]` is not assignable to parameter `prompt_messages` with type `list[PromptMessage]` in function `graphon.nodes.llm.llm_utils._append_file_prompts` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:742:29
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.llm.node.LLMNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:215:16
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:744:29
ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1224:9
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1216:9
ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1254:9
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1246:9
ERROR Argument `Iterator[LLMResultChunk | LLMStructuredOutput] | Iterator[Any]` is not assignable to parameter `invoke_result` with type `Generator[LLMResultChunk | LLMStructuredOutput] | LLMResult` in function `graphon.nodes.llm.node.LLMNode.handle_invoke_result` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1513:31
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1504:31
ERROR Argument `Generator[None, Unknown]` is not assignable to parameter `invoke_result` with type `Generator[LLMResultChunk | LLMStructuredOutput] | LLMResult` in function `graphon.nodes.llm.node.LLMNode.handle_invoke_result` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1551:31
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1541:31
ERROR Missing argument `run_context` in function `core.app.llm.model_access.DifyCredentialsProvider.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1744:32
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1733:32
ERROR Missing argument `run_context` in function `core.app.llm.model_access.DifyModelFactory.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1747:25
-ERROR `dict[str, list[Unknown] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:113:48
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1736:25
ERROR `in` is not supported between `Literal['variables']` and `object` [not-iterable]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:127:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:145:16
ERROR `in` is not supported between `Literal['template']` and `object` [not-iterable]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:128:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:146:16
ERROR Cannot index into `object` [bad-index]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:129:16
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:203:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:307:48
-ERROR `dict[str, list[Unknown] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:414:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:453:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:482:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:512:48
-ERROR `dict[str, list[@_] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/test_template_transform_node.py:43:21
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.document_extractor.node.DocumentExtractorNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_document_extractor_node.py:51:16
-ERROR Argument `dict[str, dict[str, list[dict[str, list[str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:113:16
-ERROR Argument `dict[str, dict[str, list[dict[str, list[str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:183:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:249:16
-ERROR `dict[str, list[dict[str, Any]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:341:42
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:409:21
-ERROR `dict[str, list[dict[str, list[dict[str, list[str] | str]] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:479:42
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_list_operator.py:59:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:37:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:147:16
+ERROR Argument `dict[str, list[dict[str, Any]] | str]` is not assignable to parameter `node_data` with type `IfElseNodeData | dict[str, object]` in function `_build_if_else_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/test_if_else.py:330:19
+ERROR Argument `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to parameter `node_data` with type `IfElseNodeData | dict[str, object]` in function `_build_if_else_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/test_if_else.py:395:19
+ERROR Argument `dict[str, list[dict[str, list[dict[str, list[str] | str]] | str]] | str]` is not assignable to parameter `node_data` with type `IfElseNodeData | dict[str, object]` in function `_build_if_else_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/test_if_else.py:463:19
ERROR `Literal['{invalid-json-schema']` is not assignable to attribute `json_schema` with type `dict[str, Any] | None` [bad-assignment]
- --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:211:28
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:269:16
+ --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:208:28
ERROR Returned type `VariableBase` is not assignable to declared return type `ArrayAnyVariable | ArrayBooleanVariable | ArrayFileVariable | ArrayNumberVariable | ArrayObjectVariable | ArrayStringVariable | BooleanVariable | FileVariable | FloatVariable | IntegerVariable | NoneVariable | ObjectVariable | SecretVariable | StringVariable` [bad-return]
- --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:294:12
+ --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:288:12
ERROR Object of class `ModuleType` has no attribute `TraceQueueManager` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:62:9
-ERROR Object of class `ModuleType` has no attribute `TraceTask` [missing-attribute]
--> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:63:9
-ERROR Argument `_StubToolRuntime` is not assignable to parameter `runtime` with type `ToolNodeRuntimeProtocol | None` in function `graphon.nodes.tool.tool_node.ToolNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:116:17
+ERROR Object of class `ModuleType` has no attribute `TraceTask` [missing-attribute]
+ --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:64:9
+ERROR Argument `_StubToolRuntime` is not assignable to parameter `runtime` with type `ToolNodeRuntimeProtocol` in function `graphon.nodes.tool.tool_node.ToolNode.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:117:17
ERROR Argument `Iterator[ToolRuntimeMessage] | Iterator[Any]` is not assignable to parameter `messages` with type `Generator[ToolRuntimeMessage]` in function `graphon.nodes.tool.tool_node.ToolNode._transform_message` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:132:18
-ERROR Argument `Generator[NodeEventBase, None, LLMUsage]` is not assignable to parameter `generator` with type `Generator[Unknown]` in function `_collect_events` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:138:28
+ --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:133:18
ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
-\n\n... (truncated) ... |
- migrate workflow node construction to Graphon 0.2.2 typed node_data APIs - replace dynamic compatibility hooks with explicit Dify adapters - preserve Dify document extractor Excel behavior and legacy file payload rebuilding Refs: #35376
e9a5bff to
d69faeb
Compare
Contributor
Pyrefly Diffbase → PR--- /tmp/pyrefly_base.txt 2026-04-18 09:54:15.670995157 +0000
+++ /tmp/pyrefly_pr.txt 2026-04-18 09:54:05.159835363 +0000
@@ -2,8 +2,6 @@
--> app_factory.py:132:5
ERROR Object of class `App` has no attribute `access_mode` [missing-attribute]
--> controllers/console/app/app.py:552:13
-ERROR Object of class `object` has no attribute `value` [missing-attribute]
- --> controllers/console/app/conversation_variables.py:48:24
ERROR Argument `str | None` is not assignable to parameter `language` with type `str` in function `services.account_service.AccountService.send_email_register_email` [bad-argument-type]
--> controllers/console/auth/email_register.py:75:108
ERROR Object of class `MissingRouter` has no attribute `get` [missing-attribute]
@@ -20,8 +18,6 @@
--> controllers/console/socketio/workflow.py:45:14
ERROR Object of class `MissingRouter` has no attribute `get` [missing-attribute]
--> controllers/console/version.py:30:2
-ERROR Object of class `object` has no attribute `value` [missing-attribute]
- --> controllers/service_api/app/conversation.py:87:24
ERROR Class member `EasyUIBasedGenerateTaskPipeline._application_generate_entity` overrides parent class `BasedGenerateTaskPipeline` in an inconsistent manner [bad-override]
--> core/app/task_pipeline/easy_ui_based_generate_task_pipeline.py:75:5
ERROR `+=` is not supported between `list[PromptMessageContentUnionTypes]` and `str` [unsupported-operation]
@@ -46,26 +42,6 @@
--> core/llm_generator/llm_generator.py:394:60
ERROR No matching overload found for function `core.model_manager.ModelInstance.invoke_llm` called with arguments: (prompt_messages=list[SystemPromptMessage | UserPromptMessage], model_parameters=dict[str, float], stream=Literal[False]) [no-matching-overload]
--> core/llm_generator/llm_generator.py:582:60
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:171:17
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:196:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:216:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:238:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:255:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:280:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:308:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:327:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:343:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:360:13
ERROR Class member `OpsTraceProviderConfigMap.__getitem__` overrides parent class `UserDict` in an inconsistent manner [bad-param-name-override]
--> core/ops/ops_trace_manager.py:206:9
ERROR Object of class `NoneType` has no attribute `data_source_type` [missing-attribute]
@@ -112,12 +88,12 @@
--> core/tools/utils/web_reader_tool.py:66:35
ERROR `list[Never]` is not assignable to attribute `tools` with type `Never` [bad-assignment]
--> core/tools/workflow_as_tool/provider.py:238:26
+ERROR Object of class `NoneType` has no attribute `value` [missing-attribute]
+ --> core/workflow/nodes/document_extractor/node.py:141:17
ERROR Cannot index into `Literal['']` [bad-index]
--> extensions/storage/huawei_obs_storage.py:27:23
ERROR Cannot index into `Literal['']` [bad-index]
--> extensions/storage/huawei_obs_storage.py:31:20
-ERROR Object of class `object` has no attribute `value` [missing-attribute]
- --> fields/conversation_variable_fields.py:60:24
ERROR Argument `Module[Crypto.Hash.SHA1] | Unknown` is not assignable to parameter with type `Hash | HashModule` [bad-argument-type]
--> libs/gmpy2_pkcs10aep_cipher.py:73:49
ERROR Object of class `NoneType` has no attribute `trace_id` [missing-attribute]
@@ -810,6 +786,8 @@
--> services/hit_testing_service.py:92:28
ERROR Argument `RetrievalMethod | bool | dict[str, str] | int | Any | None` is not assignable to parameter `weights` with type `WeightsDict | None` in function `core.rag.datasource.retrieval_service.RetrievalService.retrieve` [bad-argument-type]
--> services/hit_testing_service.py:93:21
+ERROR Argument `bool | str | Any` is not assignable to parameter `token` with type `str` in function `core.helper.encrypter.encrypt_token` [bad-argument-type]
+ --> services/model_load_balancing_service.py:623:71
ERROR `handled_tenant_count` was assigned in the current scope before the nonlocal declaration [unknown-name]
--> services/plugin/plugin_migration.py:92:34
ERROR `dict[str, Any]` is not assignable to attribute `credentials` with type `Never` [bad-assignment]
@@ -830,12 +808,10 @@
--> tests/integration_tests/controllers/console/app/test_feedback_export_api.py:32:22
ERROR Argument `Literal['normal']` is not assignable to parameter `value` with type `AppStatus | SQLCoreOperations[AppStatus]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
--> tests/integration_tests/controllers/console/app/test_model_config_permissions.py:28:22
-ERROR `dict[str, str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:75:21
ERROR Argument `_GP` is not assignable to parameter `graph_init_params` with type `GraphInitParams` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:85:27
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:83:27
ERROR Argument `_GS` is not assignable to parameter `graph_runtime_state` with type `GraphRuntimeState` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:86:29
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:84:29
ERROR Could not import `Overflow` from `libs.broadcast_channel.channel` [missing-module-attribute]
--> tests/integration_tests/libs/broadcast_channel/redis/utils/test_data.py:11:44
ERROR `unpatch` may be uninitialized [unbound-name]
@@ -856,26 +832,18 @@
--> tests/integration_tests/services/test_workflow_draft_variable_service.py:651:21
ERROR Object of class `TestWorkflowDraftVariableServiceResetVariable` has no attribute `_test_user_id` [missing-attribute]
--> tests/integration_tests/services/test_workflow_draft_variable_service.py:817:21
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.code.code_node.CodeNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_code.py:68:16
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_http.py:79:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:83:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/integration_tests/workflow/nodes/test_http.py:84:35
-ERROR Argument `dict[str, dict[str, dict[str, dict[str, str] | str] | str | Unknown | None] | str] | dict[str, dict[str, str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_http.py:727:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:242:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:731:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/integration_tests/workflow/nodes/test_http.py:732:35
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.llm.node.LLMNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_llm.py:79:16
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.parameter_extractor.parameter_extractor_node.ParameterExtractorNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_parameter_extractor.py:73:16
-ERROR Argument `dict[str, dict[str, list[dict[str, list[str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.template_transform.template_transform_node.TemplateTransformNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_template_transform.py:90:16
ERROR Argument `_SimpleJinja2Renderer` is not assignable to parameter `jinja2_template_renderer` with type `Jinja2TemplateRenderer` in function `graphon.nodes.template_transform.template_transform_node.TemplateTransformNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_template_transform.py:93:34
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.tool.tool_node.ToolNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_tool.py:64:16
+ --> tests/integration_tests/workflow/nodes/test_template_transform.py:94:34
ERROR `dict[str, str | None]` is not assignable to attribute `env` with type `dict[str, str]` [bad-assignment]
--> tests/test_containers_integration_tests/conftest.py:204:39
ERROR Argument value `Literal[0]` violates Pydantic `ge` constraint `Literal[1]` for field `page` [bad-argument-type]
@@ -994,12 +962,6 @@
--> tests/test_containers_integration_tests/core/rag/retrieval/test_dataset_retrieval_integration.py:574:23
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
--> tests/test_containers_integration_tests/core/rag/retrieval/test_dataset_retrieval_integration.py:584:23
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:105:40
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:120:40
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:134:38
ERROR Argument `Connection | Engine` is not assignable to parameter `session_factory` with type `Engine | sessionmaker[Unknown]` in function `core.repositories.sqlalchemy_workflow_execution_repository.SQLAlchemyWorkflowExecutionRepository.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:264:29
ERROR Argument `Connection | Engine` is not assignable to parameter `session_factory` with type `Engine | sessionmaker[Unknown]` in function `core.repositories.sqlalchemy_workflow_node_execution_repository.SQLAlchemyWorkflowNodeExecutionRepository.__init__` [bad-argument-type]
@@ -1356,7 +1318,7 @@
--> tests/test_containers_integration_tests/services/test_file_service.py:78:20
ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_human_input_delivery_test.py:32:18
-ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_compat.EmailRecipients.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_adapter.EmailRecipients.__init__` [unexpected-keyword]
--> tests/test_containers_integration_tests/services/test_human_input_delivery_test_service.py:239:44
ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_message_export_service.py:53:20
@@ -2293,11 +2255,11 @@
ERROR Argument `list[dict[str, Any]] | None` is not assignable to parameter `obj` with type `Sized` in function `len` [bad-argument-type]
--> tests/unit_tests/controllers/service_api/app/test_completion.py:156:20
ERROR Argument value `Literal[0]` violates Pydantic `ge` constraint `Literal[1]` for field `limit` [bad-argument-type]
- --> tests/unit_tests/controllers/service_api/app/test_conversation.py:84:35
+ --> tests/unit_tests/controllers/service_api/app/test_conversation.py:86:35
ERROR Argument value `Literal[101]` violates Pydantic `le` constraint `Literal[100]` for field `limit` [bad-argument-type]
- --> tests/unit_tests/controllers/service_api/app/test_conversation.py:89:35
+ --> tests/unit_tests/controllers/service_api/app/test_conversation.py:91:35
ERROR Missing argument `session` in function `services.conversation_service.ConversationService.pagination_by_last_id` [missing-argument]
- --> tests/unit_tests/controllers/service_api/app/test_conversation.py:427:59
+ --> tests/unit_tests/controllers/service_api/app/test_conversation.py:455:59
ERROR Argument value `Literal[0]` violates Pydantic `ge` constraint `Literal[1]` for field `limit` [bad-argument-type]
--> tests/unit_tests/controllers/service_api/app/test_message.py:94:63
ERROR Argument value `Literal[101]` violates Pydantic `le` constraint `Literal[100]` for field `limit` [bad-argument-type]
@@ -3263,43 +3225,43 @@
ERROR Object of class `ModuleType` has no attribute `TraceQueueManager` [missing-attribute]
--> tests/unit_tests/core/app/apps/test_pause_resume.py:42:5
ERROR Class member `_StubToolNode._run` overrides parent class `Node` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:79:9
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:92:9
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:220:19
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:226:19
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow` with type `Workflow` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:221:18
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:227:18
ERROR Argument `SimpleNamespace` is not assignable to parameter `user` with type `Account | EndUser` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:222:14
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:228:14
ERROR Argument `SimpleNamespace` is not assignable to parameter `application_generate_entity` with type `WorkflowAppGenerateEntity` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:223:37
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:37
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_execution_repository` with type `WorkflowExecutionRepository` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:225:39
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:231:39
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_node_execution_repository` with type `WorkflowNodeExecutionRepository` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:226:44
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:232:44
ERROR `+` is not supported between `list[str]` and `Generator[Mapping[str, Any] | str]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:235:12
ERROR `+` is not supported between `list[str]` and `Mapping[str, Any]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:235:12
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:260:19
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:266:19
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow` with type `Workflow` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:261:18
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:267:18
ERROR Argument `SimpleNamespace` is not assignable to parameter `user` with type `Account | EndUser` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:262:14
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:268:14
ERROR Argument `SimpleNamespace` is not assignable to parameter `conversation` with type `Conversation` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:263:22
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:269:22
ERROR Argument `SimpleNamespace` is not assignable to parameter `message` with type `Message` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:264:17
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:270:17
ERROR Argument `SimpleNamespace` is not assignable to parameter `application_generate_entity` with type `AdvancedChatAppGenerateEntity` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:265:37
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:37
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_execution_repository` with type `WorkflowExecutionRepository` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:266:39
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:272:39
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_node_execution_repository` with type `WorkflowNodeExecutionRepository` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:267:44
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:273:44
ERROR `+` is not supported between `list[str]` and `Generator[Mapping[str, Any] | str]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:277:12
ERROR `+` is not supported between `list[str]` and `Mapping[str, Any]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:277:12
ERROR Cannot index into `str` [bad-index]
--> tests/unit_tests/core/app/apps/test_streaming_utils.py:79:12
ERROR Argument `FakeTopic` is not assignable to parameter `topic` with type `Topic` in function `core.app.apps.streaming_utils.stream_topic_events` [bad-argument-type]
@@ -3972,8 +3934,8 @@
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:174:16
ERROR Object of class `object` has no attribute `total_steps` [missing-attribute]
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:175:16
-ERROR `SimpleNamespace` is not assignable to attribute `_graph_execution` with type `GraphExecutionProtocol | None` [bad-assignment]
- --> tests/unit_tests/core/app/workflow/test_persistence_layer.py:182:42
+ERROR Object of class `GraphRuntimeState` has no attribute `_graph_execution` [missing-attribute]
+ --> tests/unit_tests/core/app/workflow/test_persistence_layer.py:182:9
ERROR Object of class `object` has no attribute `status` [missing-attribute]
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:189:16
ERROR Object of class `object` has no attribute `exceptions_count` [missing-attribute]
@@ -5334,6 +5296,16 @@
ERROR Object of class `BlobChunkMessage` has no attribute `variable_value`
ERROR Object of class `BlobChunkMessage` has no attribute `stream`
ERROR Object of class `BlobChunkMessage` has no attribute `file_marker`
+ERROR Argument `object` is not assignable to parameter `obj` with type `Sized` in function `len` [bad-argument-type]
+ --> tests/unit_tests/core/variables/test_segment.py:503:20
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:504:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:505:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:512:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:513:16
ERROR Cannot set field `value` [read-only]
--> tests/unit_tests/core/variables/test_variables.py:20:9
ERROR Cannot set field `value` [read-only]
@@ -5363,47 +5335,39 @@
ERROR Could not find name `NodeType` [unknown-name]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_config.py:158:46
ERROR Cannot extend final class `DifyNodeFactory` [invalid-inheritance]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:37:23
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:38:23
ERROR Cannot set item in `dict[str, type[MockAgentNode] | type[MockCodeNode] | type[MockDocumentExtractorNode] | type[MockHttpRequestNode] | type[MockIterationNode] | type[MockKnowledgeRetrievalNode] | type[MockLLMNode] | type[MockLoopNode] | type[MockParameterExtractorNode] | type[MockQuestionClassifierNode] | type[MockTemplateTransformNode] | type[MockToolNode]]` [unsupported-operation]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:161:44
-ERROR Unexpected keyword argument `id` in function `object.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:99:13
-ERROR Unexpected keyword argument `config` in function `object.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:162:44
+ERROR Unexpected keyword argument `node_id` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:100:13
-ERROR Unexpected keyword argument `graph_init_params` in function `object.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `config` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:101:13
-ERROR Unexpected keyword argument `graph_runtime_state` in function `object.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `graph_init_params` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:102:13
+ERROR Unexpected keyword argument `graph_runtime_state` in function `object.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:103:13
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:113:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:114:56
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:128:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:129:56
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:139:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:140:56
ERROR Class member `MockKnowledgeRetrievalNode.version` overrides parent class `KnowledgeRetrievalNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:350:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:351:9
ERROR Class member `MockKnowledgeRetrievalNode._run` overrides parent class `KnowledgeRetrievalNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:354:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:355:9
ERROR Class member `MockHttpRequestNode._run` overrides parent class `HttpRequestNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:411:9
-ERROR Class member `MockQuestionClassifierNode.version` overrides parent class `QuestionClassifierNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:460:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:412:9
ERROR Class member `MockQuestionClassifierNode._run` overrides parent class `QuestionClassifierNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:464:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:465:9
ERROR Class member `MockParameterExtractorNode._run` overrides parent class `ParameterExtractorNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:512:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:513:9
ERROR Class member `MockDocumentExtractorNode._run` overrides parent class `DocumentExtractorNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:562:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:563:9
ERROR Argument `str | None` is not assignable to parameter `root_node_id` with type `str` in function `graphon.graph.graph.Graph.init` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:661:85
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:143:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:158:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:168:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:186:16
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:662:85
+ERROR Class member `MockLoopNode._create_graph_engine` overrides parent class `LoopNode` in an inconsistent manner [bad-override]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:690:9
ERROR Argument `Sequence[type[GraphEngineEvent]]` is not assignable to parameter `expected_sequence` with type `list[type[GraphEngineEvent]]` in function `TableTestRunner._validate_event_sequence` [bad-argument-type]
--> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:402:21
ERROR `graph` is uninitialized [unbound-name]
@@ -5412,20 +5376,52 @@
--> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:456:37
ERROR Argument `Iterator[Unknown]` is not assignable to parameter `messages` with type `Generator[ToolInvokeMessage]` in function `core.workflow.nodes.agent.message_transformer.AgentMessageTransformer.transform` [bad-argument-type]
--> tests/unit_tests/core/workflow/nodes/agent/test_message_transformer.py:15:26
-ERROR Argument `dict[str, dict[str, str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/answer/test_answer.py:82:16
ERROR Class member `_Version1._get_retry_config` overrides parent class `Node` in an inconsistent manner [bad-override]
--> tests/unit_tests/core/workflow/nodes/base/test_get_node_type_classes_mapping.py:53:13
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:150:44
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:157:44
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:164:45
ERROR `BaseNodeData` is not assignable to attribute `_node_data` with type `CodeNodeData` [bad-assignment]
--> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:440:27
ERROR `BaseNodeData` is not assignable to attribute `_node_data` with type `CodeNodeData` [bad-assignment]
--> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:456:27
-ERROR `dict[str, str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:83:21
ERROR Argument `_GraphParams` is not assignable to parameter `graph_init_params` with type `GraphInitParams` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:93:27
+ --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:91:27
ERROR Argument `_GraphState` is not assignable to parameter `graph_runtime_state` with type `GraphRuntimeState` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:94:29
+ --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:92:29
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:64:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:120:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:178:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:224:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:271:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:324:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:361:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:413:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:440:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:467:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:494:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:520:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:570:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:617:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:658:21
ERROR Cannot index into `object` [bad-index]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:32:15
ERROR Cannot index into `object` [bad-index]
@@ -5438,190 +5434,98 @@
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:65:12
ERROR Cannot index into `object` [bad-index]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:66:12
-ERROR Argument `dict[str, Any]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:118:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:122:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:123:35
+ERROR Argument `Response` is not assignable to parameter `response` with type `HttpResponse` in function `graphon.nodes.http_request.entities.Response.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:158:17
ERROR Object of class `NoneType` has no attribute `type` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:184:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:204:16
ERROR Object of class `NoneType` has no attribute `value` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:185:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:205:16
ERROR Object of class `NoneType` has no attribute `type` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:193:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:213:16
ERROR Object of class `NoneType` has no attribute `selector` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:194:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:214:16
ERROR Object of class `HumanInputNodeData` has no attribute `delivery_methods` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:278:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:298:20
ERROR Object of class `HumanInputNodeData` has no attribute `delivery_methods` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:301:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:321:20
ERROR Object of class `ExternalRecipient` has no attribute `reference_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:394:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:414:16
ERROR Object of class `BoundRecipient` has no attribute `email` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:395:16
-ERROR Missing argument `reference_id` in function `core.workflow.human_input_compat.BoundRecipient.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:399:28
-ERROR Unexpected keyword argument `user_id` in function `core.workflow.human_input_compat.BoundRecipient.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:399:61
-ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_compat.EmailRecipients.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:401:38
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:470:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:415:16
+ERROR Missing argument `reference_id` in function `core.workflow.human_input_adapter.BoundRecipient.__init__` [missing-argument]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:419:28
+ERROR Unexpected keyword argument `user_id` in function `core.workflow.human_input_adapter.BoundRecipient.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:419:61
+ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_adapter.EmailRecipients.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:421:38
ERROR Object of class `SchedulingPause` has no attribute `resolved_default_values` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:481:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:535:20
-ERROR Argument `dict[str, dict[str, list[dict[str, bool | dict[Unknown, Unknown] | str]] | list[dict[str, str]] | list[Unknown] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:600:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:676:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:775:20
-ERROR Argument `dict[str, dict[str, list[dict[str, str]] | list[dict[str, dict[str, str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_human_input_form_filled_event.py:85:16
-ERROR Argument `dict[str, dict[str, list[dict[str, str]] | list[dict[str, dict[str, str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_human_input_form_filled_event.py:150:16
-ERROR `dict[str, list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/iteration/test_iteration_child_engine_errors.py:50:21
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_index.knowledge_index_node.KnowledgeIndexNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:120:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:501:16
+ERROR Argument `dict[str, list[str] | str]` is not assignable to parameter `node_data` with type `KnowledgeIndexNodeData | dict[str, object]` in function `_build_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:139:23
ERROR Argument `dict[str, bool]` is not assignable to parameter `summary_index_setting` with type `SummaryIndexSettingDict | None` in function `core.workflow.nodes.knowledge_index.knowledge_index_node.KnowledgeIndexNode._invoke_knowledge_index` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:641:35
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:110:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:198:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:474:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:566:20
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:614:20
-ERROR `None` is not subscriptable [unsupported-operation]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:633:16
-ERROR `None` is not subscriptable [unsupported-operation]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:634:27
-ERROR `None` is not subscriptable [unsupported-operation]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:635:16
-ERROR `None` is not subscriptable [unsupported-operation]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:636:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:675:20
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:69:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:114:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:145:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:174:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:203:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:231:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:259:43
-ERROR `dict[str, dict[str, bool | int] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:287:43
-ERROR `dict[str, dict[str, bool | int] | dict[str, bool | str] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:322:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:346:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:371:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:401:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:430:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:459:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:488:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:516:43
+ --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:660:35
+ERROR `None` is not subscriptable [unsupported-operation]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:643:16
+ERROR `None` is not subscriptable [unsupported-operation]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:644:27
+ERROR `None` is not subscriptable [unsupported-operation]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:645:16
+ERROR `None` is not subscriptable [unsupported-operation]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:646:16
ERROR Argument `None` is not assignable to parameter `context` with type `str` in function `graphon.nodes.llm.llm_utils.fetch_prompt_messages` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:123:21
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:125:21
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:604:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:606:65
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:607:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:609:65
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:610:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:612:65
ERROR Argument `list[UserPromptMessage]` is not assignable to parameter `prompt_messages` with type `list[PromptMessage]` in function `graphon.nodes.llm.llm_utils._append_file_prompts` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:726:29
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:728:29
ERROR Argument `list[SystemPromptMessage]` is not assignable to parameter `prompt_messages` with type `list[PromptMessage]` in function `graphon.nodes.llm.llm_utils._append_file_prompts` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:742:29
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.llm.node.LLMNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:215:16
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:744:29
ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1224:9
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1216:9
ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1254:9
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1246:9
ERROR Argument `Iterator[LLMResultChunk | LLMStructuredOutput] | Iterator[Any]` is not assignable to parameter `invoke_result` with type `Generator[LLMResultChunk | LLMStructuredOutput] | LLMResult` in function `graphon.nodes.llm.node.LLMNode.handle_invoke_result` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1513:31
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1504:31
ERROR Argument `Generator[None, Unknown]` is not assignable to parameter `invoke_result` with type `Generator[LLMResultChunk | LLMStructuredOutput] | LLMResult` in function `graphon.nodes.llm.node.LLMNode.handle_invoke_result` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1551:31
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1541:31
ERROR Missing argument `run_context` in function `core.app.llm.model_access.DifyCredentialsProvider.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1744:32
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1733:32
ERROR Missing argument `run_context` in function `core.app.llm.model_access.DifyModelFactory.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1747:25
-ERROR `dict[str, list[Unknown] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:113:48
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1736:25
ERROR `in` is not supported between `Literal['variables']` and `object` [not-iterable]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:127:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:145:16
ERROR `in` is not supported between `Literal['template']` and `object` [not-iterable]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:128:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:146:16
ERROR Cannot index into `object` [bad-index]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:129:16
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:203:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:307:48
-ERROR `dict[str, list[Unknown] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:414:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:453:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:482:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:512:48
-ERROR `dict[str, list[@_] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/test_template_transform_node.py:43:21
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.document_extractor.node.DocumentExtractorNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_document_extractor_node.py:51:16
-ERROR Argument `dict[str, dict[str, list[dict[str, list[str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:113:16
-ERROR Argument `dict[str, dict[str, list[dict[str, list[str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:183:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:249:16
-ERROR `dict[str, list[dict[str, Any]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:341:42
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:409:21
-ERROR `dict[str, list[dict[str, list[dict[str, list[str] | str]] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:479:42
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_list_operator.py:59:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:37:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:147:16
+ERROR Argument `dict[str, list[dict[str, Any]] | str]` is not assignable to parameter `node_data` with type `IfElseNodeData | dict[str, object]` in function `_build_if_else_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/test_if_else.py:330:19
+ERROR Argument `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to parameter `node_data` with type `IfElseNodeData | dict[str, object]` in function `_build_if_else_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/test_if_else.py:395:19
+ERROR Argument `dict[str, list[dict[str, list[dict[str, list[str] | str]] | str]] | str]` is not assignable to parameter `node_data` with type `IfElseNodeData | dict[str, object]` in function `_build_if_else_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/test_if_else.py:463:19
ERROR `Literal['{invalid-json-schema']` is not assignable to attribute `json_schema` with type `dict[str, Any] | None` [bad-assignment]
- --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:211:28
... (truncated) ... |
Contributor
Pyrefly Diffbase → PR--- /tmp/pyrefly_base.txt 2026-04-18 09:54:15.670995157 +0000
+++ /tmp/pyrefly_pr.txt 2026-04-18 09:54:05.159835363 +0000
@@ -2,8 +2,6 @@
--> app_factory.py:132:5
ERROR Object of class `App` has no attribute `access_mode` [missing-attribute]
--> controllers/console/app/app.py:552:13
-ERROR Object of class `object` has no attribute `value` [missing-attribute]
- --> controllers/console/app/conversation_variables.py:48:24
ERROR Argument `str | None` is not assignable to parameter `language` with type `str` in function `services.account_service.AccountService.send_email_register_email` [bad-argument-type]
--> controllers/console/auth/email_register.py:75:108
ERROR Object of class `MissingRouter` has no attribute `get` [missing-attribute]
@@ -20,8 +18,6 @@
--> controllers/console/socketio/workflow.py:45:14
ERROR Object of class `MissingRouter` has no attribute `get` [missing-attribute]
--> controllers/console/version.py:30:2
-ERROR Object of class `object` has no attribute `value` [missing-attribute]
- --> controllers/service_api/app/conversation.py:87:24
ERROR Class member `EasyUIBasedGenerateTaskPipeline._application_generate_entity` overrides parent class `BasedGenerateTaskPipeline` in an inconsistent manner [bad-override]
--> core/app/task_pipeline/easy_ui_based_generate_task_pipeline.py:75:5
ERROR `+=` is not supported between `list[PromptMessageContentUnionTypes]` and `str` [unsupported-operation]
@@ -46,26 +42,6 @@
--> core/llm_generator/llm_generator.py:394:60
ERROR No matching overload found for function `core.model_manager.ModelInstance.invoke_llm` called with arguments: (prompt_messages=list[SystemPromptMessage | UserPromptMessage], model_parameters=dict[str, float], stream=Literal[False]) [no-matching-overload]
--> core/llm_generator/llm_generator.py:582:60
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:171:17
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:196:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:216:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:238:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:255:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:280:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:308:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:327:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:343:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:360:13
ERROR Class member `OpsTraceProviderConfigMap.__getitem__` overrides parent class `UserDict` in an inconsistent manner [bad-param-name-override]
--> core/ops/ops_trace_manager.py:206:9
ERROR Object of class `NoneType` has no attribute `data_source_type` [missing-attribute]
@@ -112,12 +88,12 @@
--> core/tools/utils/web_reader_tool.py:66:35
ERROR `list[Never]` is not assignable to attribute `tools` with type `Never` [bad-assignment]
--> core/tools/workflow_as_tool/provider.py:238:26
+ERROR Object of class `NoneType` has no attribute `value` [missing-attribute]
+ --> core/workflow/nodes/document_extractor/node.py:141:17
ERROR Cannot index into `Literal['']` [bad-index]
--> extensions/storage/huawei_obs_storage.py:27:23
ERROR Cannot index into `Literal['']` [bad-index]
--> extensions/storage/huawei_obs_storage.py:31:20
-ERROR Object of class `object` has no attribute `value` [missing-attribute]
- --> fields/conversation_variable_fields.py:60:24
ERROR Argument `Module[Crypto.Hash.SHA1] | Unknown` is not assignable to parameter with type `Hash | HashModule` [bad-argument-type]
--> libs/gmpy2_pkcs10aep_cipher.py:73:49
ERROR Object of class `NoneType` has no attribute `trace_id` [missing-attribute]
@@ -810,6 +786,8 @@
--> services/hit_testing_service.py:92:28
ERROR Argument `RetrievalMethod | bool | dict[str, str] | int | Any | None` is not assignable to parameter `weights` with type `WeightsDict | None` in function `core.rag.datasource.retrieval_service.RetrievalService.retrieve` [bad-argument-type]
--> services/hit_testing_service.py:93:21
+ERROR Argument `bool | str | Any` is not assignable to parameter `token` with type `str` in function `core.helper.encrypter.encrypt_token` [bad-argument-type]
+ --> services/model_load_balancing_service.py:623:71
ERROR `handled_tenant_count` was assigned in the current scope before the nonlocal declaration [unknown-name]
--> services/plugin/plugin_migration.py:92:34
ERROR `dict[str, Any]` is not assignable to attribute `credentials` with type `Never` [bad-assignment]
@@ -830,12 +808,10 @@
--> tests/integration_tests/controllers/console/app/test_feedback_export_api.py:32:22
ERROR Argument `Literal['normal']` is not assignable to parameter `value` with type `AppStatus | SQLCoreOperations[AppStatus]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
--> tests/integration_tests/controllers/console/app/test_model_config_permissions.py:28:22
-ERROR `dict[str, str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:75:21
ERROR Argument `_GP` is not assignable to parameter `graph_init_params` with type `GraphInitParams` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:85:27
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:83:27
ERROR Argument `_GS` is not assignable to parameter `graph_runtime_state` with type `GraphRuntimeState` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:86:29
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:84:29
ERROR Could not import `Overflow` from `libs.broadcast_channel.channel` [missing-module-attribute]
--> tests/integration_tests/libs/broadcast_channel/redis/utils/test_data.py:11:44
ERROR `unpatch` may be uninitialized [unbound-name]
@@ -856,26 +832,18 @@
--> tests/integration_tests/services/test_workflow_draft_variable_service.py:651:21
ERROR Object of class `TestWorkflowDraftVariableServiceResetVariable` has no attribute `_test_user_id` [missing-attribute]
--> tests/integration_tests/services/test_workflow_draft_variable_service.py:817:21
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.code.code_node.CodeNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_code.py:68:16
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_http.py:79:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:83:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/integration_tests/workflow/nodes/test_http.py:84:35
-ERROR Argument `dict[str, dict[str, dict[str, dict[str, str] | str] | str | Unknown | None] | str] | dict[str, dict[str, str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_http.py:727:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:242:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:731:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/integration_tests/workflow/nodes/test_http.py:732:35
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.llm.node.LLMNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_llm.py:79:16
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.parameter_extractor.parameter_extractor_node.ParameterExtractorNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_parameter_extractor.py:73:16
-ERROR Argument `dict[str, dict[str, list[dict[str, list[str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.template_transform.template_transform_node.TemplateTransformNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_template_transform.py:90:16
ERROR Argument `_SimpleJinja2Renderer` is not assignable to parameter `jinja2_template_renderer` with type `Jinja2TemplateRenderer` in function `graphon.nodes.template_transform.template_transform_node.TemplateTransformNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_template_transform.py:93:34
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.tool.tool_node.ToolNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_tool.py:64:16
+ --> tests/integration_tests/workflow/nodes/test_template_transform.py:94:34
ERROR `dict[str, str | None]` is not assignable to attribute `env` with type `dict[str, str]` [bad-assignment]
--> tests/test_containers_integration_tests/conftest.py:204:39
ERROR Argument value `Literal[0]` violates Pydantic `ge` constraint `Literal[1]` for field `page` [bad-argument-type]
@@ -994,12 +962,6 @@
--> tests/test_containers_integration_tests/core/rag/retrieval/test_dataset_retrieval_integration.py:574:23
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
--> tests/test_containers_integration_tests/core/rag/retrieval/test_dataset_retrieval_integration.py:584:23
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:105:40
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:120:40
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:134:38
ERROR Argument `Connection | Engine` is not assignable to parameter `session_factory` with type `Engine | sessionmaker[Unknown]` in function `core.repositories.sqlalchemy_workflow_execution_repository.SQLAlchemyWorkflowExecutionRepository.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:264:29
ERROR Argument `Connection | Engine` is not assignable to parameter `session_factory` with type `Engine | sessionmaker[Unknown]` in function `core.repositories.sqlalchemy_workflow_node_execution_repository.SQLAlchemyWorkflowNodeExecutionRepository.__init__` [bad-argument-type]
@@ -1356,7 +1318,7 @@
--> tests/test_containers_integration_tests/services/test_file_service.py:78:20
ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_human_input_delivery_test.py:32:18
-ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_compat.EmailRecipients.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_adapter.EmailRecipients.__init__` [unexpected-keyword]
--> tests/test_containers_integration_tests/services/test_human_input_delivery_test_service.py:239:44
ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_message_export_service.py:53:20
@@ -2293,11 +2255,11 @@
ERROR Argument `list[dict[str, Any]] | None` is not assignable to parameter `obj` with type `Sized` in function `len` [bad-argument-type]
--> tests/unit_tests/controllers/service_api/app/test_completion.py:156:20
ERROR Argument value `Literal[0]` violates Pydantic `ge` constraint `Literal[1]` for field `limit` [bad-argument-type]
- --> tests/unit_tests/controllers/service_api/app/test_conversation.py:84:35
+ --> tests/unit_tests/controllers/service_api/app/test_conversation.py:86:35
ERROR Argument value `Literal[101]` violates Pydantic `le` constraint `Literal[100]` for field `limit` [bad-argument-type]
- --> tests/unit_tests/controllers/service_api/app/test_conversation.py:89:35
+ --> tests/unit_tests/controllers/service_api/app/test_conversation.py:91:35
ERROR Missing argument `session` in function `services.conversation_service.ConversationService.pagination_by_last_id` [missing-argument]
- --> tests/unit_tests/controllers/service_api/app/test_conversation.py:427:59
+ --> tests/unit_tests/controllers/service_api/app/test_conversation.py:455:59
ERROR Argument value `Literal[0]` violates Pydantic `ge` constraint `Literal[1]` for field `limit` [bad-argument-type]
--> tests/unit_tests/controllers/service_api/app/test_message.py:94:63
ERROR Argument value `Literal[101]` violates Pydantic `le` constraint `Literal[100]` for field `limit` [bad-argument-type]
@@ -3263,43 +3225,43 @@
ERROR Object of class `ModuleType` has no attribute `TraceQueueManager` [missing-attribute]
--> tests/unit_tests/core/app/apps/test_pause_resume.py:42:5
ERROR Class member `_StubToolNode._run` overrides parent class `Node` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:79:9
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:92:9
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:220:19
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:226:19
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow` with type `Workflow` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:221:18
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:227:18
ERROR Argument `SimpleNamespace` is not assignable to parameter `user` with type `Account | EndUser` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:222:14
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:228:14
ERROR Argument `SimpleNamespace` is not assignable to parameter `application_generate_entity` with type `WorkflowAppGenerateEntity` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:223:37
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:37
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_execution_repository` with type `WorkflowExecutionRepository` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:225:39
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:231:39
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_node_execution_repository` with type `WorkflowNodeExecutionRepository` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:226:44
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:232:44
ERROR `+` is not supported between `list[str]` and `Generator[Mapping[str, Any] | str]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:235:12
ERROR `+` is not supported between `list[str]` and `Mapping[str, Any]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:235:12
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:260:19
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:266:19
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow` with type `Workflow` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:261:18
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:267:18
ERROR Argument `SimpleNamespace` is not assignable to parameter `user` with type `Account | EndUser` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:262:14
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:268:14
ERROR Argument `SimpleNamespace` is not assignable to parameter `conversation` with type `Conversation` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:263:22
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:269:22
ERROR Argument `SimpleNamespace` is not assignable to parameter `message` with type `Message` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:264:17
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:270:17
ERROR Argument `SimpleNamespace` is not assignable to parameter `application_generate_entity` with type `AdvancedChatAppGenerateEntity` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:265:37
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:37
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_execution_repository` with type `WorkflowExecutionRepository` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:266:39
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:272:39
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_node_execution_repository` with type `WorkflowNodeExecutionRepository` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:267:44
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:273:44
ERROR `+` is not supported between `list[str]` and `Generator[Mapping[str, Any] | str]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:277:12
ERROR `+` is not supported between `list[str]` and `Mapping[str, Any]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:277:12
ERROR Cannot index into `str` [bad-index]
--> tests/unit_tests/core/app/apps/test_streaming_utils.py:79:12
ERROR Argument `FakeTopic` is not assignable to parameter `topic` with type `Topic` in function `core.app.apps.streaming_utils.stream_topic_events` [bad-argument-type]
@@ -3972,8 +3934,8 @@
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:174:16
ERROR Object of class `object` has no attribute `total_steps` [missing-attribute]
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:175:16
-ERROR `SimpleNamespace` is not assignable to attribute `_graph_execution` with type `GraphExecutionProtocol | None` [bad-assignment]
- --> tests/unit_tests/core/app/workflow/test_persistence_layer.py:182:42
+ERROR Object of class `GraphRuntimeState` has no attribute `_graph_execution` [missing-attribute]
+ --> tests/unit_tests/core/app/workflow/test_persistence_layer.py:182:9
ERROR Object of class `object` has no attribute `status` [missing-attribute]
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:189:16
ERROR Object of class `object` has no attribute `exceptions_count` [missing-attribute]
@@ -5334,6 +5296,16 @@
ERROR Object of class `BlobChunkMessage` has no attribute `variable_value`
ERROR Object of class `BlobChunkMessage` has no attribute `stream`
ERROR Object of class `BlobChunkMessage` has no attribute `file_marker`
+ERROR Argument `object` is not assignable to parameter `obj` with type `Sized` in function `len` [bad-argument-type]
+ --> tests/unit_tests/core/variables/test_segment.py:503:20
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:504:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:505:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:512:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:513:16
ERROR Cannot set field `value` [read-only]
--> tests/unit_tests/core/variables/test_variables.py:20:9
ERROR Cannot set field `value` [read-only]
@@ -5363,47 +5335,39 @@
ERROR Could not find name `NodeType` [unknown-name]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_config.py:158:46
ERROR Cannot extend final class `DifyNodeFactory` [invalid-inheritance]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:37:23
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:38:23
ERROR Cannot set item in `dict[str, type[MockAgentNode] | type[MockCodeNode] | type[MockDocumentExtractorNode] | type[MockHttpRequestNode] | type[MockIterationNode] | type[MockKnowledgeRetrievalNode] | type[MockLLMNode] | type[MockLoopNode] | type[MockParameterExtractorNode] | type[MockQuestionClassifierNode] | type[MockTemplateTransformNode] | type[MockToolNode]]` [unsupported-operation]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:161:44
-ERROR Unexpected keyword argument `id` in function `object.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:99:13
-ERROR Unexpected keyword argument `config` in function `object.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:162:44
+ERROR Unexpected keyword argument `node_id` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:100:13
-ERROR Unexpected keyword argument `graph_init_params` in function `object.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `config` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:101:13
-ERROR Unexpected keyword argument `graph_runtime_state` in function `object.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `graph_init_params` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:102:13
+ERROR Unexpected keyword argument `graph_runtime_state` in function `object.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:103:13
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:113:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:114:56
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:128:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:129:56
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:139:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:140:56
ERROR Class member `MockKnowledgeRetrievalNode.version` overrides parent class `KnowledgeRetrievalNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:350:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:351:9
ERROR Class member `MockKnowledgeRetrievalNode._run` overrides parent class `KnowledgeRetrievalNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:354:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:355:9
ERROR Class member `MockHttpRequestNode._run` overrides parent class `HttpRequestNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:411:9
-ERROR Class member `MockQuestionClassifierNode.version` overrides parent class `QuestionClassifierNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:460:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:412:9
ERROR Class member `MockQuestionClassifierNode._run` overrides parent class `QuestionClassifierNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:464:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:465:9
ERROR Class member `MockParameterExtractorNode._run` overrides parent class `ParameterExtractorNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:512:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:513:9
ERROR Class member `MockDocumentExtractorNode._run` overrides parent class `DocumentExtractorNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:562:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:563:9
ERROR Argument `str | None` is not assignable to parameter `root_node_id` with type `str` in function `graphon.graph.graph.Graph.init` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:661:85
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:143:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:158:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:168:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:186:16
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:662:85
+ERROR Class member `MockLoopNode._create_graph_engine` overrides parent class `LoopNode` in an inconsistent manner [bad-override]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:690:9
ERROR Argument `Sequence[type[GraphEngineEvent]]` is not assignable to parameter `expected_sequence` with type `list[type[GraphEngineEvent]]` in function `TableTestRunner._validate_event_sequence` [bad-argument-type]
--> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:402:21
ERROR `graph` is uninitialized [unbound-name]
@@ -5412,20 +5376,52 @@
--> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:456:37
ERROR Argument `Iterator[Unknown]` is not assignable to parameter `messages` with type `Generator[ToolInvokeMessage]` in function `core.workflow.nodes.agent.message_transformer.AgentMessageTransformer.transform` [bad-argument-type]
--> tests/unit_tests/core/workflow/nodes/agent/test_message_transformer.py:15:26
-ERROR Argument `dict[str, dict[str, str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/answer/test_answer.py:82:16
ERROR Class member `_Version1._get_retry_config` overrides parent class `Node` in an inconsistent manner [bad-override]
--> tests/unit_tests/core/workflow/nodes/base/test_get_node_type_classes_mapping.py:53:13
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:150:44
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:157:44
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:164:45
ERROR `BaseNodeData` is not assignable to attribute `_node_data` with type `CodeNodeData` [bad-assignment]
--> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:440:27
ERROR `BaseNodeData` is not assignable to attribute `_node_data` with type `CodeNodeData` [bad-assignment]
--> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:456:27
-ERROR `dict[str, str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:83:21
ERROR Argument `_GraphParams` is not assignable to parameter `graph_init_params` with type `GraphInitParams` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:93:27
+ --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:91:27
ERROR Argument `_GraphState` is not assignable to parameter `graph_runtime_state` with type `GraphRuntimeState` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:94:29
+ --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:92:29
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:64:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:120:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:178:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:224:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:271:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:324:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:361:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:413:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:440:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:467:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:494:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:520:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:570:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:617:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:658:21
ERROR Cannot index into `object` [bad-index]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:32:15
ERROR Cannot index into `object` [bad-index]
@@ -5438,190 +5434,98 @@
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:65:12
ERROR Cannot index into `object` [bad-index]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:66:12
-ERROR Argument `dict[str, Any]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:118:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:122:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:123:35
+ERROR Argument `Response` is not assignable to parameter `response` with type `HttpResponse` in function `graphon.nodes.http_request.entities.Response.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:158:17
ERROR Object of class `NoneType` has no attribute `type` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:184:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:204:16
ERROR Object of class `NoneType` has no attribute `value` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:185:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:205:16
ERROR Object of class `NoneType` has no attribute `type` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:193:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:213:16
ERROR Object of class `NoneType` has no attribute `selector` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:194:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:214:16
ERROR Object of class `HumanInputNodeData` has no attribute `delivery_methods` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:278:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:298:20
ERROR Object of class `HumanInputNodeData` has no attribute `delivery_methods` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:301:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:321:20
ERROR Object of class `ExternalRecipient` has no attribute `reference_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:394:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:414:16
ERROR Object of class `BoundRecipient` has no attribute `email` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:395:16
-ERROR Missing argument `reference_id` in function `core.workflow.human_input_compat.BoundRecipient.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:399:28
-ERROR Unexpected keyword argument `user_id` in function `core.workflow.human_input_compat.BoundRecipient.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:399:61
-ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_compat.EmailRecipients.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:401:38
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:470:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:415:16
+ERROR Missing argument `reference_id` in function `core.workflow.human_input_adapter.BoundRecipient.__init__` [missing-argument]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:419:28
+ERROR Unexpected keyword argument `user_id` in function `core.workflow.human_input_adapter.BoundRecipient.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:419:61
+ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_adapter.EmailRecipients.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:421:38
ERROR Object of class `SchedulingPause` has no attribute `resolved_default_values` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:481:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:535:20
-ERROR Argument `dict[str, dict[str, list[dict[str, bool | dict[Unknown, Unknown] | str]] | list[dict[str, str]] | list[Unknown] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:600:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:676:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:775:20
-ERROR Argument `dict[str, dict[str, list[dict[str, str]] | list[dict[str, dict[str, str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_human_input_form_filled_event.py:85:16
-ERROR Argument `dict[str, dict[str, list[dict[str, str]] | list[dict[str, dict[str, str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_human_input_form_filled_event.py:150:16
-ERROR `dict[str, list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/iteration/test_iteration_child_engine_errors.py:50:21
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_index.knowledge_index_node.KnowledgeIndexNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:120:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:501:16
+ERROR Argument `dict[str, list[str] | str]` is not assignable to parameter `node_data` with type `KnowledgeIndexNodeData | dict[str, object]` in function `_build_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:139:23
ERROR Argument `dict[str, bool]` is not assignable to parameter `summary_index_setting` with type `SummaryIndexSettingDict | None` in function `core.workflow.nodes.knowledge_index.knowledge_index_node.KnowledgeIndexNode._invoke_knowledge_index` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:641:35
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:110:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:198:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:474:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:566:20
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:614:20
-ERROR `None` is not subscriptable [unsupported-operation]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:633:16
-ERROR `None` is not subscriptable [unsupported-operation]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:634:27
-ERROR `None` is not subscriptable [unsupported-operation]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:635:16
-ERROR `None` is not subscriptable [unsupported-operation]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:636:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:675:20
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:69:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:114:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:145:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:174:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:203:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:231:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:259:43
-ERROR `dict[str, dict[str, bool | int] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:287:43
-ERROR `dict[str, dict[str, bool | int] | dict[str, bool | str] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:322:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:346:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:371:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:401:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:430:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:459:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:488:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:516:43
+ --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:660:35
+ERROR `None` is not subscriptable [unsupported-operation]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:643:16
+ERROR `None` is not subscriptable [unsupported-operation]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:644:27
+ERROR `None` is not subscriptable [unsupported-operation]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:645:16
+ERROR `None` is not subscriptable [unsupported-operation]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:646:16
ERROR Argument `None` is not assignable to parameter `context` with type `str` in function `graphon.nodes.llm.llm_utils.fetch_prompt_messages` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:123:21
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:125:21
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:604:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:606:65
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:607:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:609:65
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:610:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:612:65
ERROR Argument `list[UserPromptMessage]` is not assignable to parameter `prompt_messages` with type `list[PromptMessage]` in function `graphon.nodes.llm.llm_utils._append_file_prompts` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:726:29
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:728:29
ERROR Argument `list[SystemPromptMessage]` is not assignable to parameter `prompt_messages` with type `list[PromptMessage]` in function `graphon.nodes.llm.llm_utils._append_file_prompts` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:742:29
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.llm.node.LLMNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:215:16
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:744:29
ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1224:9
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1216:9
ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1254:9
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1246:9
ERROR Argument `Iterator[LLMResultChunk | LLMStructuredOutput] | Iterator[Any]` is not assignable to parameter `invoke_result` with type `Generator[LLMResultChunk | LLMStructuredOutput] | LLMResult` in function `graphon.nodes.llm.node.LLMNode.handle_invoke_result` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1513:31
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1504:31
ERROR Argument `Generator[None, Unknown]` is not assignable to parameter `invoke_result` with type `Generator[LLMResultChunk | LLMStructuredOutput] | LLMResult` in function `graphon.nodes.llm.node.LLMNode.handle_invoke_result` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1551:31
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1541:31
ERROR Missing argument `run_context` in function `core.app.llm.model_access.DifyCredentialsProvider.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1744:32
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1733:32
ERROR Missing argument `run_context` in function `core.app.llm.model_access.DifyModelFactory.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1747:25
-ERROR `dict[str, list[Unknown] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:113:48
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1736:25
ERROR `in` is not supported between `Literal['variables']` and `object` [not-iterable]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:127:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:145:16
ERROR `in` is not supported between `Literal['template']` and `object` [not-iterable]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:128:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:146:16
ERROR Cannot index into `object` [bad-index]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:129:16
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:203:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:307:48
-ERROR `dict[str, list[Unknown] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:414:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:453:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:482:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:512:48
-ERROR `dict[str, list[@_] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/test_template_transform_node.py:43:21
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.document_extractor.node.DocumentExtractorNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_document_extractor_node.py:51:16
-ERROR Argument `dict[str, dict[str, list[dict[str, list[str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:113:16
-ERROR Argument `dict[str, dict[str, list[dict[str, list[str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:183:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:249:16
-ERROR `dict[str, list[dict[str, Any]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:341:42
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:409:21
-ERROR `dict[str, list[dict[str, list[dict[str, list[str] | str]] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:479:42
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_list_operator.py:59:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:37:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:147:16
+ERROR Argument `dict[str, list[dict[str, Any]] | str]` is not assignable to parameter `node_data` with type `IfElseNodeData | dict[str, object]` in function `_build_if_else_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/test_if_else.py:330:19
+ERROR Argument `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to parameter `node_data` with type `IfElseNodeData | dict[str, object]` in function `_build_if_else_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/test_if_else.py:395:19
+ERROR Argument `dict[str, list[dict[str, list[dict[str, list[str] | str]] | str]] | str]` is not assignable to parameter `node_data` with type `IfElseNodeData | dict[str, object]` in function `_build_if_else_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/test_if_else.py:463:19
ERROR `Literal['{invalid-json-schema']` is not assignable to attribute `json_schema` with type `dict[str, Any] | None` [bad-assignment]
- --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:211:28
-ERROR Argument `dict[str, dict[s\n\n... (truncated) ... |
Contributor
Pyrefly Diffbase → PR--- /tmp/pyrefly_base.txt 2026-04-18 09:55:58.167701513 +0000
+++ /tmp/pyrefly_pr.txt 2026-04-18 09:55:49.040559884 +0000
@@ -2,8 +2,6 @@
--> app_factory.py:132:5
ERROR Object of class `App` has no attribute `access_mode` [missing-attribute]
--> controllers/console/app/app.py:552:13
-ERROR Object of class `object` has no attribute `value` [missing-attribute]
- --> controllers/console/app/conversation_variables.py:48:24
ERROR Argument `str | None` is not assignable to parameter `language` with type `str` in function `services.account_service.AccountService.send_email_register_email` [bad-argument-type]
--> controllers/console/auth/email_register.py:75:108
ERROR Object of class `MissingRouter` has no attribute `get` [missing-attribute]
@@ -20,8 +18,6 @@
--> controllers/console/socketio/workflow.py:45:14
ERROR Object of class `MissingRouter` has no attribute `get` [missing-attribute]
--> controllers/console/version.py:30:2
-ERROR Object of class `object` has no attribute `value` [missing-attribute]
- --> controllers/service_api/app/conversation.py:87:24
ERROR Class member `EasyUIBasedGenerateTaskPipeline._application_generate_entity` overrides parent class `BasedGenerateTaskPipeline` in an inconsistent manner [bad-override]
--> core/app/task_pipeline/easy_ui_based_generate_task_pipeline.py:75:5
ERROR `+=` is not supported between `list[PromptMessageContentUnionTypes]` and `str` [unsupported-operation]
@@ -46,26 +42,6 @@
--> core/llm_generator/llm_generator.py:394:60
ERROR No matching overload found for function `core.model_manager.ModelInstance.invoke_llm` called with arguments: (prompt_messages=list[SystemPromptMessage | UserPromptMessage], model_parameters=dict[str, float], stream=Literal[False]) [no-matching-overload]
--> core/llm_generator/llm_generator.py:582:60
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:171:17
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:196:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:216:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:238:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:255:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:280:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:308:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:327:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:343:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:360:13
ERROR Class member `OpsTraceProviderConfigMap.__getitem__` overrides parent class `UserDict` in an inconsistent manner [bad-param-name-override]
--> core/ops/ops_trace_manager.py:206:9
ERROR Object of class `NoneType` has no attribute `data_source_type` [missing-attribute]
@@ -116,8 +92,6 @@
--> extensions/storage/huawei_obs_storage.py:27:23
ERROR Cannot index into `Literal['']` [bad-index]
--> extensions/storage/huawei_obs_storage.py:31:20
-ERROR Object of class `object` has no attribute `value` [missing-attribute]
- --> fields/conversation_variable_fields.py:60:24
ERROR Argument `Module[Crypto.Hash.SHA1] | Unknown` is not assignable to parameter with type `Hash | HashModule` [bad-argument-type]
--> libs/gmpy2_pkcs10aep_cipher.py:73:49
ERROR Object of class `NoneType` has no attribute `trace_id` [missing-attribute]
@@ -810,6 +784,8 @@
--> services/hit_testing_service.py:92:28
ERROR Argument `RetrievalMethod | bool | dict[str, str] | int | Any | None` is not assignable to parameter `weights` with type `WeightsDict | None` in function `core.rag.datasource.retrieval_service.RetrievalService.retrieve` [bad-argument-type]
--> services/hit_testing_service.py:93:21
+ERROR Argument `bool | str | Any` is not assignable to parameter `token` with type `str` in function `core.helper.encrypter.encrypt_token` [bad-argument-type]
+ --> services/model_load_balancing_service.py:623:71
ERROR `handled_tenant_count` was assigned in the current scope before the nonlocal declaration [unknown-name]
--> services/plugin/plugin_migration.py:92:34
ERROR `dict[str, Any]` is not assignable to attribute `credentials` with type `Never` [bad-assignment]
@@ -830,12 +806,10 @@
--> tests/integration_tests/controllers/console/app/test_feedback_export_api.py:32:22
ERROR Argument `Literal['normal']` is not assignable to parameter `value` with type `AppStatus | SQLCoreOperations[AppStatus]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
--> tests/integration_tests/controllers/console/app/test_model_config_permissions.py:28:22
-ERROR `dict[str, str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:75:21
ERROR Argument `_GP` is not assignable to parameter `graph_init_params` with type `GraphInitParams` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:85:27
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:83:27
ERROR Argument `_GS` is not assignable to parameter `graph_runtime_state` with type `GraphRuntimeState` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:86:29
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:84:29
ERROR Could not import `Overflow` from `libs.broadcast_channel.channel` [missing-module-attribute]
--> tests/integration_tests/libs/broadcast_channel/redis/utils/test_data.py:11:44
ERROR `unpatch` may be uninitialized [unbound-name]
@@ -856,26 +830,18 @@
--> tests/integration_tests/services/test_workflow_draft_variable_service.py:651:21
ERROR Object of class `TestWorkflowDraftVariableServiceResetVariable` has no attribute `_test_user_id` [missing-attribute]
--> tests/integration_tests/services/test_workflow_draft_variable_service.py:817:21
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.code.code_node.CodeNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_code.py:68:16
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_http.py:79:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:83:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/integration_tests/workflow/nodes/test_http.py:84:35
-ERROR Argument `dict[str, dict[str, dict[str, dict[str, str] | str] | str | Unknown | None] | str] | dict[str, dict[str, str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_http.py:727:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:242:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:731:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/integration_tests/workflow/nodes/test_http.py:732:35
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.llm.node.LLMNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_llm.py:79:16
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.parameter_extractor.parameter_extractor_node.ParameterExtractorNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_parameter_extractor.py:73:16
-ERROR Argument `dict[str, dict[str, list[dict[str, list[str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.template_transform.template_transform_node.TemplateTransformNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_template_transform.py:90:16
ERROR Argument `_SimpleJinja2Renderer` is not assignable to parameter `jinja2_template_renderer` with type `Jinja2TemplateRenderer` in function `graphon.nodes.template_transform.template_transform_node.TemplateTransformNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_template_transform.py:93:34
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.tool.tool_node.ToolNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_tool.py:64:16
+ --> tests/integration_tests/workflow/nodes/test_template_transform.py:94:34
ERROR `dict[str, str | None]` is not assignable to attribute `env` with type `dict[str, str]` [bad-assignment]
--> tests/test_containers_integration_tests/conftest.py:204:39
ERROR Argument value `Literal[0]` violates Pydantic `ge` constraint `Literal[1]` for field `page` [bad-argument-type]
@@ -994,12 +960,6 @@
--> tests/test_containers_integration_tests/core/rag/retrieval/test_dataset_retrieval_integration.py:574:23
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
--> tests/test_containers_integration_tests/core/rag/retrieval/test_dataset_retrieval_integration.py:584:23
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:105:40
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:120:40
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:134:38
ERROR Argument `Connection | Engine` is not assignable to parameter `session_factory` with type `Engine | sessionmaker[Unknown]` in function `core.repositories.sqlalchemy_workflow_execution_repository.SQLAlchemyWorkflowExecutionRepository.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:264:29
ERROR Argument `Connection | Engine` is not assignable to parameter `session_factory` with type `Engine | sessionmaker[Unknown]` in function `core.repositories.sqlalchemy_workflow_node_execution_repository.SQLAlchemyWorkflowNodeExecutionRepository.__init__` [bad-argument-type]
@@ -1356,7 +1316,7 @@
--> tests/test_containers_integration_tests/services/test_file_service.py:78:20
ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_human_input_delivery_test.py:32:18
-ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_compat.EmailRecipients.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_adapter.EmailRecipients.__init__` [unexpected-keyword]
--> tests/test_containers_integration_tests/services/test_human_input_delivery_test_service.py:239:44
ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_message_export_service.py:53:20
@@ -2293,11 +2253,11 @@
ERROR Argument `list[dict[str, Any]] | None` is not assignable to parameter `obj` with type `Sized` in function `len` [bad-argument-type]
--> tests/unit_tests/controllers/service_api/app/test_completion.py:156:20
ERROR Argument value `Literal[0]` violates Pydantic `ge` constraint `Literal[1]` for field `limit` [bad-argument-type]
- --> tests/unit_tests/controllers/service_api/app/test_conversation.py:84:35
+ --> tests/unit_tests/controllers/service_api/app/test_conversation.py:86:35
ERROR Argument value `Literal[101]` violates Pydantic `le` constraint `Literal[100]` for field `limit` [bad-argument-type]
- --> tests/unit_tests/controllers/service_api/app/test_conversation.py:89:35
+ --> tests/unit_tests/controllers/service_api/app/test_conversation.py:91:35
ERROR Missing argument `session` in function `services.conversation_service.ConversationService.pagination_by_last_id` [missing-argument]
- --> tests/unit_tests/controllers/service_api/app/test_conversation.py:427:59
+ --> tests/unit_tests/controllers/service_api/app/test_conversation.py:455:59
ERROR Argument value `Literal[0]` violates Pydantic `ge` constraint `Literal[1]` for field `limit` [bad-argument-type]
--> tests/unit_tests/controllers/service_api/app/test_message.py:94:63
ERROR Argument value `Literal[101]` violates Pydantic `le` constraint `Literal[100]` for field `limit` [bad-argument-type]
@@ -3263,43 +3223,43 @@
ERROR Object of class `ModuleType` has no attribute `TraceQueueManager` [missing-attribute]
--> tests/unit_tests/core/app/apps/test_pause_resume.py:42:5
ERROR Class member `_StubToolNode._run` overrides parent class `Node` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:79:9
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:92:9
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:220:19
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:226:19
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow` with type `Workflow` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:221:18
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:227:18
ERROR Argument `SimpleNamespace` is not assignable to parameter `user` with type `Account | EndUser` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:222:14
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:228:14
ERROR Argument `SimpleNamespace` is not assignable to parameter `application_generate_entity` with type `WorkflowAppGenerateEntity` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:223:37
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:37
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_execution_repository` with type `WorkflowExecutionRepository` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:225:39
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:231:39
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_node_execution_repository` with type `WorkflowNodeExecutionRepository` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:226:44
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:232:44
ERROR `+` is not supported between `list[str]` and `Generator[Mapping[str, Any] | str]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:235:12
ERROR `+` is not supported between `list[str]` and `Mapping[str, Any]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:235:12
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:260:19
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:266:19
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow` with type `Workflow` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:261:18
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:267:18
ERROR Argument `SimpleNamespace` is not assignable to parameter `user` with type `Account | EndUser` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:262:14
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:268:14
ERROR Argument `SimpleNamespace` is not assignable to parameter `conversation` with type `Conversation` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:263:22
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:269:22
ERROR Argument `SimpleNamespace` is not assignable to parameter `message` with type `Message` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:264:17
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:270:17
ERROR Argument `SimpleNamespace` is not assignable to parameter `application_generate_entity` with type `AdvancedChatAppGenerateEntity` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:265:37
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:37
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_execution_repository` with type `WorkflowExecutionRepository` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:266:39
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:272:39
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_node_execution_repository` with type `WorkflowNodeExecutionRepository` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:267:44
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:273:44
ERROR `+` is not supported between `list[str]` and `Generator[Mapping[str, Any] | str]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:277:12
ERROR `+` is not supported between `list[str]` and `Mapping[str, Any]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:277:12
ERROR Cannot index into `str` [bad-index]
--> tests/unit_tests/core/app/apps/test_streaming_utils.py:79:12
ERROR Argument `FakeTopic` is not assignable to parameter `topic` with type `Topic` in function `core.app.apps.streaming_utils.stream_topic_events` [bad-argument-type]
@@ -3972,8 +3932,8 @@
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:174:16
ERROR Object of class `object` has no attribute `total_steps` [missing-attribute]
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:175:16
-ERROR `SimpleNamespace` is not assignable to attribute `_graph_execution` with type `GraphExecutionProtocol | None` [bad-assignment]
- --> tests/unit_tests/core/app/workflow/test_persistence_layer.py:182:42
+ERROR Object of class `GraphRuntimeState` has no attribute `_graph_execution` [missing-attribute]
+ --> tests/unit_tests/core/app/workflow/test_persistence_layer.py:182:9
ERROR Object of class `object` has no attribute `status` [missing-attribute]
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:189:16
ERROR Object of class `object` has no attribute `exceptions_count` [missing-attribute]
@@ -5334,6 +5294,16 @@
ERROR Object of class `BlobChunkMessage` has no attribute `variable_value`
ERROR Object of class `BlobChunkMessage` has no attribute `stream`
ERROR Object of class `BlobChunkMessage` has no attribute `file_marker`
+ERROR Argument `object` is not assignable to parameter `obj` with type `Sized` in function `len` [bad-argument-type]
+ --> tests/unit_tests/core/variables/test_segment.py:503:20
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:504:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:505:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:512:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:513:16
ERROR Cannot set field `value` [read-only]
--> tests/unit_tests/core/variables/test_variables.py:20:9
ERROR Cannot set field `value` [read-only]
@@ -5363,47 +5333,39 @@
ERROR Could not find name `NodeType` [unknown-name]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_config.py:158:46
ERROR Cannot extend final class `DifyNodeFactory` [invalid-inheritance]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:37:23
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:38:23
ERROR Cannot set item in `dict[str, type[MockAgentNode] | type[MockCodeNode] | type[MockDocumentExtractorNode] | type[MockHttpRequestNode] | type[MockIterationNode] | type[MockKnowledgeRetrievalNode] | type[MockLLMNode] | type[MockLoopNode] | type[MockParameterExtractorNode] | type[MockQuestionClassifierNode] | type[MockTemplateTransformNode] | type[MockToolNode]]` [unsupported-operation]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:161:44
-ERROR Unexpected keyword argument `id` in function `object.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:99:13
-ERROR Unexpected keyword argument `config` in function `object.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:162:44
+ERROR Unexpected keyword argument `node_id` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:100:13
-ERROR Unexpected keyword argument `graph_init_params` in function `object.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `config` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:101:13
-ERROR Unexpected keyword argument `graph_runtime_state` in function `object.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `graph_init_params` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:102:13
+ERROR Unexpected keyword argument `graph_runtime_state` in function `object.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:103:13
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:113:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:114:56
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:128:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:129:56
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:139:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:140:56
ERROR Class member `MockKnowledgeRetrievalNode.version` overrides parent class `KnowledgeRetrievalNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:350:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:351:9
ERROR Class member `MockKnowledgeRetrievalNode._run` overrides parent class `KnowledgeRetrievalNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:354:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:355:9
ERROR Class member `MockHttpRequestNode._run` overrides parent class `HttpRequestNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:411:9
-ERROR Class member `MockQuestionClassifierNode.version` overrides parent class `QuestionClassifierNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:460:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:412:9
ERROR Class member `MockQuestionClassifierNode._run` overrides parent class `QuestionClassifierNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:464:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:465:9
ERROR Class member `MockParameterExtractorNode._run` overrides parent class `ParameterExtractorNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:512:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:513:9
ERROR Class member `MockDocumentExtractorNode._run` overrides parent class `DocumentExtractorNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:562:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:563:9
ERROR Argument `str | None` is not assignable to parameter `root_node_id` with type `str` in function `graphon.graph.graph.Graph.init` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:661:85
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:143:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:158:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:168:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:186:16
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:662:85
+ERROR Class member `MockLoopNode._create_graph_engine` overrides parent class `LoopNode` in an inconsistent manner [bad-override]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:690:9
ERROR Argument `Sequence[type[GraphEngineEvent]]` is not assignable to parameter `expected_sequence` with type `list[type[GraphEngineEvent]]` in function `TableTestRunner._validate_event_sequence` [bad-argument-type]
--> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:402:21
ERROR `graph` is uninitialized [unbound-name]
@@ -5412,20 +5374,52 @@
--> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:456:37
ERROR Argument `Iterator[Unknown]` is not assignable to parameter `messages` with type `Generator[ToolInvokeMessage]` in function `core.workflow.nodes.agent.message_transformer.AgentMessageTransformer.transform` [bad-argument-type]
--> tests/unit_tests/core/workflow/nodes/agent/test_message_transformer.py:15:26
-ERROR Argument `dict[str, dict[str, str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/answer/test_answer.py:82:16
ERROR Class member `_Version1._get_retry_config` overrides parent class `Node` in an inconsistent manner [bad-override]
--> tests/unit_tests/core/workflow/nodes/base/test_get_node_type_classes_mapping.py:53:13
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:150:44
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:157:44
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:164:45
ERROR `BaseNodeData` is not assignable to attribute `_node_data` with type `CodeNodeData` [bad-assignment]
--> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:440:27
ERROR `BaseNodeData` is not assignable to attribute `_node_data` with type `CodeNodeData` [bad-assignment]
--> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:456:27
-ERROR `dict[str, str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:83:21
ERROR Argument `_GraphParams` is not assignable to parameter `graph_init_params` with type `GraphInitParams` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:93:27
+ --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:91:27
ERROR Argument `_GraphState` is not assignable to parameter `graph_runtime_state` with type `GraphRuntimeState` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:94:29
+ --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:92:29
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:64:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:120:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:178:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:224:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:271:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:324:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:361:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:413:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:440:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:467:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:494:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:520:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:570:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:617:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:658:21
ERROR Cannot index into `object` [bad-index]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:32:15
ERROR Cannot index into `object` [bad-index]
@@ -5438,190 +5432,98 @@
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:65:12
ERROR Cannot index into `object` [bad-index]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:66:12
-ERROR Argument `dict[str, Any]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:118:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:122:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:123:35
+ERROR Argument `Response` is not assignable to parameter `response` with type `HttpResponse` in function `graphon.nodes.http_request.entities.Response.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:158:17
ERROR Object of class `NoneType` has no attribute `type` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:184:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:204:16
ERROR Object of class `NoneType` has no attribute `value` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:185:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:205:16
ERROR Object of class `NoneType` has no attribute `type` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:193:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:213:16
ERROR Object of class `NoneType` has no attribute `selector` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:194:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:214:16
ERROR Object of class `HumanInputNodeData` has no attribute `delivery_methods` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:278:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:298:20
ERROR Object of class `HumanInputNodeData` has no attribute `delivery_methods` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:301:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:321:20
ERROR Object of class `ExternalRecipient` has no attribute `reference_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:394:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:414:16
ERROR Object of class `BoundRecipient` has no attribute `email` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:395:16
-ERROR Missing argument `reference_id` in function `core.workflow.human_input_compat.BoundRecipient.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:399:28
-ERROR Unexpected keyword argument `user_id` in function `core.workflow.human_input_compat.BoundRecipient.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:399:61
-ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_compat.EmailRecipients.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:401:38
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:470:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:415:16
+ERROR Missing argument `reference_id` in function `core.workflow.human_input_adapter.BoundRecipient.__init__` [missing-argument]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:419:28
+ERROR Unexpected keyword argument `user_id` in function `core.workflow.human_input_adapter.BoundRecipient.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:419:61
+ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_adapter.EmailRecipients.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:421:38
ERROR Object of class `SchedulingPause` has no attribute `resolved_default_values` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:481:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:535:20
-ERROR Argument `dict[str, dict[str, list[dict[str, bool | dict[Unknown, Unknown] | str]] | list[dict[str, str]] | list[Unknown] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:600:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:676:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:775:20
-ERROR Argument `dict[str, dict[str, list[dict[str, str]] | list[dict[str, dict[str, str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_human_input_form_filled_event.py:85:16
-ERROR Argument `dict[str, dict[str, list[dict[str, str]] | list[dict[str, dict[str, str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_human_input_form_filled_event.py:150:16
-ERROR `dict[str, list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/iteration/test_iteration_child_engine_errors.py:50:21
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_index.knowledge_index_node.KnowledgeIndexNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:120:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:501:16
+ERROR Argument `dict[str, list[str] | str]` is not assignable to parameter `node_data` with type `KnowledgeIndexNodeData | dict[str, object]` in function `_build_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:139:23
ERROR Argument `dict[str, bool]` is not assignable to parameter `summary_index_setting` with type `SummaryIndexSettingDict | None` in function `core.workflow.nodes.knowledge_index.knowledge_index_node.KnowledgeIndexNode._invoke_knowledge_index` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:641:35
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:110:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:198:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:474:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:566:20
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:614:20
-ERROR `None` is not subscriptable [unsupported-operation]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:633:16
-ERROR `None` is not subscriptable [unsupported-operation]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:634:27
-ERROR `None` is not subscriptable [unsupported-operation]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:635:16
-ERROR `None` is not subscriptable [unsupported-operation]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:636:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:675:20
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:69:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:114:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:145:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:174:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:203:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:231:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:259:43
-ERROR `dict[str, dict[str, bool | int] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:287:43
-ERROR `dict[str, dict[str, bool | int] | dict[str, bool | str] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:322:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:346:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:371:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:401:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:430:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:459:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:488:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:516:43
+ --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:660:35
+ERROR `None` is not subscriptable [unsupported-operation]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:643:16
+ERROR `None` is not subscriptable [unsupported-operation]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:644:27
+ERROR `None` is not subscriptable [unsupported-operation]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:645:16
+ERROR `None` is not subscriptable [unsupported-operation]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:646:16
ERROR Argument `None` is not assignable to parameter `context` with type `str` in function `graphon.nodes.llm.llm_utils.fetch_prompt_messages` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:123:21
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:125:21
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:604:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:606:65
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:607:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:609:65
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:610:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:612:65
ERROR Argument `list[UserPromptMessage]` is not assignable to parameter `prompt_messages` with type `list[PromptMessage]` in function `graphon.nodes.llm.llm_utils._append_file_prompts` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:726:29
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:728:29
ERROR Argument `list[SystemPromptMessage]` is not assignable to parameter `prompt_messages` with type `list[PromptMessage]` in function `graphon.nodes.llm.llm_utils._append_file_prompts` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:742:29
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.llm.node.LLMNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:215:16
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:744:29
ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1224:9
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1216:9
ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1254:9
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1246:9
ERROR Argument `Iterator[LLMResultChunk | LLMStructuredOutput] | Iterator[Any]` is not assignable to parameter `invoke_result` with type `Generator[LLMResultChunk | LLMStructuredOutput] | LLMResult` in function `graphon.nodes.llm.node.LLMNode.handle_invoke_result` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1513:31
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1504:31
ERROR Argument `Generator[None, Unknown]` is not assignable to parameter `invoke_result` with type `Generator[LLMResultChunk | LLMStructuredOutput] | LLMResult` in function `graphon.nodes.llm.node.LLMNode.handle_invoke_result` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1551:31
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1541:31
ERROR Missing argument `run_context` in function `core.app.llm.model_access.DifyCredentialsProvider.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1744:32
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1733:32
ERROR Missing argument `run_context` in function `core.app.llm.model_access.DifyModelFactory.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1747:25
-ERROR `dict[str, list[Unknown] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:113:48
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1736:25
ERROR `in` is not supported between `Literal['variables']` and `object` [not-iterable]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:127:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:145:16
ERROR `in` is not supported between `Literal['template']` and `object` [not-iterable]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:128:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:146:16
ERROR Cannot index into `object` [bad-index]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:129:16
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:203:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:307:48
-ERROR `dict[str, list[Unknown] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:414:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:453:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:482:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:512:48
-ERROR `dict[str, list[@_] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/test_template_transform_node.py:43:21
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.document_extractor.node.DocumentExtractorNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_document_extractor_node.py:51:16
-ERROR Argument `dict[str, dict[str, list[dict[str, list[str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:113:16
-ERROR Argument `dict[str, dict[str, list[dict[str, list[str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:183:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:249:16
-ERROR `dict[str, list[dict[str, Any]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:341:42
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:409:21
-ERROR `dict[str, list[dict[str, list[dict[str, list[str] | str]] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:479:42
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_list_operator.py:59:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:37:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:147:16
+ERROR Argument `dict[str, list[dict[str, Any]] | str]` is not assignable to parameter `node_data` with type `IfElseNodeData | dict[str, object]` in function `_build_if_else_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/test_if_else.py:330:19
+ERROR Argument `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to parameter `node_data` with type `IfElseNodeData | dict[str, object]` in function `_build_if_else_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/test_if_else.py:395:19
+ERROR Argument `dict[str, list[dict[str, list[dict[str, list[str] | str]] | str]] | str]` is not assignable to parameter `node_data` with type `IfElseNodeData | dict[str, object]` in function `_build_if_else_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/test_if_else.py:463:19
ERROR `Literal['{invalid-json-schema']` is not assignable to attribute `json_schema` with type `dict[str, Any] | None` [bad-assignment]
- --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:211:28
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:269:16
+ --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:208:28
... (truncated) ... |
Contributor
Pyrefly Diffbase → PR--- /tmp/pyrefly_base.txt 2026-04-18 09:55:58.167701513 +0000
+++ /tmp/pyrefly_pr.txt 2026-04-18 09:55:49.040559884 +0000
@@ -2,8 +2,6 @@
--> app_factory.py:132:5
ERROR Object of class `App` has no attribute `access_mode` [missing-attribute]
--> controllers/console/app/app.py:552:13
-ERROR Object of class `object` has no attribute `value` [missing-attribute]
- --> controllers/console/app/conversation_variables.py:48:24
ERROR Argument `str | None` is not assignable to parameter `language` with type `str` in function `services.account_service.AccountService.send_email_register_email` [bad-argument-type]
--> controllers/console/auth/email_register.py:75:108
ERROR Object of class `MissingRouter` has no attribute `get` [missing-attribute]
@@ -20,8 +18,6 @@
--> controllers/console/socketio/workflow.py:45:14
ERROR Object of class `MissingRouter` has no attribute `get` [missing-attribute]
--> controllers/console/version.py:30:2
-ERROR Object of class `object` has no attribute `value` [missing-attribute]
- --> controllers/service_api/app/conversation.py:87:24
ERROR Class member `EasyUIBasedGenerateTaskPipeline._application_generate_entity` overrides parent class `BasedGenerateTaskPipeline` in an inconsistent manner [bad-override]
--> core/app/task_pipeline/easy_ui_based_generate_task_pipeline.py:75:5
ERROR `+=` is not supported between `list[PromptMessageContentUnionTypes]` and `str` [unsupported-operation]
@@ -46,26 +42,6 @@
--> core/llm_generator/llm_generator.py:394:60
ERROR No matching overload found for function `core.model_manager.ModelInstance.invoke_llm` called with arguments: (prompt_messages=list[SystemPromptMessage | UserPromptMessage], model_parameters=dict[str, float], stream=Literal[False]) [no-matching-overload]
--> core/llm_generator/llm_generator.py:582:60
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:171:17
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:196:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:216:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:238:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:255:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:280:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:308:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:327:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:343:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:360:13
ERROR Class member `OpsTraceProviderConfigMap.__getitem__` overrides parent class `UserDict` in an inconsistent manner [bad-param-name-override]
--> core/ops/ops_trace_manager.py:206:9
ERROR Object of class `NoneType` has no attribute `data_source_type` [missing-attribute]
@@ -116,8 +92,6 @@
--> extensions/storage/huawei_obs_storage.py:27:23
ERROR Cannot index into `Literal['']` [bad-index]
--> extensions/storage/huawei_obs_storage.py:31:20
-ERROR Object of class `object` has no attribute `value` [missing-attribute]
- --> fields/conversation_variable_fields.py:60:24
ERROR Argument `Module[Crypto.Hash.SHA1] | Unknown` is not assignable to parameter with type `Hash | HashModule` [bad-argument-type]
--> libs/gmpy2_pkcs10aep_cipher.py:73:49
ERROR Object of class `NoneType` has no attribute `trace_id` [missing-attribute]
@@ -810,6 +784,8 @@
--> services/hit_testing_service.py:92:28
ERROR Argument `RetrievalMethod | bool | dict[str, str] | int | Any | None` is not assignable to parameter `weights` with type `WeightsDict | None` in function `core.rag.datasource.retrieval_service.RetrievalService.retrieve` [bad-argument-type]
--> services/hit_testing_service.py:93:21
+ERROR Argument `bool | str | Any` is not assignable to parameter `token` with type `str` in function `core.helper.encrypter.encrypt_token` [bad-argument-type]
+ --> services/model_load_balancing_service.py:623:71
ERROR `handled_tenant_count` was assigned in the current scope before the nonlocal declaration [unknown-name]
--> services/plugin/plugin_migration.py:92:34
ERROR `dict[str, Any]` is not assignable to attribute `credentials` with type `Never` [bad-assignment]
@@ -830,12 +806,10 @@
--> tests/integration_tests/controllers/console/app/test_feedback_export_api.py:32:22
ERROR Argument `Literal['normal']` is not assignable to parameter `value` with type `AppStatus | SQLCoreOperations[AppStatus]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
--> tests/integration_tests/controllers/console/app/test_model_config_permissions.py:28:22
-ERROR `dict[str, str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:75:21
ERROR Argument `_GP` is not assignable to parameter `graph_init_params` with type `GraphInitParams` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:85:27
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:83:27
ERROR Argument `_GS` is not assignable to parameter `graph_runtime_state` with type `GraphRuntimeState` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:86:29
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:84:29
ERROR Could not import `Overflow` from `libs.broadcast_channel.channel` [missing-module-attribute]
--> tests/integration_tests/libs/broadcast_channel/redis/utils/test_data.py:11:44
ERROR `unpatch` may be uninitialized [unbound-name]
@@ -856,26 +830,18 @@
--> tests/integration_tests/services/test_workflow_draft_variable_service.py:651:21
ERROR Object of class `TestWorkflowDraftVariableServiceResetVariable` has no attribute `_test_user_id` [missing-attribute]
--> tests/integration_tests/services/test_workflow_draft_variable_service.py:817:21
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.code.code_node.CodeNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_code.py:68:16
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_http.py:79:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:83:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/integration_tests/workflow/nodes/test_http.py:84:35
-ERROR Argument `dict[str, dict[str, dict[str, dict[str, str] | str] | str | Unknown | None] | str] | dict[str, dict[str, str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_http.py:727:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:242:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:731:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/integration_tests/workflow/nodes/test_http.py:732:35
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.llm.node.LLMNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_llm.py:79:16
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.parameter_extractor.parameter_extractor_node.ParameterExtractorNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_parameter_extractor.py:73:16
-ERROR Argument `dict[str, dict[str, list[dict[str, list[str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.template_transform.template_transform_node.TemplateTransformNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_template_transform.py:90:16
ERROR Argument `_SimpleJinja2Renderer` is not assignable to parameter `jinja2_template_renderer` with type `Jinja2TemplateRenderer` in function `graphon.nodes.template_transform.template_transform_node.TemplateTransformNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_template_transform.py:93:34
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.tool.tool_node.ToolNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_tool.py:64:16
+ --> tests/integration_tests/workflow/nodes/test_template_transform.py:94:34
ERROR `dict[str, str | None]` is not assignable to attribute `env` with type `dict[str, str]` [bad-assignment]
--> tests/test_containers_integration_tests/conftest.py:204:39
ERROR Argument value `Literal[0]` violates Pydantic `ge` constraint `Literal[1]` for field `page` [bad-argument-type]
@@ -994,12 +960,6 @@
--> tests/test_containers_integration_tests/core/rag/retrieval/test_dataset_retrieval_integration.py:574:23
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
--> tests/test_containers_integration_tests/core/rag/retrieval/test_dataset_retrieval_integration.py:584:23
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:105:40
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:120:40
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:134:38
ERROR Argument `Connection | Engine` is not assignable to parameter `session_factory` with type `Engine | sessionmaker[Unknown]` in function `core.repositories.sqlalchemy_workflow_execution_repository.SQLAlchemyWorkflowExecutionRepository.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:264:29
ERROR Argument `Connection | Engine` is not assignable to parameter `session_factory` with type `Engine | sessionmaker[Unknown]` in function `core.repositories.sqlalchemy_workflow_node_execution_repository.SQLAlchemyWorkflowNodeExecutionRepository.__init__` [bad-argument-type]
@@ -1356,7 +1316,7 @@
--> tests/test_containers_integration_tests/services/test_file_service.py:78:20
ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_human_input_delivery_test.py:32:18
-ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_compat.EmailRecipients.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_adapter.EmailRecipients.__init__` [unexpected-keyword]
--> tests/test_containers_integration_tests/services/test_human_input_delivery_test_service.py:239:44
ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_message_export_service.py:53:20
@@ -2293,11 +2253,11 @@
ERROR Argument `list[dict[str, Any]] | None` is not assignable to parameter `obj` with type `Sized` in function `len` [bad-argument-type]
--> tests/unit_tests/controllers/service_api/app/test_completion.py:156:20
ERROR Argument value `Literal[0]` violates Pydantic `ge` constraint `Literal[1]` for field `limit` [bad-argument-type]
- --> tests/unit_tests/controllers/service_api/app/test_conversation.py:84:35
+ --> tests/unit_tests/controllers/service_api/app/test_conversation.py:86:35
ERROR Argument value `Literal[101]` violates Pydantic `le` constraint `Literal[100]` for field `limit` [bad-argument-type]
- --> tests/unit_tests/controllers/service_api/app/test_conversation.py:89:35
+ --> tests/unit_tests/controllers/service_api/app/test_conversation.py:91:35
ERROR Missing argument `session` in function `services.conversation_service.ConversationService.pagination_by_last_id` [missing-argument]
- --> tests/unit_tests/controllers/service_api/app/test_conversation.py:427:59
+ --> tests/unit_tests/controllers/service_api/app/test_conversation.py:455:59
ERROR Argument value `Literal[0]` violates Pydantic `ge` constraint `Literal[1]` for field `limit` [bad-argument-type]
--> tests/unit_tests/controllers/service_api/app/test_message.py:94:63
ERROR Argument value `Literal[101]` violates Pydantic `le` constraint `Literal[100]` for field `limit` [bad-argument-type]
@@ -3263,43 +3223,43 @@
ERROR Object of class `ModuleType` has no attribute `TraceQueueManager` [missing-attribute]
--> tests/unit_tests/core/app/apps/test_pause_resume.py:42:5
ERROR Class member `_StubToolNode._run` overrides parent class `Node` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:79:9
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:92:9
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:220:19
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:226:19
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow` with type `Workflow` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:221:18
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:227:18
ERROR Argument `SimpleNamespace` is not assignable to parameter `user` with type `Account | EndUser` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:222:14
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:228:14
ERROR Argument `SimpleNamespace` is not assignable to parameter `application_generate_entity` with type `WorkflowAppGenerateEntity` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:223:37
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:37
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_execution_repository` with type `WorkflowExecutionRepository` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:225:39
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:231:39
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_node_execution_repository` with type `WorkflowNodeExecutionRepository` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:226:44
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:232:44
ERROR `+` is not supported between `list[str]` and `Generator[Mapping[str, Any] | str]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:235:12
ERROR `+` is not supported between `list[str]` and `Mapping[str, Any]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:235:12
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:260:19
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:266:19
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow` with type `Workflow` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:261:18
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:267:18
ERROR Argument `SimpleNamespace` is not assignable to parameter `user` with type `Account | EndUser` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:262:14
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:268:14
ERROR Argument `SimpleNamespace` is not assignable to parameter `conversation` with type `Conversation` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:263:22
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:269:22
ERROR Argument `SimpleNamespace` is not assignable to parameter `message` with type `Message` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:264:17
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:270:17
ERROR Argument `SimpleNamespace` is not assignable to parameter `application_generate_entity` with type `AdvancedChatAppGenerateEntity` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:265:37
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:37
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_execution_repository` with type `WorkflowExecutionRepository` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:266:39
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:272:39
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_node_execution_repository` with type `WorkflowNodeExecutionRepository` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:267:44
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:273:44
ERROR `+` is not supported between `list[str]` and `Generator[Mapping[str, Any] | str]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:277:12
ERROR `+` is not supported between `list[str]` and `Mapping[str, Any]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:277:12
ERROR Cannot index into `str` [bad-index]
--> tests/unit_tests/core/app/apps/test_streaming_utils.py:79:12
ERROR Argument `FakeTopic` is not assignable to parameter `topic` with type `Topic` in function `core.app.apps.streaming_utils.stream_topic_events` [bad-argument-type]
@@ -3972,8 +3932,8 @@
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:174:16
ERROR Object of class `object` has no attribute `total_steps` [missing-attribute]
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:175:16
-ERROR `SimpleNamespace` is not assignable to attribute `_graph_execution` with type `GraphExecutionProtocol | None` [bad-assignment]
- --> tests/unit_tests/core/app/workflow/test_persistence_layer.py:182:42
+ERROR Object of class `GraphRuntimeState` has no attribute `_graph_execution` [missing-attribute]
+ --> tests/unit_tests/core/app/workflow/test_persistence_layer.py:182:9
ERROR Object of class `object` has no attribute `status` [missing-attribute]
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:189:16
ERROR Object of class `object` has no attribute `exceptions_count` [missing-attribute]
@@ -5334,6 +5294,16 @@
ERROR Object of class `BlobChunkMessage` has no attribute `variable_value`
ERROR Object of class `BlobChunkMessage` has no attribute `stream`
ERROR Object of class `BlobChunkMessage` has no attribute `file_marker`
+ERROR Argument `object` is not assignable to parameter `obj` with type `Sized` in function `len` [bad-argument-type]
+ --> tests/unit_tests/core/variables/test_segment.py:503:20
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:504:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:505:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:512:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:513:16
ERROR Cannot set field `value` [read-only]
--> tests/unit_tests/core/variables/test_variables.py:20:9
ERROR Cannot set field `value` [read-only]
@@ -5363,47 +5333,39 @@
ERROR Could not find name `NodeType` [unknown-name]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_config.py:158:46
ERROR Cannot extend final class `DifyNodeFactory` [invalid-inheritance]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:37:23
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:38:23
ERROR Cannot set item in `dict[str, type[MockAgentNode] | type[MockCodeNode] | type[MockDocumentExtractorNode] | type[MockHttpRequestNode] | type[MockIterationNode] | type[MockKnowledgeRetrievalNode] | type[MockLLMNode] | type[MockLoopNode] | type[MockParameterExtractorNode] | type[MockQuestionClassifierNode] | type[MockTemplateTransformNode] | type[MockToolNode]]` [unsupported-operation]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:161:44
-ERROR Unexpected keyword argument `id` in function `object.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:99:13
-ERROR Unexpected keyword argument `config` in function `object.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:162:44
+ERROR Unexpected keyword argument `node_id` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:100:13
-ERROR Unexpected keyword argument `graph_init_params` in function `object.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `config` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:101:13
-ERROR Unexpected keyword argument `graph_runtime_state` in function `object.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `graph_init_params` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:102:13
+ERROR Unexpected keyword argument `graph_runtime_state` in function `object.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:103:13
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:113:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:114:56
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:128:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:129:56
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:139:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:140:56
ERROR Class member `MockKnowledgeRetrievalNode.version` overrides parent class `KnowledgeRetrievalNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:350:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:351:9
ERROR Class member `MockKnowledgeRetrievalNode._run` overrides parent class `KnowledgeRetrievalNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:354:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:355:9
ERROR Class member `MockHttpRequestNode._run` overrides parent class `HttpRequestNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:411:9
-ERROR Class member `MockQuestionClassifierNode.version` overrides parent class `QuestionClassifierNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:460:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:412:9
ERROR Class member `MockQuestionClassifierNode._run` overrides parent class `QuestionClassifierNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:464:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:465:9
ERROR Class member `MockParameterExtractorNode._run` overrides parent class `ParameterExtractorNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:512:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:513:9
ERROR Class member `MockDocumentExtractorNode._run` overrides parent class `DocumentExtractorNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:562:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:563:9
ERROR Argument `str | None` is not assignable to parameter `root_node_id` with type `str` in function `graphon.graph.graph.Graph.init` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:661:85
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:143:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:158:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:168:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:186:16
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:662:85
+ERROR Class member `MockLoopNode._create_graph_engine` overrides parent class `LoopNode` in an inconsistent manner [bad-override]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:690:9
ERROR Argument `Sequence[type[GraphEngineEvent]]` is not assignable to parameter `expected_sequence` with type `list[type[GraphEngineEvent]]` in function `TableTestRunner._validate_event_sequence` [bad-argument-type]
--> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:402:21
ERROR `graph` is uninitialized [unbound-name]
@@ -5412,20 +5374,52 @@
--> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:456:37
ERROR Argument `Iterator[Unknown]` is not assignable to parameter `messages` with type `Generator[ToolInvokeMessage]` in function `core.workflow.nodes.agent.message_transformer.AgentMessageTransformer.transform` [bad-argument-type]
--> tests/unit_tests/core/workflow/nodes/agent/test_message_transformer.py:15:26
-ERROR Argument `dict[str, dict[str, str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/answer/test_answer.py:82:16
ERROR Class member `_Version1._get_retry_config` overrides parent class `Node` in an inconsistent manner [bad-override]
--> tests/unit_tests/core/workflow/nodes/base/test_get_node_type_classes_mapping.py:53:13
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:150:44
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:157:44
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:164:45
ERROR `BaseNodeData` is not assignable to attribute `_node_data` with type `CodeNodeData` [bad-assignment]
--> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:440:27
ERROR `BaseNodeData` is not assignable to attribute `_node_data` with type `CodeNodeData` [bad-assignment]
--> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:456:27
-ERROR `dict[str, str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:83:21
ERROR Argument `_GraphParams` is not assignable to parameter `graph_init_params` with type `GraphInitParams` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:93:27
+ --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:91:27
ERROR Argument `_GraphState` is not assignable to parameter `graph_runtime_state` with type `GraphRuntimeState` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:94:29
+ --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:92:29
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:64:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:120:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:178:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:224:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:271:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:324:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:361:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:413:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:440:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:467:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:494:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:520:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:570:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:617:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:658:21
ERROR Cannot index into `object` [bad-index]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:32:15
ERROR Cannot index into `object` [bad-index]
@@ -5438,190 +5432,98 @@
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:65:12
ERROR Cannot index into `object` [bad-index]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:66:12
-ERROR Argument `dict[str, Any]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:118:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:122:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:123:35
+ERROR Argument `Response` is not assignable to parameter `response` with type `HttpResponse` in function `graphon.nodes.http_request.entities.Response.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:158:17
ERROR Object of class `NoneType` has no attribute `type` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:184:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:204:16
ERROR Object of class `NoneType` has no attribute `value` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:185:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:205:16
ERROR Object of class `NoneType` has no attribute `type` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:193:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:213:16
ERROR Object of class `NoneType` has no attribute `selector` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:194:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:214:16
ERROR Object of class `HumanInputNodeData` has no attribute `delivery_methods` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:278:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:298:20
ERROR Object of class `HumanInputNodeData` has no attribute `delivery_methods` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:301:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:321:20
ERROR Object of class `ExternalRecipient` has no attribute `reference_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:394:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:414:16
ERROR Object of class `BoundRecipient` has no attribute `email` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:395:16
-ERROR Missing argument `reference_id` in function `core.workflow.human_input_compat.BoundRecipient.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:399:28
-ERROR Unexpected keyword argument `user_id` in function `core.workflow.human_input_compat.BoundRecipient.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:399:61
-ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_compat.EmailRecipients.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:401:38
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:470:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:415:16
+ERROR Missing argument `reference_id` in function `core.workflow.human_input_adapter.BoundRecipient.__init__` [missing-argument]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:419:28
+ERROR Unexpected keyword argument `user_id` in function `core.workflow.human_input_adapter.BoundRecipient.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:419:61
+ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_adapter.EmailRecipients.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:421:38
ERROR Object of class `SchedulingPause` has no attribute `resolved_default_values` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:481:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:535:20
-ERROR Argument `dict[str, dict[str, list[dict[str, bool | dict[Unknown, Unknown] | str]] | list[dict[str, str]] | list[Unknown] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:600:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:676:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:775:20
-ERROR Argument `dict[str, dict[str, list[dict[str, str]] | list[dict[str, dict[str, str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_human_input_form_filled_event.py:85:16
-ERROR Argument `dict[str, dict[str, list[dict[str, str]] | list[dict[str, dict[str, str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_human_input_form_filled_event.py:150:16
-ERROR `dict[str, list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/iteration/test_iteration_child_engine_errors.py:50:21
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_index.knowledge_index_node.KnowledgeIndexNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:120:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:501:16
+ERROR Argument `dict[str, list[str] | str]` is not assignable to parameter `node_data` with type `KnowledgeIndexNodeData | dict[str, object]` in function `_build_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:139:23
ERROR Argument `dict[str, bool]` is not assignable to parameter `summary_index_setting` with type `SummaryIndexSettingDict | None` in function `core.workflow.nodes.knowledge_index.knowledge_index_node.KnowledgeIndexNode._invoke_knowledge_index` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:641:35
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:110:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:198:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:474:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:566:20
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:614:20
-ERROR `None` is not subscriptable [unsupported-operation]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:633:16
-ERROR `None` is not subscriptable [unsupported-operation]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:634:27
-ERROR `None` is not subscriptable [unsupported-operation]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:635:16
-ERROR `None` is not subscriptable [unsupported-operation]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:636:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:675:20
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:69:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:114:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:145:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:174:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:203:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:231:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:259:43
-ERROR `dict[str, dict[str, bool | int] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:287:43
-ERROR `dict[str, dict[str, bool | int] | dict[str, bool | str] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:322:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:346:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:371:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:401:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:430:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:459:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:488:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:516:43
+ --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:660:35
+ERROR `None` is not subscriptable [unsupported-operation]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:643:16
+ERROR `None` is not subscriptable [unsupported-operation]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:644:27
+ERROR `None` is not subscriptable [unsupported-operation]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:645:16
+ERROR `None` is not subscriptable [unsupported-operation]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:646:16
ERROR Argument `None` is not assignable to parameter `context` with type `str` in function `graphon.nodes.llm.llm_utils.fetch_prompt_messages` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:123:21
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:125:21
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:604:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:606:65
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:607:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:609:65
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:610:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:612:65
ERROR Argument `list[UserPromptMessage]` is not assignable to parameter `prompt_messages` with type `list[PromptMessage]` in function `graphon.nodes.llm.llm_utils._append_file_prompts` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:726:29
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:728:29
ERROR Argument `list[SystemPromptMessage]` is not assignable to parameter `prompt_messages` with type `list[PromptMessage]` in function `graphon.nodes.llm.llm_utils._append_file_prompts` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:742:29
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.llm.node.LLMNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:215:16
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:744:29
ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1224:9
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1216:9
ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1254:9
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1246:9
ERROR Argument `Iterator[LLMResultChunk | LLMStructuredOutput] | Iterator[Any]` is not assignable to parameter `invoke_result` with type `Generator[LLMResultChunk | LLMStructuredOutput] | LLMResult` in function `graphon.nodes.llm.node.LLMNode.handle_invoke_result` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1513:31
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1504:31
ERROR Argument `Generator[None, Unknown]` is not assignable to parameter `invoke_result` with type `Generator[LLMResultChunk | LLMStructuredOutput] | LLMResult` in function `graphon.nodes.llm.node.LLMNode.handle_invoke_result` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1551:31
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1541:31
ERROR Missing argument `run_context` in function `core.app.llm.model_access.DifyCredentialsProvider.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1744:32
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1733:32
ERROR Missing argument `run_context` in function `core.app.llm.model_access.DifyModelFactory.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1747:25
-ERROR `dict[str, list[Unknown] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:113:48
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1736:25
ERROR `in` is not supported between `Literal['variables']` and `object` [not-iterable]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:127:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:145:16
ERROR `in` is not supported between `Literal['template']` and `object` [not-iterable]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:128:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:146:16
ERROR Cannot index into `object` [bad-index]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:129:16
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:203:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:307:48
-ERROR `dict[str, list[Unknown] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:414:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:453:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:482:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:512:48
-ERROR `dict[str, list[@_] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/test_template_transform_node.py:43:21
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.document_extractor.node.DocumentExtractorNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_document_extractor_node.py:51:16
-ERROR Argument `dict[str, dict[str, list[dict[str, list[str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:113:16
-ERROR Argument `dict[str, dict[str, list[dict[str, list[str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:183:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:249:16
-ERROR `dict[str, list[dict[str, Any]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:341:42
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:409:21
-ERROR `dict[str, list[dict[str, list[dict[str, list[str] | str]] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/test_if_else.py:479:42
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_list_operator.py:59:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:37:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:147:16
+ERROR Argument `dict[str, list[dict[str, Any]] | str]` is not assignable to parameter `node_data` with type `IfElseNodeData | dict[str, object]` in function `_build_if_else_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/test_if_else.py:330:19
+ERROR Argument `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to parameter `node_data` with type `IfElseNodeData | dict[str, object]` in function `_build_if_else_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/test_if_else.py:395:19
+ERROR Argument `dict[str, list[dict[str, list[dict[str, list[str] | str]] | str]] | str]` is not assignable to parameter `node_data` with type `IfElseNodeData | dict[str, object]` in function `_build_if_else_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/test_if_else.py:463:19
ERROR `Literal['{invalid-json-schema']` is not assignable to attribute `json_schema` with type `dict[str, Any] | None` [bad-assignment]
- --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:211:28
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:269:16
+ --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:208:28
ERROR Returned type `VariableBase` is not assignable to declared retur\n\n... (truncated) ... |
Contributor
Pyrefly Diffbase → PR--- /tmp/pyrefly_base.txt 2026-04-18 10:12:25.613666192 +0000
+++ /tmp/pyrefly_pr.txt 2026-04-18 10:12:15.262724909 +0000
@@ -2,8 +2,6 @@
--> app_factory.py:132:5
ERROR Object of class `App` has no attribute `access_mode` [missing-attribute]
--> controllers/console/app/app.py:552:13
-ERROR Object of class `object` has no attribute `value` [missing-attribute]
- --> controllers/console/app/conversation_variables.py:48:24
ERROR Argument `str | None` is not assignable to parameter `language` with type `str` in function `services.account_service.AccountService.send_email_register_email` [bad-argument-type]
--> controllers/console/auth/email_register.py:75:108
ERROR Object of class `MissingRouter` has no attribute `get` [missing-attribute]
@@ -20,8 +18,6 @@
--> controllers/console/socketio/workflow.py:45:14
ERROR Object of class `MissingRouter` has no attribute `get` [missing-attribute]
--> controllers/console/version.py:30:2
-ERROR Object of class `object` has no attribute `value` [missing-attribute]
- --> controllers/service_api/app/conversation.py:87:24
ERROR Class member `EasyUIBasedGenerateTaskPipeline._application_generate_entity` overrides parent class `BasedGenerateTaskPipeline` in an inconsistent manner [bad-override]
--> core/app/task_pipeline/easy_ui_based_generate_task_pipeline.py:75:5
ERROR `+=` is not supported between `list[PromptMessageContentUnionTypes]` and `str` [unsupported-operation]
@@ -46,26 +42,6 @@
--> core/llm_generator/llm_generator.py:394:60
ERROR No matching overload found for function `core.model_manager.ModelInstance.invoke_llm` called with arguments: (prompt_messages=list[SystemPromptMessage | UserPromptMessage], model_parameters=dict[str, float], stream=Literal[False]) [no-matching-overload]
--> core/llm_generator/llm_generator.py:582:60
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:171:17
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:196:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:216:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:238:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:255:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:280:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:308:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:327:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:343:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:360:13
ERROR Class member `OpsTraceProviderConfigMap.__getitem__` overrides parent class `UserDict` in an inconsistent manner [bad-param-name-override]
--> core/ops/ops_trace_manager.py:206:9
ERROR Object of class `NoneType` has no attribute `data_source_type` [missing-attribute]
@@ -89,7 +65,7 @@
ERROR Argument `Unknown | None` is not assignable to parameter `result_object` with type `dict[str, Any]` in function `WaterCrawlProvider._structure_data` [bad-argument-type]
--> core/rag/extractor/watercrawl/provider.py:108:37
ERROR Object of class `BaseOxmlElement` has no attribute `body` [missing-attribute]
- --> core/rag/extractor/word_extractor.py:426:24
+ --> core/rag/extractor/word_extractor.py:448:24
ERROR Object of class `Document` has no attribute `score` [missing-attribute]
--> core/rag/index_processor/processor/paragraph_index_processor.py:203:33
ERROR Object of class `Document` has no attribute `score` [missing-attribute]
@@ -116,8 +92,6 @@
--> extensions/storage/huawei_obs_storage.py:27:23
ERROR Cannot index into `Literal['']` [bad-index]
--> extensions/storage/huawei_obs_storage.py:31:20
-ERROR Object of class `object` has no attribute `value` [missing-attribute]
- --> fields/conversation_variable_fields.py:60:24
ERROR Argument `Module[Crypto.Hash.SHA1] | Unknown` is not assignable to parameter with type `Hash | HashModule` [bad-argument-type]
--> libs/gmpy2_pkcs10aep_cipher.py:73:49
ERROR Object of class `NoneType` has no attribute `trace_id` [missing-attribute]
@@ -810,6 +784,8 @@
--> services/hit_testing_service.py:92:28
ERROR Argument `RetrievalMethod | bool | dict[str, str] | int | Any | None` is not assignable to parameter `weights` with type `WeightsDict | None` in function `core.rag.datasource.retrieval_service.RetrievalService.retrieve` [bad-argument-type]
--> services/hit_testing_service.py:93:21
+ERROR Argument `bool | str | Any` is not assignable to parameter `token` with type `str` in function `core.helper.encrypter.encrypt_token` [bad-argument-type]
+ --> services/model_load_balancing_service.py:623:71
ERROR `handled_tenant_count` was assigned in the current scope before the nonlocal declaration [unknown-name]
--> services/plugin/plugin_migration.py:92:34
ERROR `dict[str, Any]` is not assignable to attribute `credentials` with type `Never` [bad-assignment]
@@ -830,12 +806,10 @@
--> tests/integration_tests/controllers/console/app/test_feedback_export_api.py:32:22
ERROR Argument `Literal['normal']` is not assignable to parameter `value` with type `AppStatus | SQLCoreOperations[AppStatus]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
--> tests/integration_tests/controllers/console/app/test_model_config_permissions.py:28:22
-ERROR `dict[str, str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:75:21
ERROR Argument `_GP` is not assignable to parameter `graph_init_params` with type `GraphInitParams` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:85:27
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:83:27
ERROR Argument `_GS` is not assignable to parameter `graph_runtime_state` with type `GraphRuntimeState` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:86:29
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:84:29
ERROR Could not import `Overflow` from `libs.broadcast_channel.channel` [missing-module-attribute]
--> tests/integration_tests/libs/broadcast_channel/redis/utils/test_data.py:11:44
ERROR `unpatch` may be uninitialized [unbound-name]
@@ -856,26 +830,18 @@
--> tests/integration_tests/services/test_workflow_draft_variable_service.py:651:21
ERROR Object of class `TestWorkflowDraftVariableServiceResetVariable` has no attribute `_test_user_id` [missing-attribute]
--> tests/integration_tests/services/test_workflow_draft_variable_service.py:817:21
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.code.code_node.CodeNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_code.py:68:16
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_http.py:79:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:83:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/integration_tests/workflow/nodes/test_http.py:84:35
-ERROR Argument `dict[str, dict[str, dict[str, dict[str, str] | str] | str | Unknown | None] | str] | dict[str, dict[str, str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_http.py:727:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:242:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:731:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/integration_tests/workflow/nodes/test_http.py:732:35
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.llm.node.LLMNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_llm.py:79:16
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.parameter_extractor.parameter_extractor_node.ParameterExtractorNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_parameter_extractor.py:73:16
-ERROR Argument `dict[str, dict[str, list[dict[str, list[str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.template_transform.template_transform_node.TemplateTransformNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_template_transform.py:90:16
ERROR Argument `_SimpleJinja2Renderer` is not assignable to parameter `jinja2_template_renderer` with type `Jinja2TemplateRenderer` in function `graphon.nodes.template_transform.template_transform_node.TemplateTransformNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_template_transform.py:93:34
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.tool.tool_node.ToolNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_tool.py:64:16
+ --> tests/integration_tests/workflow/nodes/test_template_transform.py:94:34
ERROR `dict[str, str | None]` is not assignable to attribute `env` with type `dict[str, str]` [bad-assignment]
--> tests/test_containers_integration_tests/conftest.py:204:39
ERROR Argument value `Literal[0]` violates Pydantic `ge` constraint `Literal[1]` for field `page` [bad-argument-type]
@@ -994,12 +960,6 @@
--> tests/test_containers_integration_tests/core/rag/retrieval/test_dataset_retrieval_integration.py:574:23
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
--> tests/test_containers_integration_tests/core/rag/retrieval/test_dataset_retrieval_integration.py:584:23
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:105:40
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:120:40
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:134:38
ERROR Argument `Connection | Engine` is not assignable to parameter `session_factory` with type `Engine | sessionmaker[Unknown]` in function `core.repositories.sqlalchemy_workflow_execution_repository.SQLAlchemyWorkflowExecutionRepository.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:264:29
ERROR Argument `Connection | Engine` is not assignable to parameter `session_factory` with type `Engine | sessionmaker[Unknown]` in function `core.repositories.sqlalchemy_workflow_node_execution_repository.SQLAlchemyWorkflowNodeExecutionRepository.__init__` [bad-argument-type]
@@ -1356,7 +1316,7 @@
--> tests/test_containers_integration_tests/services/test_file_service.py:78:20
ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_human_input_delivery_test.py:32:18
-ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_compat.EmailRecipients.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_adapter.EmailRecipients.__init__` [unexpected-keyword]
--> tests/test_containers_integration_tests/services/test_human_input_delivery_test_service.py:239:44
ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_message_export_service.py:53:20
@@ -2293,11 +2253,11 @@
ERROR Argument `list[dict[str, Any]] | None` is not assignable to parameter `obj` with type `Sized` in function `len` [bad-argument-type]
--> tests/unit_tests/controllers/service_api/app/test_completion.py:156:20
ERROR Argument value `Literal[0]` violates Pydantic `ge` constraint `Literal[1]` for field `limit` [bad-argument-type]
- --> tests/unit_tests/controllers/service_api/app/test_conversation.py:84:35
+ --> tests/unit_tests/controllers/service_api/app/test_conversation.py:86:35
ERROR Argument value `Literal[101]` violates Pydantic `le` constraint `Literal[100]` for field `limit` [bad-argument-type]
- --> tests/unit_tests/controllers/service_api/app/test_conversation.py:89:35
+ --> tests/unit_tests/controllers/service_api/app/test_conversation.py:91:35
ERROR Missing argument `session` in function `services.conversation_service.ConversationService.pagination_by_last_id` [missing-argument]
- --> tests/unit_tests/controllers/service_api/app/test_conversation.py:427:59
+ --> tests/unit_tests/controllers/service_api/app/test_conversation.py:455:59
ERROR Argument value `Literal[0]` violates Pydantic `ge` constraint `Literal[1]` for field `limit` [bad-argument-type]
--> tests/unit_tests/controllers/service_api/app/test_message.py:94:63
ERROR Argument value `Literal[101]` violates Pydantic `le` constraint `Literal[100]` for field `limit` [bad-argument-type]
@@ -3263,43 +3223,43 @@
ERROR Object of class `ModuleType` has no attribute `TraceQueueManager` [missing-attribute]
--> tests/unit_tests/core/app/apps/test_pause_resume.py:42:5
ERROR Class member `_StubToolNode._run` overrides parent class `Node` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:79:9
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:92:9
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:220:19
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:226:19
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow` with type `Workflow` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:221:18
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:227:18
ERROR Argument `SimpleNamespace` is not assignable to parameter `user` with type `Account | EndUser` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:222:14
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:228:14
ERROR Argument `SimpleNamespace` is not assignable to parameter `application_generate_entity` with type `WorkflowAppGenerateEntity` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:223:37
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:37
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_execution_repository` with type `WorkflowExecutionRepository` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:225:39
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:231:39
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_node_execution_repository` with type `WorkflowNodeExecutionRepository` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:226:44
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:232:44
ERROR `+` is not supported between `list[str]` and `Generator[Mapping[str, Any] | str]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:235:12
ERROR `+` is not supported between `list[str]` and `Mapping[str, Any]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:235:12
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:260:19
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:266:19
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow` with type `Workflow` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:261:18
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:267:18
ERROR Argument `SimpleNamespace` is not assignable to parameter `user` with type `Account | EndUser` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:262:14
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:268:14
ERROR Argument `SimpleNamespace` is not assignable to parameter `conversation` with type `Conversation` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:263:22
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:269:22
ERROR Argument `SimpleNamespace` is not assignable to parameter `message` with type `Message` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:264:17
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:270:17
ERROR Argument `SimpleNamespace` is not assignable to parameter `application_generate_entity` with type `AdvancedChatAppGenerateEntity` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:265:37
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:37
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_execution_repository` with type `WorkflowExecutionRepository` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:266:39
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:272:39
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_node_execution_repository` with type `WorkflowNodeExecutionRepository` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:267:44
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:273:44
ERROR `+` is not supported between `list[str]` and `Generator[Mapping[str, Any] | str]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:277:12
ERROR `+` is not supported between `list[str]` and `Mapping[str, Any]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:277:12
ERROR Cannot index into `str` [bad-index]
--> tests/unit_tests/core/app/apps/test_streaming_utils.py:79:12
ERROR Argument `FakeTopic` is not assignable to parameter `topic` with type `Topic` in function `core.app.apps.streaming_utils.stream_topic_events` [bad-argument-type]
@@ -3972,8 +3932,8 @@
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:174:16
ERROR Object of class `object` has no attribute `total_steps` [missing-attribute]
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:175:16
-ERROR `SimpleNamespace` is not assignable to attribute `_graph_execution` with type `GraphExecutionProtocol | None` [bad-assignment]
- --> tests/unit_tests/core/app/workflow/test_persistence_layer.py:182:42
+ERROR Object of class `GraphRuntimeState` has no attribute `_graph_execution` [missing-attribute]
+ --> tests/unit_tests/core/app/workflow/test_persistence_layer.py:182:9
ERROR Object of class `object` has no attribute `status` [missing-attribute]
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:189:16
ERROR Object of class `object` has no attribute `exceptions_count` [missing-attribute]
@@ -4630,21 +4590,21 @@
ERROR Argument `SimpleNamespace` is not assignable to parameter `document_model` with type `Document | None` in function `core.rag.extractor.notion_extractor.NotionExtractor.update_last_edited_time` [bad-argument-type]
--> tests/unit_tests/core/rag/extractor/test_notion_extractor.py:435:43
ERROR Type `object` is not iterable [not-iterable]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:90:9
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:92:9
ERROR `Any | None` is not assignable to attribute `FILES_URL` with type `str` [bad-assignment]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:209:33
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:211:33
ERROR `Any | None` is not assignable to attribute `INTERNAL_FILES_URL` with type `str` [bad-assignment]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:210:42
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:212:42
ERROR `Literal['Dify']` is not assignable to attribute `text` with type `Ellipsis` [bad-assignment]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:231:14
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:233:14
ERROR `Literal[' HYPERLINK "http://example.com" ']` is not assignable to attribute `text` with type `Ellipsis` [bad-assignment]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:284:22
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:286:22
ERROR `Literal['Example']` is not assignable to attribute `text` with type `Ellipsis` [bad-assignment]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:296:15
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:298:15
ERROR `Literal['Dify']` is not assignable to attribute `text` with type `Ellipsis` [bad-assignment]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:655:14
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:689:14
ERROR `Literal['john@test.com']` is not assignable to attribute `text` with type `Ellipsis` [bad-assignment]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:695:14
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:729:14
ERROR Argument `Literal['semantic_search']` is not assignable to parameter `retrieval_method` with type `RetrievalMethod` in function `core.rag.index_processor.processor.paragraph_index_processor.ParagraphIndexProcessor.retrieve` [bad-argument-type]
--> tests/unit_tests/core/rag/indexing/processor/test_paragraph_index_processor.py:246:39
ERROR Argument `Literal['semantic_search']` is not assignable to parameter `retrieval_method` with type `RetrievalMethod` in function `core.rag.index_processor.processor.parent_child_index_processor.ParentChildIndexProcessor.retrieve` [bad-argument-type]
@@ -5334,6 +5294,16 @@
ERROR Object of class `BlobChunkMessage` has no attribute `variable_value`
ERROR Object of class `BlobChunkMessage` has no attribute `stream`
ERROR Object of class `BlobChunkMessage` has no attribute `file_marker`
+ERROR Argument `object` is not assignable to parameter `obj` with type `Sized` in function `len` [bad-argument-type]
+ --> tests/unit_tests/core/variables/test_segment.py:503:20
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:504:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:505:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:512:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:513:16
ERROR Cannot set field `value` [read-only]
--> tests/unit_tests/core/variables/test_variables.py:20:9
ERROR Cannot set field `value` [read-only]
@@ -5363,47 +5333,39 @@
ERROR Could not find name `NodeType` [unknown-name]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_config.py:158:46
ERROR Cannot extend final class `DifyNodeFactory` [invalid-inheritance]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:37:23
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:38:23
ERROR Cannot set item in `dict[str, type[MockAgentNode] | type[MockCodeNode] | type[MockDocumentExtractorNode] | type[MockHttpRequestNode] | type[MockIterationNode] | type[MockKnowledgeRetrievalNode] | type[MockLLMNode] | type[MockLoopNode] | type[MockParameterExtractorNode] | type[MockQuestionClassifierNode] | type[MockTemplateTransformNode] | type[MockToolNode]]` [unsupported-operation]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:161:44
-ERROR Unexpected keyword argument `id` in function `object.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:99:13
-ERROR Unexpected keyword argument `config` in function `object.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:162:44
+ERROR Unexpected keyword argument `node_id` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:100:13
-ERROR Unexpected keyword argument `graph_init_params` in function `object.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `config` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:101:13
-ERROR Unexpected keyword argument `graph_runtime_state` in function `object.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `graph_init_params` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:102:13
+ERROR Unexpected keyword argument `graph_runtime_state` in function `object.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:103:13
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:113:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:114:56
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:128:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:129:56
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:139:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:140:56
ERROR Class member `MockKnowledgeRetrievalNode.version` overrides parent class `KnowledgeRetrievalNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:350:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:351:9
ERROR Class member `MockKnowledgeRetrievalNode._run` overrides parent class `KnowledgeRetrievalNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:354:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:355:9
ERROR Class member `MockHttpRequestNode._run` overrides parent class `HttpRequestNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:411:9
-ERROR Class member `MockQuestionClassifierNode.version` overrides parent class `QuestionClassifierNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:460:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:412:9
ERROR Class member `MockQuestionClassifierNode._run` overrides parent class `QuestionClassifierNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:464:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:465:9
ERROR Class member `MockParameterExtractorNode._run` overrides parent class `ParameterExtractorNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:512:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:513:9
ERROR Class member `MockDocumentExtractorNode._run` overrides parent class `DocumentExtractorNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:562:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:563:9
ERROR Argument `str | None` is not assignable to parameter `root_node_id` with type `str` in function `graphon.graph.graph.Graph.init` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:661:85
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:143:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:158:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:168:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:186:16
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:662:85
+ERROR Class member `MockLoopNode._create_graph_engine` overrides parent class `LoopNode` in an inconsistent manner [bad-override]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:690:9
ERROR Argument `Sequence[type[GraphEngineEvent]]` is not assignable to parameter `expected_sequence` with type `list[type[GraphEngineEvent]]` in function `TableTestRunner._validate_event_sequence` [bad-argument-type]
--> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:402:21
ERROR `graph` is uninitialized [unbound-name]
@@ -5412,20 +5374,52 @@
--> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:456:37
ERROR Argument `Iterator[Unknown]` is not assignable to parameter `messages` with type `Generator[ToolInvokeMessage]` in function `core.workflow.nodes.agent.message_transformer.AgentMessageTransformer.transform` [bad-argument-type]
--> tests/unit_tests/core/workflow/nodes/agent/test_message_transformer.py:15:26
-ERROR Argument `dict[str, dict[str, str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/answer/test_answer.py:82:16
ERROR Class member `_Version1._get_retry_config` overrides parent class `Node` in an inconsistent manner [bad-override]
--> tests/unit_tests/core/workflow/nodes/base/test_get_node_type_classes_mapping.py:53:13
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:150:44
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:157:44
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:164:45
ERROR `BaseNodeData` is not assignable to attribute `_node_data` with type `CodeNodeData` [bad-assignment]
--> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:440:27
ERROR `BaseNodeData` is not assignable to attribute `_node_data` with type `CodeNodeData` [bad-assignment]
--> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:456:27
-ERROR `dict[str, str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:83:21
ERROR Argument `_GraphParams` is not assignable to parameter `graph_init_params` with type `GraphInitParams` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:93:27
+ --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:91:27
ERROR Argument `_GraphState` is not assignable to parameter `graph_runtime_state` with type `GraphRuntimeState` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:94:29
+ --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:92:29
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:64:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:120:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:178:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:224:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:271:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:324:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:361:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:413:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:440:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:467:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:494:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:520:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:570:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:617:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:658:21
ERROR Cannot index into `object` [bad-index]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:32:15
ERROR Cannot index into `object` [bad-index]
@@ -5438,190 +5432,98 @@
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:65:12
ERROR Cannot index into `object` [bad-index]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:66:12
-ERROR Argument `dict[str, Any]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:118:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:122:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:123:35
+ERROR Argument `Response` is not assignable to parameter `response` with type `HttpResponse` in function `graphon.nodes.http_request.entities.Response.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:158:17
ERROR Object of class `NoneType` has no attribute `type` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:184:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:204:16
ERROR Object of class `NoneType` has no attribute `value` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:185:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:205:16
ERROR Object of class `NoneType` has no attribute `type` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:193:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:213:16
ERROR Object of class `NoneType` has no attribute `selector` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:194:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:214:16
ERROR Object of class `HumanInputNodeData` has no attribute `delivery_methods` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:278:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:298:20
ERROR Object of class `HumanInputNodeData` has no attribute `delivery_methods` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:301:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:321:20
ERROR Object of class `ExternalRecipient` has no attribute `reference_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:394:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:414:16
ERROR Object of class `BoundRecipient` has no attribute `email` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:395:16
-ERROR Missing argument `reference_id` in function `core.workflow.human_input_compat.BoundRecipient.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:399:28
-ERROR Unexpected keyword argument `user_id` in function `core.workflow.human_input_compat.BoundRecipient.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:399:61
-ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_compat.EmailRecipients.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:401:38
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:470:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:415:16
+ERROR Missing argument `reference_id` in function `core.workflow.human_input_adapter.BoundRecipient.__init__` [missing-argument]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:419:28
+ERROR Unexpected keyword argument `user_id` in function `core.workflow.human_input_adapter.BoundRecipient.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:419:61
+ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_adapter.EmailRecipients.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:421:38
ERROR Object of class `SchedulingPause` has no attribute `resolved_default_values` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:481:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:535:20
-ERROR Argument `dict[str, dict[str, list[dict[str, bool | dict[Unknown, Unknown] | str]] | list[dict[str, str]] | list[Unknown] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:600:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:676:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:775:20
-ERROR Argument `dict[str, dict[str, list[dict[str, str]] | list[dict[str, dict[str, str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_human_input_form_filled_event.py:85:16
-ERROR Argument `dict[str, dict[str, list[dict[str, str]] | list[dict[str, dict[str, str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_human_input_form_filled_event.py:150:16
-ERROR `dict[str, list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/iteration/test_iteration_child_engine_errors.py:50:21
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_index.knowledge_index_node.KnowledgeIndexNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:120:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:501:16
+ERROR Argument `dict[str, list[str] | str]` is not assignable to parameter `node_data` with type `KnowledgeIndexNodeData | dict[str, object]` in function `_build_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:139:23
ERROR Argument `dict[str, bool]` is not assignable to parameter `summary_index_setting` with type `SummaryIndexSettingDict | None` in function `core.workflow.nodes.knowledge_index.knowledge_index_node.KnowledgeIndexNode._invoke_knowledge_index` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:641:35
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:110:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:198:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:474:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:566:20
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:614:20
-ERROR `None` is not subscriptable [unsupported-operation]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:633:16
-ERROR `None` is not subscriptable [unsupported-operation]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:634:27
-ERROR `None` is not subscriptable [unsupported-operation]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:635:16
-ERROR `None` is not subscriptable [unsupported-operation]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:636:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:675:20
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:69:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:114:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:145:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:174:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:203:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:231:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:259:43
-ERROR `dict[str, dict[str, bool | int] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:287:43
-ERROR `dict[str, dict[str, bool | int] | dict[str, bool | str] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:322:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:346:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:371:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:401:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:430:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:459:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:488:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:516:43
+ --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:660:35
+ERROR `None` is not subscriptable [unsupported-operation]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:643:16
+ERROR `None` is not subscriptable [unsupported-operation]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:644:27
+ERROR `None` is not subscriptable [unsupported-operation]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:645:16
+ERROR `None` is not subscriptable [unsupported-operation]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:646:16
ERROR Argument `None` is not assignable to parameter `context` with type `str` in function `graphon.nodes.llm.llm_utils.fetch_prompt_messages` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:123:21
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:125:21
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:604:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:606:65
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:607:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:609:65
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:610:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:612:65
ERROR Argument `list[UserPromptMessage]` is not assignable to parameter `prompt_messages` with type `list[PromptMessage]` in function `graphon.nodes.llm.llm_utils._append_file_prompts` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:726:29
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:728:29
ERROR Argument `list[SystemPromptMessage]` is not assignable to parameter `prompt_messages` with type `list[PromptMessage]` in function `graphon.nodes.llm.llm_utils._append_file_prompts` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:742:29
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.llm.node.LLMNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:215:16
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:744:29
ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1224:9
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1216:9
ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1254:9
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1246:9
ERROR Argument `Iterator[LLMResultChunk | LLMStructuredOutput] | Iterator[Any]` is not assignable to parameter `invoke_result` with type `Generator[LLMResultChunk | LLMStructuredOutput] | LLMResult` in function `graphon.nodes.llm.node.LLMNode.handle_invoke_result` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1513:31
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1504:31
ERROR Argument `Generator[None, Unknown]` is not assignable to parameter `invoke_result` with type `Generator[LLMResultChunk | LLMStructuredOutput] | LLMResult` in function `graphon.nodes.llm.node.LLMNode.handle_invoke_result` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1551:31
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1541:31
ERROR Missing argument `run_context` in function `core.app.llm.model_access.DifyCredentialsProvider.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1744:32
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1733:32
ERROR Missing argument `run_context` in function `core.app.llm.model_access.DifyModelFactory.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1747:25
-ERROR `dict[str, list[Unknown] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:113:48
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1736:25
ERROR `in` is not supported between `Literal['variables']` and `object` [not-iterable]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:127:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:145:16
ERROR `in` is not supported between `Literal['template']` and `object` [not-iterable]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:128:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:146:16
ERROR Cannot index into `object` [bad-index]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:129:16
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:203:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:307:48
-ERROR `dict[str, list[Unknown] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:414:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:453:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:482:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:512:48
-ERROR `dict[str, list[@_] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/test_template_transform_node.py:43:21
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.document_extractor.node.DocumentExtractorNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_document_extractor_node.py:51:16
... (truncated) ... |
Contributor
Pyrefly Diffbase → PR--- /tmp/pyrefly_base.txt 2026-04-18 10:12:25.613666192 +0000
+++ /tmp/pyrefly_pr.txt 2026-04-18 10:12:15.262724909 +0000
@@ -2,8 +2,6 @@
--> app_factory.py:132:5
ERROR Object of class `App` has no attribute `access_mode` [missing-attribute]
--> controllers/console/app/app.py:552:13
-ERROR Object of class `object` has no attribute `value` [missing-attribute]
- --> controllers/console/app/conversation_variables.py:48:24
ERROR Argument `str | None` is not assignable to parameter `language` with type `str` in function `services.account_service.AccountService.send_email_register_email` [bad-argument-type]
--> controllers/console/auth/email_register.py:75:108
ERROR Object of class `MissingRouter` has no attribute `get` [missing-attribute]
@@ -20,8 +18,6 @@
--> controllers/console/socketio/workflow.py:45:14
ERROR Object of class `MissingRouter` has no attribute `get` [missing-attribute]
--> controllers/console/version.py:30:2
-ERROR Object of class `object` has no attribute `value` [missing-attribute]
- --> controllers/service_api/app/conversation.py:87:24
ERROR Class member `EasyUIBasedGenerateTaskPipeline._application_generate_entity` overrides parent class `BasedGenerateTaskPipeline` in an inconsistent manner [bad-override]
--> core/app/task_pipeline/easy_ui_based_generate_task_pipeline.py:75:5
ERROR `+=` is not supported between `list[PromptMessageContentUnionTypes]` and `str` [unsupported-operation]
@@ -46,26 +42,6 @@
--> core/llm_generator/llm_generator.py:394:60
ERROR No matching overload found for function `core.model_manager.ModelInstance.invoke_llm` called with arguments: (prompt_messages=list[SystemPromptMessage | UserPromptMessage], model_parameters=dict[str, float], stream=Literal[False]) [no-matching-overload]
--> core/llm_generator/llm_generator.py:582:60
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:171:17
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:196:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:216:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:238:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:255:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:280:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:308:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:327:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:343:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:360:13
ERROR Class member `OpsTraceProviderConfigMap.__getitem__` overrides parent class `UserDict` in an inconsistent manner [bad-param-name-override]
--> core/ops/ops_trace_manager.py:206:9
ERROR Object of class `NoneType` has no attribute `data_source_type` [missing-attribute]
@@ -89,7 +65,7 @@
ERROR Argument `Unknown | None` is not assignable to parameter `result_object` with type `dict[str, Any]` in function `WaterCrawlProvider._structure_data` [bad-argument-type]
--> core/rag/extractor/watercrawl/provider.py:108:37
ERROR Object of class `BaseOxmlElement` has no attribute `body` [missing-attribute]
- --> core/rag/extractor/word_extractor.py:426:24
+ --> core/rag/extractor/word_extractor.py:448:24
ERROR Object of class `Document` has no attribute `score` [missing-attribute]
--> core/rag/index_processor/processor/paragraph_index_processor.py:203:33
ERROR Object of class `Document` has no attribute `score` [missing-attribute]
@@ -116,8 +92,6 @@
--> extensions/storage/huawei_obs_storage.py:27:23
ERROR Cannot index into `Literal['']` [bad-index]
--> extensions/storage/huawei_obs_storage.py:31:20
-ERROR Object of class `object` has no attribute `value` [missing-attribute]
- --> fields/conversation_variable_fields.py:60:24
ERROR Argument `Module[Crypto.Hash.SHA1] | Unknown` is not assignable to parameter with type `Hash | HashModule` [bad-argument-type]
--> libs/gmpy2_pkcs10aep_cipher.py:73:49
ERROR Object of class `NoneType` has no attribute `trace_id` [missing-attribute]
@@ -810,6 +784,8 @@
--> services/hit_testing_service.py:92:28
ERROR Argument `RetrievalMethod | bool | dict[str, str] | int | Any | None` is not assignable to parameter `weights` with type `WeightsDict | None` in function `core.rag.datasource.retrieval_service.RetrievalService.retrieve` [bad-argument-type]
--> services/hit_testing_service.py:93:21
+ERROR Argument `bool | str | Any` is not assignable to parameter `token` with type `str` in function `core.helper.encrypter.encrypt_token` [bad-argument-type]
+ --> services/model_load_balancing_service.py:623:71
ERROR `handled_tenant_count` was assigned in the current scope before the nonlocal declaration [unknown-name]
--> services/plugin/plugin_migration.py:92:34
ERROR `dict[str, Any]` is not assignable to attribute `credentials` with type `Never` [bad-assignment]
@@ -830,12 +806,10 @@
--> tests/integration_tests/controllers/console/app/test_feedback_export_api.py:32:22
ERROR Argument `Literal['normal']` is not assignable to parameter `value` with type `AppStatus | SQLCoreOperations[AppStatus]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
--> tests/integration_tests/controllers/console/app/test_model_config_permissions.py:28:22
-ERROR `dict[str, str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:75:21
ERROR Argument `_GP` is not assignable to parameter `graph_init_params` with type `GraphInitParams` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:85:27
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:83:27
ERROR Argument `_GS` is not assignable to parameter `graph_runtime_state` with type `GraphRuntimeState` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:86:29
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:84:29
ERROR Could not import `Overflow` from `libs.broadcast_channel.channel` [missing-module-attribute]
--> tests/integration_tests/libs/broadcast_channel/redis/utils/test_data.py:11:44
ERROR `unpatch` may be uninitialized [unbound-name]
@@ -856,26 +830,18 @@
--> tests/integration_tests/services/test_workflow_draft_variable_service.py:651:21
ERROR Object of class `TestWorkflowDraftVariableServiceResetVariable` has no attribute `_test_user_id` [missing-attribute]
--> tests/integration_tests/services/test_workflow_draft_variable_service.py:817:21
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.code.code_node.CodeNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_code.py:68:16
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_http.py:79:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:83:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/integration_tests/workflow/nodes/test_http.py:84:35
-ERROR Argument `dict[str, dict[str, dict[str, dict[str, str] | str] | str | Unknown | None] | str] | dict[str, dict[str, str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_http.py:727:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:242:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:731:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/integration_tests/workflow/nodes/test_http.py:732:35
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.llm.node.LLMNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_llm.py:79:16
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.parameter_extractor.parameter_extractor_node.ParameterExtractorNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_parameter_extractor.py:73:16
-ERROR Argument `dict[str, dict[str, list[dict[str, list[str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.template_transform.template_transform_node.TemplateTransformNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_template_transform.py:90:16
ERROR Argument `_SimpleJinja2Renderer` is not assignable to parameter `jinja2_template_renderer` with type `Jinja2TemplateRenderer` in function `graphon.nodes.template_transform.template_transform_node.TemplateTransformNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_template_transform.py:93:34
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.tool.tool_node.ToolNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_tool.py:64:16
+ --> tests/integration_tests/workflow/nodes/test_template_transform.py:94:34
ERROR `dict[str, str | None]` is not assignable to attribute `env` with type `dict[str, str]` [bad-assignment]
--> tests/test_containers_integration_tests/conftest.py:204:39
ERROR Argument value `Literal[0]` violates Pydantic `ge` constraint `Literal[1]` for field `page` [bad-argument-type]
@@ -994,12 +960,6 @@
--> tests/test_containers_integration_tests/core/rag/retrieval/test_dataset_retrieval_integration.py:574:23
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
--> tests/test_containers_integration_tests/core/rag/retrieval/test_dataset_retrieval_integration.py:584:23
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:105:40
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:120:40
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:134:38
ERROR Argument `Connection | Engine` is not assignable to parameter `session_factory` with type `Engine | sessionmaker[Unknown]` in function `core.repositories.sqlalchemy_workflow_execution_repository.SQLAlchemyWorkflowExecutionRepository.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:264:29
ERROR Argument `Connection | Engine` is not assignable to parameter `session_factory` with type `Engine | sessionmaker[Unknown]` in function `core.repositories.sqlalchemy_workflow_node_execution_repository.SQLAlchemyWorkflowNodeExecutionRepository.__init__` [bad-argument-type]
@@ -1356,7 +1316,7 @@
--> tests/test_containers_integration_tests/services/test_file_service.py:78:20
ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_human_input_delivery_test.py:32:18
-ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_compat.EmailRecipients.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_adapter.EmailRecipients.__init__` [unexpected-keyword]
--> tests/test_containers_integration_tests/services/test_human_input_delivery_test_service.py:239:44
ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_message_export_service.py:53:20
@@ -2293,11 +2253,11 @@
ERROR Argument `list[dict[str, Any]] | None` is not assignable to parameter `obj` with type `Sized` in function `len` [bad-argument-type]
--> tests/unit_tests/controllers/service_api/app/test_completion.py:156:20
ERROR Argument value `Literal[0]` violates Pydantic `ge` constraint `Literal[1]` for field `limit` [bad-argument-type]
- --> tests/unit_tests/controllers/service_api/app/test_conversation.py:84:35
+ --> tests/unit_tests/controllers/service_api/app/test_conversation.py:86:35
ERROR Argument value `Literal[101]` violates Pydantic `le` constraint `Literal[100]` for field `limit` [bad-argument-type]
- --> tests/unit_tests/controllers/service_api/app/test_conversation.py:89:35
+ --> tests/unit_tests/controllers/service_api/app/test_conversation.py:91:35
ERROR Missing argument `session` in function `services.conversation_service.ConversationService.pagination_by_last_id` [missing-argument]
- --> tests/unit_tests/controllers/service_api/app/test_conversation.py:427:59
+ --> tests/unit_tests/controllers/service_api/app/test_conversation.py:455:59
ERROR Argument value `Literal[0]` violates Pydantic `ge` constraint `Literal[1]` for field `limit` [bad-argument-type]
--> tests/unit_tests/controllers/service_api/app/test_message.py:94:63
ERROR Argument value `Literal[101]` violates Pydantic `le` constraint `Literal[100]` for field `limit` [bad-argument-type]
@@ -3263,43 +3223,43 @@
ERROR Object of class `ModuleType` has no attribute `TraceQueueManager` [missing-attribute]
--> tests/unit_tests/core/app/apps/test_pause_resume.py:42:5
ERROR Class member `_StubToolNode._run` overrides parent class `Node` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:79:9
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:92:9
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:220:19
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:226:19
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow` with type `Workflow` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:221:18
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:227:18
ERROR Argument `SimpleNamespace` is not assignable to parameter `user` with type `Account | EndUser` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:222:14
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:228:14
ERROR Argument `SimpleNamespace` is not assignable to parameter `application_generate_entity` with type `WorkflowAppGenerateEntity` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:223:37
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:37
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_execution_repository` with type `WorkflowExecutionRepository` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:225:39
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:231:39
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_node_execution_repository` with type `WorkflowNodeExecutionRepository` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:226:44
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:232:44
ERROR `+` is not supported between `list[str]` and `Generator[Mapping[str, Any] | str]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:235:12
ERROR `+` is not supported between `list[str]` and `Mapping[str, Any]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:235:12
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:260:19
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:266:19
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow` with type `Workflow` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:261:18
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:267:18
ERROR Argument `SimpleNamespace` is not assignable to parameter `user` with type `Account | EndUser` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:262:14
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:268:14
ERROR Argument `SimpleNamespace` is not assignable to parameter `conversation` with type `Conversation` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:263:22
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:269:22
ERROR Argument `SimpleNamespace` is not assignable to parameter `message` with type `Message` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:264:17
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:270:17
ERROR Argument `SimpleNamespace` is not assignable to parameter `application_generate_entity` with type `AdvancedChatAppGenerateEntity` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:265:37
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:37
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_execution_repository` with type `WorkflowExecutionRepository` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:266:39
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:272:39
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_node_execution_repository` with type `WorkflowNodeExecutionRepository` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:267:44
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:273:44
ERROR `+` is not supported between `list[str]` and `Generator[Mapping[str, Any] | str]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:277:12
ERROR `+` is not supported between `list[str]` and `Mapping[str, Any]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:277:12
ERROR Cannot index into `str` [bad-index]
--> tests/unit_tests/core/app/apps/test_streaming_utils.py:79:12
ERROR Argument `FakeTopic` is not assignable to parameter `topic` with type `Topic` in function `core.app.apps.streaming_utils.stream_topic_events` [bad-argument-type]
@@ -3972,8 +3932,8 @@
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:174:16
ERROR Object of class `object` has no attribute `total_steps` [missing-attribute]
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:175:16
-ERROR `SimpleNamespace` is not assignable to attribute `_graph_execution` with type `GraphExecutionProtocol | None` [bad-assignment]
- --> tests/unit_tests/core/app/workflow/test_persistence_layer.py:182:42
+ERROR Object of class `GraphRuntimeState` has no attribute `_graph_execution` [missing-attribute]
+ --> tests/unit_tests/core/app/workflow/test_persistence_layer.py:182:9
ERROR Object of class `object` has no attribute `status` [missing-attribute]
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:189:16
ERROR Object of class `object` has no attribute `exceptions_count` [missing-attribute]
@@ -4630,21 +4590,21 @@
ERROR Argument `SimpleNamespace` is not assignable to parameter `document_model` with type `Document | None` in function `core.rag.extractor.notion_extractor.NotionExtractor.update_last_edited_time` [bad-argument-type]
--> tests/unit_tests/core/rag/extractor/test_notion_extractor.py:435:43
ERROR Type `object` is not iterable [not-iterable]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:90:9
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:92:9
ERROR `Any | None` is not assignable to attribute `FILES_URL` with type `str` [bad-assignment]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:209:33
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:211:33
ERROR `Any | None` is not assignable to attribute `INTERNAL_FILES_URL` with type `str` [bad-assignment]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:210:42
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:212:42
ERROR `Literal['Dify']` is not assignable to attribute `text` with type `Ellipsis` [bad-assignment]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:231:14
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:233:14
ERROR `Literal[' HYPERLINK "http://example.com" ']` is not assignable to attribute `text` with type `Ellipsis` [bad-assignment]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:284:22
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:286:22
ERROR `Literal['Example']` is not assignable to attribute `text` with type `Ellipsis` [bad-assignment]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:296:15
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:298:15
ERROR `Literal['Dify']` is not assignable to attribute `text` with type `Ellipsis` [bad-assignment]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:655:14
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:689:14
ERROR `Literal['john@test.com']` is not assignable to attribute `text` with type `Ellipsis` [bad-assignment]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:695:14
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:729:14
ERROR Argument `Literal['semantic_search']` is not assignable to parameter `retrieval_method` with type `RetrievalMethod` in function `core.rag.index_processor.processor.paragraph_index_processor.ParagraphIndexProcessor.retrieve` [bad-argument-type]
--> tests/unit_tests/core/rag/indexing/processor/test_paragraph_index_processor.py:246:39
ERROR Argument `Literal['semantic_search']` is not assignable to parameter `retrieval_method` with type `RetrievalMethod` in function `core.rag.index_processor.processor.parent_child_index_processor.ParentChildIndexProcessor.retrieve` [bad-argument-type]
@@ -5334,6 +5294,16 @@
ERROR Object of class `BlobChunkMessage` has no attribute `variable_value`
ERROR Object of class `BlobChunkMessage` has no attribute `stream`
ERROR Object of class `BlobChunkMessage` has no attribute `file_marker`
+ERROR Argument `object` is not assignable to parameter `obj` with type `Sized` in function `len` [bad-argument-type]
+ --> tests/unit_tests/core/variables/test_segment.py:503:20
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:504:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:505:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:512:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:513:16
ERROR Cannot set field `value` [read-only]
--> tests/unit_tests/core/variables/test_variables.py:20:9
ERROR Cannot set field `value` [read-only]
@@ -5363,47 +5333,39 @@
ERROR Could not find name `NodeType` [unknown-name]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_config.py:158:46
ERROR Cannot extend final class `DifyNodeFactory` [invalid-inheritance]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:37:23
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:38:23
ERROR Cannot set item in `dict[str, type[MockAgentNode] | type[MockCodeNode] | type[MockDocumentExtractorNode] | type[MockHttpRequestNode] | type[MockIterationNode] | type[MockKnowledgeRetrievalNode] | type[MockLLMNode] | type[MockLoopNode] | type[MockParameterExtractorNode] | type[MockQuestionClassifierNode] | type[MockTemplateTransformNode] | type[MockToolNode]]` [unsupported-operation]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:161:44
-ERROR Unexpected keyword argument `id` in function `object.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:99:13
-ERROR Unexpected keyword argument `config` in function `object.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:162:44
+ERROR Unexpected keyword argument `node_id` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:100:13
-ERROR Unexpected keyword argument `graph_init_params` in function `object.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `config` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:101:13
-ERROR Unexpected keyword argument `graph_runtime_state` in function `object.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `graph_init_params` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:102:13
+ERROR Unexpected keyword argument `graph_runtime_state` in function `object.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:103:13
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:113:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:114:56
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:128:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:129:56
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:139:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:140:56
ERROR Class member `MockKnowledgeRetrievalNode.version` overrides parent class `KnowledgeRetrievalNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:350:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:351:9
ERROR Class member `MockKnowledgeRetrievalNode._run` overrides parent class `KnowledgeRetrievalNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:354:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:355:9
ERROR Class member `MockHttpRequestNode._run` overrides parent class `HttpRequestNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:411:9
-ERROR Class member `MockQuestionClassifierNode.version` overrides parent class `QuestionClassifierNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:460:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:412:9
ERROR Class member `MockQuestionClassifierNode._run` overrides parent class `QuestionClassifierNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:464:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:465:9
ERROR Class member `MockParameterExtractorNode._run` overrides parent class `ParameterExtractorNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:512:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:513:9
ERROR Class member `MockDocumentExtractorNode._run` overrides parent class `DocumentExtractorNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:562:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:563:9
ERROR Argument `str | None` is not assignable to parameter `root_node_id` with type `str` in function `graphon.graph.graph.Graph.init` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:661:85
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:143:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:158:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:168:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:186:16
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:662:85
+ERROR Class member `MockLoopNode._create_graph_engine` overrides parent class `LoopNode` in an inconsistent manner [bad-override]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:690:9
ERROR Argument `Sequence[type[GraphEngineEvent]]` is not assignable to parameter `expected_sequence` with type `list[type[GraphEngineEvent]]` in function `TableTestRunner._validate_event_sequence` [bad-argument-type]
--> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:402:21
ERROR `graph` is uninitialized [unbound-name]
@@ -5412,20 +5374,52 @@
--> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:456:37
ERROR Argument `Iterator[Unknown]` is not assignable to parameter `messages` with type `Generator[ToolInvokeMessage]` in function `core.workflow.nodes.agent.message_transformer.AgentMessageTransformer.transform` [bad-argument-type]
--> tests/unit_tests/core/workflow/nodes/agent/test_message_transformer.py:15:26
-ERROR Argument `dict[str, dict[str, str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/answer/test_answer.py:82:16
ERROR Class member `_Version1._get_retry_config` overrides parent class `Node` in an inconsistent manner [bad-override]
--> tests/unit_tests/core/workflow/nodes/base/test_get_node_type_classes_mapping.py:53:13
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:150:44
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:157:44
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:164:45
ERROR `BaseNodeData` is not assignable to attribute `_node_data` with type `CodeNodeData` [bad-assignment]
--> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:440:27
ERROR `BaseNodeData` is not assignable to attribute `_node_data` with type `CodeNodeData` [bad-assignment]
--> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:456:27
-ERROR `dict[str, str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:83:21
ERROR Argument `_GraphParams` is not assignable to parameter `graph_init_params` with type `GraphInitParams` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:93:27
+ --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:91:27
ERROR Argument `_GraphState` is not assignable to parameter `graph_runtime_state` with type `GraphRuntimeState` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:94:29
+ --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:92:29
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:64:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:120:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:178:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:224:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:271:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:324:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:361:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:413:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:440:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:467:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:494:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:520:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:570:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:617:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:658:21
ERROR Cannot index into `object` [bad-index]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:32:15
ERROR Cannot index into `object` [bad-index]
@@ -5438,190 +5432,98 @@
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:65:12
ERROR Cannot index into `object` [bad-index]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:66:12
-ERROR Argument `dict[str, Any]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:118:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:122:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:123:35
+ERROR Argument `Response` is not assignable to parameter `response` with type `HttpResponse` in function `graphon.nodes.http_request.entities.Response.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:158:17
ERROR Object of class `NoneType` has no attribute `type` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:184:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:204:16
ERROR Object of class `NoneType` has no attribute `value` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:185:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:205:16
ERROR Object of class `NoneType` has no attribute `type` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:193:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:213:16
ERROR Object of class `NoneType` has no attribute `selector` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:194:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:214:16
ERROR Object of class `HumanInputNodeData` has no attribute `delivery_methods` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:278:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:298:20
ERROR Object of class `HumanInputNodeData` has no attribute `delivery_methods` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:301:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:321:20
ERROR Object of class `ExternalRecipient` has no attribute `reference_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:394:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:414:16
ERROR Object of class `BoundRecipient` has no attribute `email` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:395:16
-ERROR Missing argument `reference_id` in function `core.workflow.human_input_compat.BoundRecipient.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:399:28
-ERROR Unexpected keyword argument `user_id` in function `core.workflow.human_input_compat.BoundRecipient.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:399:61
-ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_compat.EmailRecipients.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:401:38
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:470:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:415:16
+ERROR Missing argument `reference_id` in function `core.workflow.human_input_adapter.BoundRecipient.__init__` [missing-argument]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:419:28
+ERROR Unexpected keyword argument `user_id` in function `core.workflow.human_input_adapter.BoundRecipient.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:419:61
+ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_adapter.EmailRecipients.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:421:38
ERROR Object of class `SchedulingPause` has no attribute `resolved_default_values` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:481:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:535:20
-ERROR Argument `dict[str, dict[str, list[dict[str, bool | dict[Unknown, Unknown] | str]] | list[dict[str, str]] | list[Unknown] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:600:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:676:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:775:20
-ERROR Argument `dict[str, dict[str, list[dict[str, str]] | list[dict[str, dict[str, str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_human_input_form_filled_event.py:85:16
-ERROR Argument `dict[str, dict[str, list[dict[str, str]] | list[dict[str, dict[str, str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_human_input_form_filled_event.py:150:16
-ERROR `dict[str, list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/iteration/test_iteration_child_engine_errors.py:50:21
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_index.knowledge_index_node.KnowledgeIndexNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:120:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:501:16
+ERROR Argument `dict[str, list[str] | str]` is not assignable to parameter `node_data` with type `KnowledgeIndexNodeData | dict[str, object]` in function `_build_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:139:23
ERROR Argument `dict[str, bool]` is not assignable to parameter `summary_index_setting` with type `SummaryIndexSettingDict | None` in function `core.workflow.nodes.knowledge_index.knowledge_index_node.KnowledgeIndexNode._invoke_knowledge_index` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:641:35
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:110:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:198:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:474:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:566:20
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:614:20
-ERROR `None` is not subscriptable [unsupported-operation]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:633:16
-ERROR `None` is not subscriptable [unsupported-operation]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:634:27
-ERROR `None` is not subscriptable [unsupported-operation]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:635:16
-ERROR `None` is not subscriptable [unsupported-operation]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:636:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:675:20
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:69:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:114:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:145:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:174:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:203:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:231:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:259:43
-ERROR `dict[str, dict[str, bool | int] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:287:43
-ERROR `dict[str, dict[str, bool | int] | dict[str, bool | str] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:322:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:346:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:371:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:401:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:430:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:459:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:488:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:516:43
+ --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:660:35
+ERROR `None` is not subscriptable [unsupported-operation]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:643:16
+ERROR `None` is not subscriptable [unsupported-operation]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:644:27
+ERROR `None` is not subscriptable [unsupported-operation]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:645:16
+ERROR `None` is not subscriptable [unsupported-operation]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:646:16
ERROR Argument `None` is not assignable to parameter `context` with type `str` in function `graphon.nodes.llm.llm_utils.fetch_prompt_messages` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:123:21
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:125:21
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:604:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:606:65
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:607:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:609:65
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:610:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:612:65
ERROR Argument `list[UserPromptMessage]` is not assignable to parameter `prompt_messages` with type `list[PromptMessage]` in function `graphon.nodes.llm.llm_utils._append_file_prompts` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:726:29
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:728:29
ERROR Argument `list[SystemPromptMessage]` is not assignable to parameter `prompt_messages` with type `list[PromptMessage]` in function `graphon.nodes.llm.llm_utils._append_file_prompts` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:742:29
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.llm.node.LLMNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:215:16
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:744:29
ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1224:9
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1216:9
ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1254:9
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1246:9
ERROR Argument `Iterator[LLMResultChunk | LLMStructuredOutput] | Iterator[Any]` is not assignable to parameter `invoke_result` with type `Generator[LLMResultChunk | LLMStructuredOutput] | LLMResult` in function `graphon.nodes.llm.node.LLMNode.handle_invoke_result` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1513:31
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1504:31
ERROR Argument `Generator[None, Unknown]` is not assignable to parameter `invoke_result` with type `Generator[LLMResultChunk | LLMStructuredOutput] | LLMResult` in function `graphon.nodes.llm.node.LLMNode.handle_invoke_result` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1551:31
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1541:31
ERROR Missing argument `run_context` in function `core.app.llm.model_access.DifyCredentialsProvider.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1744:32
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1733:32
ERROR Missing argument `run_context` in function `core.app.llm.model_access.DifyModelFactory.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1747:25
-ERROR `dict[str, list[Unknown] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:113:48
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1736:25
ERROR `in` is not supported between `Literal['variables']` and `object` [not-iterable]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:127:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:145:16
ERROR `in` is not supported between `Literal['template']` and `object` [not-iterable]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:128:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:146:16
ERROR Cannot index into `object` [bad-index]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:129:16
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:203:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:307:48
-ERROR `dict[str, list[Unknown] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:414:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:453:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:482:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:512:48
-ERROR `dict[str, list[@_] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/test_template_transform_node.py:43:21
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.document_extractor.node.DocumentExtractorNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_document_extractor_node.py:51:16
-ERROR Argument `dict[str, dict[str, list[dict[str, li\n\n... (truncated) ... |
Contributor
Pyrefly Diffbase → PR--- /tmp/pyrefly_base.txt 2026-04-18 10:14:42.830549947 +0000
+++ /tmp/pyrefly_pr.txt 2026-04-18 10:14:31.144654805 +0000
@@ -2,8 +2,6 @@
--> app_factory.py:132:5
ERROR Object of class `App` has no attribute `access_mode` [missing-attribute]
--> controllers/console/app/app.py:552:13
-ERROR Object of class `object` has no attribute `value` [missing-attribute]
- --> controllers/console/app/conversation_variables.py:48:24
ERROR Argument `str | None` is not assignable to parameter `language` with type `str` in function `services.account_service.AccountService.send_email_register_email` [bad-argument-type]
--> controllers/console/auth/email_register.py:75:108
ERROR Object of class `MissingRouter` has no attribute `get` [missing-attribute]
@@ -20,8 +18,6 @@
--> controllers/console/socketio/workflow.py:45:14
ERROR Object of class `MissingRouter` has no attribute `get` [missing-attribute]
--> controllers/console/version.py:30:2
-ERROR Object of class `object` has no attribute `value` [missing-attribute]
- --> controllers/service_api/app/conversation.py:87:24
ERROR Class member `EasyUIBasedGenerateTaskPipeline._application_generate_entity` overrides parent class `BasedGenerateTaskPipeline` in an inconsistent manner [bad-override]
--> core/app/task_pipeline/easy_ui_based_generate_task_pipeline.py:75:5
ERROR `+=` is not supported between `list[PromptMessageContentUnionTypes]` and `str` [unsupported-operation]
@@ -46,26 +42,6 @@
--> core/llm_generator/llm_generator.py:394:60
ERROR No matching overload found for function `core.model_manager.ModelInstance.invoke_llm` called with arguments: (prompt_messages=list[SystemPromptMessage | UserPromptMessage], model_parameters=dict[str, float], stream=Literal[False]) [no-matching-overload]
--> core/llm_generator/llm_generator.py:582:60
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:171:17
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:196:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:216:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:238:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:255:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:280:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:308:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:327:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:343:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:360:13
ERROR Class member `OpsTraceProviderConfigMap.__getitem__` overrides parent class `UserDict` in an inconsistent manner [bad-param-name-override]
--> core/ops/ops_trace_manager.py:206:9
ERROR Object of class `NoneType` has no attribute `data_source_type` [missing-attribute]
@@ -89,7 +65,7 @@
ERROR Argument `Unknown | None` is not assignable to parameter `result_object` with type `dict[str, Any]` in function `WaterCrawlProvider._structure_data` [bad-argument-type]
--> core/rag/extractor/watercrawl/provider.py:108:37
ERROR Object of class `BaseOxmlElement` has no attribute `body` [missing-attribute]
- --> core/rag/extractor/word_extractor.py:426:24
+ --> core/rag/extractor/word_extractor.py:448:24
ERROR Object of class `Document` has no attribute `score` [missing-attribute]
--> core/rag/index_processor/processor/paragraph_index_processor.py:203:33
ERROR Object of class `Document` has no attribute `score` [missing-attribute]
@@ -116,8 +92,6 @@
--> extensions/storage/huawei_obs_storage.py:27:23
ERROR Cannot index into `Literal['']` [bad-index]
--> extensions/storage/huawei_obs_storage.py:31:20
-ERROR Object of class `object` has no attribute `value` [missing-attribute]
- --> fields/conversation_variable_fields.py:60:24
ERROR Argument `Module[Crypto.Hash.SHA1] | Unknown` is not assignable to parameter with type `Hash | HashModule` [bad-argument-type]
--> libs/gmpy2_pkcs10aep_cipher.py:73:49
ERROR Object of class `NoneType` has no attribute `trace_id` [missing-attribute]
@@ -810,6 +784,8 @@
--> services/hit_testing_service.py:92:28
ERROR Argument `RetrievalMethod | bool | dict[str, str] | int | Any | None` is not assignable to parameter `weights` with type `WeightsDict | None` in function `core.rag.datasource.retrieval_service.RetrievalService.retrieve` [bad-argument-type]
--> services/hit_testing_service.py:93:21
+ERROR Argument `bool | str | Any` is not assignable to parameter `token` with type `str` in function `core.helper.encrypter.encrypt_token` [bad-argument-type]
+ --> services/model_load_balancing_service.py:623:71
ERROR `handled_tenant_count` was assigned in the current scope before the nonlocal declaration [unknown-name]
--> services/plugin/plugin_migration.py:92:34
ERROR `dict[str, Any]` is not assignable to attribute `credentials` with type `Never` [bad-assignment]
@@ -830,12 +806,10 @@
--> tests/integration_tests/controllers/console/app/test_feedback_export_api.py:32:22
ERROR Argument `Literal['normal']` is not assignable to parameter `value` with type `AppStatus | SQLCoreOperations[AppStatus]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
--> tests/integration_tests/controllers/console/app/test_model_config_permissions.py:28:22
-ERROR `dict[str, str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:75:21
ERROR Argument `_GP` is not assignable to parameter `graph_init_params` with type `GraphInitParams` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:85:27
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:83:27
ERROR Argument `_GS` is not assignable to parameter `graph_runtime_state` with type `GraphRuntimeState` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:86:29
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:84:29
ERROR Could not import `Overflow` from `libs.broadcast_channel.channel` [missing-module-attribute]
--> tests/integration_tests/libs/broadcast_channel/redis/utils/test_data.py:11:44
ERROR `unpatch` may be uninitialized [unbound-name]
@@ -856,26 +830,18 @@
--> tests/integration_tests/services/test_workflow_draft_variable_service.py:651:21
ERROR Object of class `TestWorkflowDraftVariableServiceResetVariable` has no attribute `_test_user_id` [missing-attribute]
--> tests/integration_tests/services/test_workflow_draft_variable_service.py:817:21
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.code.code_node.CodeNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_code.py:68:16
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_http.py:79:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:83:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/integration_tests/workflow/nodes/test_http.py:84:35
-ERROR Argument `dict[str, dict[str, dict[str, dict[str, str] | str] | str | Unknown | None] | str] | dict[str, dict[str, str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_http.py:727:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:242:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:731:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/integration_tests/workflow/nodes/test_http.py:732:35
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.llm.node.LLMNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_llm.py:79:16
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.parameter_extractor.parameter_extractor_node.ParameterExtractorNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_parameter_extractor.py:73:16
-ERROR Argument `dict[str, dict[str, list[dict[str, list[str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.template_transform.template_transform_node.TemplateTransformNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_template_transform.py:90:16
ERROR Argument `_SimpleJinja2Renderer` is not assignable to parameter `jinja2_template_renderer` with type `Jinja2TemplateRenderer` in function `graphon.nodes.template_transform.template_transform_node.TemplateTransformNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_template_transform.py:93:34
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.tool.tool_node.ToolNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_tool.py:64:16
+ --> tests/integration_tests/workflow/nodes/test_template_transform.py:94:34
ERROR `dict[str, str | None]` is not assignable to attribute `env` with type `dict[str, str]` [bad-assignment]
--> tests/test_containers_integration_tests/conftest.py:204:39
ERROR Argument value `Literal[0]` violates Pydantic `ge` constraint `Literal[1]` for field `page` [bad-argument-type]
@@ -994,12 +960,6 @@
--> tests/test_containers_integration_tests/core/rag/retrieval/test_dataset_retrieval_integration.py:574:23
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
--> tests/test_containers_integration_tests/core/rag/retrieval/test_dataset_retrieval_integration.py:584:23
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:105:40
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:120:40
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:134:38
ERROR Argument `Connection | Engine` is not assignable to parameter `session_factory` with type `Engine | sessionmaker[Unknown]` in function `core.repositories.sqlalchemy_workflow_execution_repository.SQLAlchemyWorkflowExecutionRepository.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:264:29
ERROR Argument `Connection | Engine` is not assignable to parameter `session_factory` with type `Engine | sessionmaker[Unknown]` in function `core.repositories.sqlalchemy_workflow_node_execution_repository.SQLAlchemyWorkflowNodeExecutionRepository.__init__` [bad-argument-type]
@@ -1356,7 +1316,7 @@
--> tests/test_containers_integration_tests/services/test_file_service.py:78:20
ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_human_input_delivery_test.py:32:18
-ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_compat.EmailRecipients.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_adapter.EmailRecipients.__init__` [unexpected-keyword]
--> tests/test_containers_integration_tests/services/test_human_input_delivery_test_service.py:239:44
ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_message_export_service.py:53:20
@@ -2293,11 +2253,11 @@
ERROR Argument `list[dict[str, Any]] | None` is not assignable to parameter `obj` with type `Sized` in function `len` [bad-argument-type]
--> tests/unit_tests/controllers/service_api/app/test_completion.py:156:20
ERROR Argument value `Literal[0]` violates Pydantic `ge` constraint `Literal[1]` for field `limit` [bad-argument-type]
- --> tests/unit_tests/controllers/service_api/app/test_conversation.py:84:35
+ --> tests/unit_tests/controllers/service_api/app/test_conversation.py:86:35
ERROR Argument value `Literal[101]` violates Pydantic `le` constraint `Literal[100]` for field `limit` [bad-argument-type]
- --> tests/unit_tests/controllers/service_api/app/test_conversation.py:89:35
+ --> tests/unit_tests/controllers/service_api/app/test_conversation.py:91:35
ERROR Missing argument `session` in function `services.conversation_service.ConversationService.pagination_by_last_id` [missing-argument]
- --> tests/unit_tests/controllers/service_api/app/test_conversation.py:427:59
+ --> tests/unit_tests/controllers/service_api/app/test_conversation.py:455:59
ERROR Argument value `Literal[0]` violates Pydantic `ge` constraint `Literal[1]` for field `limit` [bad-argument-type]
--> tests/unit_tests/controllers/service_api/app/test_message.py:94:63
ERROR Argument value `Literal[101]` violates Pydantic `le` constraint `Literal[100]` for field `limit` [bad-argument-type]
@@ -3263,43 +3223,43 @@
ERROR Object of class `ModuleType` has no attribute `TraceQueueManager` [missing-attribute]
--> tests/unit_tests/core/app/apps/test_pause_resume.py:42:5
ERROR Class member `_StubToolNode._run` overrides parent class `Node` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:79:9
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:92:9
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:220:19
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:226:19
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow` with type `Workflow` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:221:18
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:227:18
ERROR Argument `SimpleNamespace` is not assignable to parameter `user` with type `Account | EndUser` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:222:14
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:228:14
ERROR Argument `SimpleNamespace` is not assignable to parameter `application_generate_entity` with type `WorkflowAppGenerateEntity` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:223:37
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:37
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_execution_repository` with type `WorkflowExecutionRepository` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:225:39
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:231:39
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_node_execution_repository` with type `WorkflowNodeExecutionRepository` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:226:44
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:232:44
ERROR `+` is not supported between `list[str]` and `Generator[Mapping[str, Any] | str]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:235:12
ERROR `+` is not supported between `list[str]` and `Mapping[str, Any]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:235:12
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:260:19
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:266:19
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow` with type `Workflow` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:261:18
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:267:18
ERROR Argument `SimpleNamespace` is not assignable to parameter `user` with type `Account | EndUser` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:262:14
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:268:14
ERROR Argument `SimpleNamespace` is not assignable to parameter `conversation` with type `Conversation` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:263:22
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:269:22
ERROR Argument `SimpleNamespace` is not assignable to parameter `message` with type `Message` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:264:17
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:270:17
ERROR Argument `SimpleNamespace` is not assignable to parameter `application_generate_entity` with type `AdvancedChatAppGenerateEntity` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:265:37
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:37
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_execution_repository` with type `WorkflowExecutionRepository` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:266:39
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:272:39
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_node_execution_repository` with type `WorkflowNodeExecutionRepository` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:267:44
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:273:44
ERROR `+` is not supported between `list[str]` and `Generator[Mapping[str, Any] | str]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:277:12
ERROR `+` is not supported between `list[str]` and `Mapping[str, Any]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:277:12
ERROR Cannot index into `str` [bad-index]
--> tests/unit_tests/core/app/apps/test_streaming_utils.py:79:12
ERROR Argument `FakeTopic` is not assignable to parameter `topic` with type `Topic` in function `core.app.apps.streaming_utils.stream_topic_events` [bad-argument-type]
@@ -3972,8 +3932,8 @@
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:174:16
ERROR Object of class `object` has no attribute `total_steps` [missing-attribute]
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:175:16
-ERROR `SimpleNamespace` is not assignable to attribute `_graph_execution` with type `GraphExecutionProtocol | None` [bad-assignment]
- --> tests/unit_tests/core/app/workflow/test_persistence_layer.py:182:42
+ERROR Object of class `GraphRuntimeState` has no attribute `_graph_execution` [missing-attribute]
+ --> tests/unit_tests/core/app/workflow/test_persistence_layer.py:182:9
ERROR Object of class `object` has no attribute `status` [missing-attribute]
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:189:16
ERROR Object of class `object` has no attribute `exceptions_count` [missing-attribute]
@@ -4630,21 +4590,21 @@
ERROR Argument `SimpleNamespace` is not assignable to parameter `document_model` with type `Document | None` in function `core.rag.extractor.notion_extractor.NotionExtractor.update_last_edited_time` [bad-argument-type]
--> tests/unit_tests/core/rag/extractor/test_notion_extractor.py:435:43
ERROR Type `object` is not iterable [not-iterable]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:90:9
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:92:9
ERROR `Any | None` is not assignable to attribute `FILES_URL` with type `str` [bad-assignment]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:209:33
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:211:33
ERROR `Any | None` is not assignable to attribute `INTERNAL_FILES_URL` with type `str` [bad-assignment]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:210:42
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:212:42
ERROR `Literal['Dify']` is not assignable to attribute `text` with type `Ellipsis` [bad-assignment]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:231:14
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:233:14
ERROR `Literal[' HYPERLINK "http://example.com" ']` is not assignable to attribute `text` with type `Ellipsis` [bad-assignment]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:284:22
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:286:22
ERROR `Literal['Example']` is not assignable to attribute `text` with type `Ellipsis` [bad-assignment]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:296:15
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:298:15
ERROR `Literal['Dify']` is not assignable to attribute `text` with type `Ellipsis` [bad-assignment]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:655:14
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:688:14
ERROR `Literal['john@test.com']` is not assignable to attribute `text` with type `Ellipsis` [bad-assignment]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:695:14
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:728:14
ERROR Argument `Literal['semantic_search']` is not assignable to parameter `retrieval_method` with type `RetrievalMethod` in function `core.rag.index_processor.processor.paragraph_index_processor.ParagraphIndexProcessor.retrieve` [bad-argument-type]
--> tests/unit_tests/core/rag/indexing/processor/test_paragraph_index_processor.py:246:39
ERROR Argument `Literal['semantic_search']` is not assignable to parameter `retrieval_method` with type `RetrievalMethod` in function `core.rag.index_processor.processor.parent_child_index_processor.ParentChildIndexProcessor.retrieve` [bad-argument-type]
@@ -5334,6 +5294,16 @@
ERROR Object of class `BlobChunkMessage` has no attribute `variable_value`
ERROR Object of class `BlobChunkMessage` has no attribute `stream`
ERROR Object of class `BlobChunkMessage` has no attribute `file_marker`
+ERROR Argument `object` is not assignable to parameter `obj` with type `Sized` in function `len` [bad-argument-type]
+ --> tests/unit_tests/core/variables/test_segment.py:503:20
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:504:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:505:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:512:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:513:16
ERROR Cannot set field `value` [read-only]
--> tests/unit_tests/core/variables/test_variables.py:20:9
ERROR Cannot set field `value` [read-only]
@@ -5363,47 +5333,39 @@
ERROR Could not find name `NodeType` [unknown-name]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_config.py:158:46
ERROR Cannot extend final class `DifyNodeFactory` [invalid-inheritance]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:37:23
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:38:23
ERROR Cannot set item in `dict[str, type[MockAgentNode] | type[MockCodeNode] | type[MockDocumentExtractorNode] | type[MockHttpRequestNode] | type[MockIterationNode] | type[MockKnowledgeRetrievalNode] | type[MockLLMNode] | type[MockLoopNode] | type[MockParameterExtractorNode] | type[MockQuestionClassifierNode] | type[MockTemplateTransformNode] | type[MockToolNode]]` [unsupported-operation]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:161:44
-ERROR Unexpected keyword argument `id` in function `object.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:99:13
-ERROR Unexpected keyword argument `config` in function `object.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:162:44
+ERROR Unexpected keyword argument `node_id` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:100:13
-ERROR Unexpected keyword argument `graph_init_params` in function `object.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `config` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:101:13
-ERROR Unexpected keyword argument `graph_runtime_state` in function `object.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `graph_init_params` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:102:13
+ERROR Unexpected keyword argument `graph_runtime_state` in function `object.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:103:13
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:113:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:114:56
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:128:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:129:56
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:139:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:140:56
ERROR Class member `MockKnowledgeRetrievalNode.version` overrides parent class `KnowledgeRetrievalNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:350:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:351:9
ERROR Class member `MockKnowledgeRetrievalNode._run` overrides parent class `KnowledgeRetrievalNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:354:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:355:9
ERROR Class member `MockHttpRequestNode._run` overrides parent class `HttpRequestNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:411:9
-ERROR Class member `MockQuestionClassifierNode.version` overrides parent class `QuestionClassifierNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:460:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:412:9
ERROR Class member `MockQuestionClassifierNode._run` overrides parent class `QuestionClassifierNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:464:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:465:9
ERROR Class member `MockParameterExtractorNode._run` overrides parent class `ParameterExtractorNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:512:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:513:9
ERROR Class member `MockDocumentExtractorNode._run` overrides parent class `DocumentExtractorNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:562:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:563:9
ERROR Argument `str | None` is not assignable to parameter `root_node_id` with type `str` in function `graphon.graph.graph.Graph.init` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:661:85
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:143:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:158:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:168:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:186:16
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:662:85
+ERROR Class member `MockLoopNode._create_graph_engine` overrides parent class `LoopNode` in an inconsistent manner [bad-override]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:690:9
ERROR Argument `Sequence[type[GraphEngineEvent]]` is not assignable to parameter `expected_sequence` with type `list[type[GraphEngineEvent]]` in function `TableTestRunner._validate_event_sequence` [bad-argument-type]
--> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:402:21
ERROR `graph` is uninitialized [unbound-name]
@@ -5412,20 +5374,52 @@
--> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:456:37
ERROR Argument `Iterator[Unknown]` is not assignable to parameter `messages` with type `Generator[ToolInvokeMessage]` in function `core.workflow.nodes.agent.message_transformer.AgentMessageTransformer.transform` [bad-argument-type]
--> tests/unit_tests/core/workflow/nodes/agent/test_message_transformer.py:15:26
-ERROR Argument `dict[str, dict[str, str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/answer/test_answer.py:82:16
ERROR Class member `_Version1._get_retry_config` overrides parent class `Node` in an inconsistent manner [bad-override]
--> tests/unit_tests/core/workflow/nodes/base/test_get_node_type_classes_mapping.py:53:13
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:150:44
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:157:44
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:164:45
ERROR `BaseNodeData` is not assignable to attribute `_node_data` with type `CodeNodeData` [bad-assignment]
--> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:440:27
ERROR `BaseNodeData` is not assignable to attribute `_node_data` with type `CodeNodeData` [bad-assignment]
--> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:456:27
-ERROR `dict[str, str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:83:21
ERROR Argument `_GraphParams` is not assignable to parameter `graph_init_params` with type `GraphInitParams` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:93:27
+ --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:91:27
ERROR Argument `_GraphState` is not assignable to parameter `graph_runtime_state` with type `GraphRuntimeState` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:94:29
+ --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:92:29
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:64:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:120:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:178:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:224:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:271:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:324:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:361:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:413:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:440:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:467:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:494:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:520:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:570:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:617:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:658:21
ERROR Cannot index into `object` [bad-index]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:32:15
ERROR Cannot index into `object` [bad-index]
@@ -5438,190 +5432,98 @@
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:65:12
ERROR Cannot index into `object` [bad-index]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:66:12
-ERROR Argument `dict[str, Any]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:118:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:122:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:123:35
+ERROR Argument `Response` is not assignable to parameter `response` with type `HttpResponse` in function `graphon.nodes.http_request.entities.Response.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:158:17
ERROR Object of class `NoneType` has no attribute `type` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:184:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:204:16
ERROR Object of class `NoneType` has no attribute `value` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:185:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:205:16
ERROR Object of class `NoneType` has no attribute `type` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:193:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:213:16
ERROR Object of class `NoneType` has no attribute `selector` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:194:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:214:16
ERROR Object of class `HumanInputNodeData` has no attribute `delivery_methods` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:278:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:298:20
ERROR Object of class `HumanInputNodeData` has no attribute `delivery_methods` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:301:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:321:20
ERROR Object of class `ExternalRecipient` has no attribute `reference_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:394:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:414:16
ERROR Object of class `BoundRecipient` has no attribute `email` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:395:16
-ERROR Missing argument `reference_id` in function `core.workflow.human_input_compat.BoundRecipient.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:399:28
-ERROR Unexpected keyword argument `user_id` in function `core.workflow.human_input_compat.BoundRecipient.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:399:61
-ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_compat.EmailRecipients.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:401:38
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:470:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:415:16
+ERROR Missing argument `reference_id` in function `core.workflow.human_input_adapter.BoundRecipient.__init__` [missing-argument]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:419:28
+ERROR Unexpected keyword argument `user_id` in function `core.workflow.human_input_adapter.BoundRecipient.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:419:61
+ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_adapter.EmailRecipients.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:421:38
ERROR Object of class `SchedulingPause` has no attribute `resolved_default_values` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:481:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:535:20
-ERROR Argument `dict[str, dict[str, list[dict[str, bool | dict[Unknown, Unknown] | str]] | list[dict[str, str]] | list[Unknown] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:600:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:676:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:775:20
-ERROR Argument `dict[str, dict[str, list[dict[str, str]] | list[dict[str, dict[str, str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_human_input_form_filled_event.py:85:16
-ERROR Argument `dict[str, dict[str, list[dict[str, str]] | list[dict[str, dict[str, str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_human_input_form_filled_event.py:150:16
-ERROR `dict[str, list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/iteration/test_iteration_child_engine_errors.py:50:21
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_index.knowledge_index_node.KnowledgeIndexNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:120:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:501:16
+ERROR Argument `dict[str, list[str] | str]` is not assignable to parameter `node_data` with type `KnowledgeIndexNodeData | dict[str, object]` in function `_build_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:139:23
ERROR Argument `dict[str, bool]` is not assignable to parameter `summary_index_setting` with type `SummaryIndexSettingDict | None` in function `core.workflow.nodes.knowledge_index.knowledge_index_node.KnowledgeIndexNode._invoke_knowledge_index` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:641:35
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:110:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:198:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:474:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:566:20
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:614:20
-ERROR `None` is not subscriptable [unsupported-operation]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:633:16
-ERROR `None` is not subscriptable [unsupported-operation]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:634:27
-ERROR `None` is not subscriptable [unsupported-operation]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:635:16
-ERROR `None` is not subscriptable [unsupported-operation]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:636:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:675:20
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:69:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:114:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:145:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:174:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:203:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:231:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:259:43
-ERROR `dict[str, dict[str, bool | int] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:287:43
-ERROR `dict[str, dict[str, bool | int] | dict[str, bool | str] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:322:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:346:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:371:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:401:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:430:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:459:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:488:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:516:43
+ --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:660:35
+ERROR `None` is not subscriptable [unsupported-operation]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:643:16
+ERROR `None` is not subscriptable [unsupported-operation]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:644:27
+ERROR `None` is not subscriptable [unsupported-operation]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:645:16
+ERROR `None` is not subscriptable [unsupported-operation]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:646:16
ERROR Argument `None` is not assignable to parameter `context` with type `str` in function `graphon.nodes.llm.llm_utils.fetch_prompt_messages` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:123:21
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:125:21
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:604:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:606:65
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:607:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:609:65
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:610:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:612:65
ERROR Argument `list[UserPromptMessage]` is not assignable to parameter `prompt_messages` with type `list[PromptMessage]` in function `graphon.nodes.llm.llm_utils._append_file_prompts` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:726:29
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:728:29
ERROR Argument `list[SystemPromptMessage]` is not assignable to parameter `prompt_messages` with type `list[PromptMessage]` in function `graphon.nodes.llm.llm_utils._append_file_prompts` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:742:29
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.llm.node.LLMNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:215:16
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:744:29
ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1224:9
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1216:9
ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1254:9
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1246:9
ERROR Argument `Iterator[LLMResultChunk | LLMStructuredOutput] | Iterator[Any]` is not assignable to parameter `invoke_result` with type `Generator[LLMResultChunk | LLMStructuredOutput] | LLMResult` in function `graphon.nodes.llm.node.LLMNode.handle_invoke_result` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1513:31
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1504:31
ERROR Argument `Generator[None, Unknown]` is not assignable to parameter `invoke_result` with type `Generator[LLMResultChunk | LLMStructuredOutput] | LLMResult` in function `graphon.nodes.llm.node.LLMNode.handle_invoke_result` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1551:31
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1541:31
ERROR Missing argument `run_context` in function `core.app.llm.model_access.DifyCredentialsProvider.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1744:32
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1733:32
ERROR Missing argument `run_context` in function `core.app.llm.model_access.DifyModelFactory.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1747:25
-ERROR `dict[str, list[Unknown] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:113:48
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1736:25
ERROR `in` is not supported between `Literal['variables']` and `object` [not-iterable]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:127:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:145:16
ERROR `in` is not supported between `Literal['template']` and `object` [not-iterable]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:128:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:146:16
ERROR Cannot index into `object` [bad-index]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:129:16
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:203:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:307:48
-ERROR `dict[str, list[Unknown] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:414:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:453:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:482:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:512:48
-ERROR `dict[str, list[@_] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/test_template_transform_node.py:43:21
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.document_extractor.node.DocumentExtractorNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_document_extractor_node.py:51:16
... (truncated) ... |
Contributor
Pyrefly Diffbase → PR--- /tmp/pyrefly_base.txt 2026-04-18 10:14:42.830549947 +0000
+++ /tmp/pyrefly_pr.txt 2026-04-18 10:14:31.144654805 +0000
@@ -2,8 +2,6 @@
--> app_factory.py:132:5
ERROR Object of class `App` has no attribute `access_mode` [missing-attribute]
--> controllers/console/app/app.py:552:13
-ERROR Object of class `object` has no attribute `value` [missing-attribute]
- --> controllers/console/app/conversation_variables.py:48:24
ERROR Argument `str | None` is not assignable to parameter `language` with type `str` in function `services.account_service.AccountService.send_email_register_email` [bad-argument-type]
--> controllers/console/auth/email_register.py:75:108
ERROR Object of class `MissingRouter` has no attribute `get` [missing-attribute]
@@ -20,8 +18,6 @@
--> controllers/console/socketio/workflow.py:45:14
ERROR Object of class `MissingRouter` has no attribute `get` [missing-attribute]
--> controllers/console/version.py:30:2
-ERROR Object of class `object` has no attribute `value` [missing-attribute]
- --> controllers/service_api/app/conversation.py:87:24
ERROR Class member `EasyUIBasedGenerateTaskPipeline._application_generate_entity` overrides parent class `BasedGenerateTaskPipeline` in an inconsistent manner [bad-override]
--> core/app/task_pipeline/easy_ui_based_generate_task_pipeline.py:75:5
ERROR `+=` is not supported between `list[PromptMessageContentUnionTypes]` and `str` [unsupported-operation]
@@ -46,26 +42,6 @@
--> core/llm_generator/llm_generator.py:394:60
ERROR No matching overload found for function `core.model_manager.ModelInstance.invoke_llm` called with arguments: (prompt_messages=list[SystemPromptMessage | UserPromptMessage], model_parameters=dict[str, float], stream=Literal[False]) [no-matching-overload]
--> core/llm_generator/llm_generator.py:582:60
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:171:17
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:196:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:216:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:238:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:255:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:280:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:308:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:327:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:343:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:360:13
ERROR Class member `OpsTraceProviderConfigMap.__getitem__` overrides parent class `UserDict` in an inconsistent manner [bad-param-name-override]
--> core/ops/ops_trace_manager.py:206:9
ERROR Object of class `NoneType` has no attribute `data_source_type` [missing-attribute]
@@ -89,7 +65,7 @@
ERROR Argument `Unknown | None` is not assignable to parameter `result_object` with type `dict[str, Any]` in function `WaterCrawlProvider._structure_data` [bad-argument-type]
--> core/rag/extractor/watercrawl/provider.py:108:37
ERROR Object of class `BaseOxmlElement` has no attribute `body` [missing-attribute]
- --> core/rag/extractor/word_extractor.py:426:24
+ --> core/rag/extractor/word_extractor.py:448:24
ERROR Object of class `Document` has no attribute `score` [missing-attribute]
--> core/rag/index_processor/processor/paragraph_index_processor.py:203:33
ERROR Object of class `Document` has no attribute `score` [missing-attribute]
@@ -116,8 +92,6 @@
--> extensions/storage/huawei_obs_storage.py:27:23
ERROR Cannot index into `Literal['']` [bad-index]
--> extensions/storage/huawei_obs_storage.py:31:20
-ERROR Object of class `object` has no attribute `value` [missing-attribute]
- --> fields/conversation_variable_fields.py:60:24
ERROR Argument `Module[Crypto.Hash.SHA1] | Unknown` is not assignable to parameter with type `Hash | HashModule` [bad-argument-type]
--> libs/gmpy2_pkcs10aep_cipher.py:73:49
ERROR Object of class `NoneType` has no attribute `trace_id` [missing-attribute]
@@ -810,6 +784,8 @@
--> services/hit_testing_service.py:92:28
ERROR Argument `RetrievalMethod | bool | dict[str, str] | int | Any | None` is not assignable to parameter `weights` with type `WeightsDict | None` in function `core.rag.datasource.retrieval_service.RetrievalService.retrieve` [bad-argument-type]
--> services/hit_testing_service.py:93:21
+ERROR Argument `bool | str | Any` is not assignable to parameter `token` with type `str` in function `core.helper.encrypter.encrypt_token` [bad-argument-type]
+ --> services/model_load_balancing_service.py:623:71
ERROR `handled_tenant_count` was assigned in the current scope before the nonlocal declaration [unknown-name]
--> services/plugin/plugin_migration.py:92:34
ERROR `dict[str, Any]` is not assignable to attribute `credentials` with type `Never` [bad-assignment]
@@ -830,12 +806,10 @@
--> tests/integration_tests/controllers/console/app/test_feedback_export_api.py:32:22
ERROR Argument `Literal['normal']` is not assignable to parameter `value` with type `AppStatus | SQLCoreOperations[AppStatus]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
--> tests/integration_tests/controllers/console/app/test_model_config_permissions.py:28:22
-ERROR `dict[str, str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:75:21
ERROR Argument `_GP` is not assignable to parameter `graph_init_params` with type `GraphInitParams` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:85:27
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:83:27
ERROR Argument `_GS` is not assignable to parameter `graph_runtime_state` with type `GraphRuntimeState` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:86:29
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:84:29
ERROR Could not import `Overflow` from `libs.broadcast_channel.channel` [missing-module-attribute]
--> tests/integration_tests/libs/broadcast_channel/redis/utils/test_data.py:11:44
ERROR `unpatch` may be uninitialized [unbound-name]
@@ -856,26 +830,18 @@
--> tests/integration_tests/services/test_workflow_draft_variable_service.py:651:21
ERROR Object of class `TestWorkflowDraftVariableServiceResetVariable` has no attribute `_test_user_id` [missing-attribute]
--> tests/integration_tests/services/test_workflow_draft_variable_service.py:817:21
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.code.code_node.CodeNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_code.py:68:16
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_http.py:79:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:83:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/integration_tests/workflow/nodes/test_http.py:84:35
-ERROR Argument `dict[str, dict[str, dict[str, dict[str, str] | str] | str | Unknown | None] | str] | dict[str, dict[str, str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_http.py:727:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:242:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:731:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/integration_tests/workflow/nodes/test_http.py:732:35
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.llm.node.LLMNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_llm.py:79:16
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.parameter_extractor.parameter_extractor_node.ParameterExtractorNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_parameter_extractor.py:73:16
-ERROR Argument `dict[str, dict[str, list[dict[str, list[str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.template_transform.template_transform_node.TemplateTransformNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_template_transform.py:90:16
ERROR Argument `_SimpleJinja2Renderer` is not assignable to parameter `jinja2_template_renderer` with type `Jinja2TemplateRenderer` in function `graphon.nodes.template_transform.template_transform_node.TemplateTransformNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_template_transform.py:93:34
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.tool.tool_node.ToolNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_tool.py:64:16
+ --> tests/integration_tests/workflow/nodes/test_template_transform.py:94:34
ERROR `dict[str, str | None]` is not assignable to attribute `env` with type `dict[str, str]` [bad-assignment]
--> tests/test_containers_integration_tests/conftest.py:204:39
ERROR Argument value `Literal[0]` violates Pydantic `ge` constraint `Literal[1]` for field `page` [bad-argument-type]
@@ -994,12 +960,6 @@
--> tests/test_containers_integration_tests/core/rag/retrieval/test_dataset_retrieval_integration.py:574:23
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
--> tests/test_containers_integration_tests/core/rag/retrieval/test_dataset_retrieval_integration.py:584:23
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:105:40
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:120:40
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:134:38
ERROR Argument `Connection | Engine` is not assignable to parameter `session_factory` with type `Engine | sessionmaker[Unknown]` in function `core.repositories.sqlalchemy_workflow_execution_repository.SQLAlchemyWorkflowExecutionRepository.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:264:29
ERROR Argument `Connection | Engine` is not assignable to parameter `session_factory` with type `Engine | sessionmaker[Unknown]` in function `core.repositories.sqlalchemy_workflow_node_execution_repository.SQLAlchemyWorkflowNodeExecutionRepository.__init__` [bad-argument-type]
@@ -1356,7 +1316,7 @@
--> tests/test_containers_integration_tests/services/test_file_service.py:78:20
ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_human_input_delivery_test.py:32:18
-ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_compat.EmailRecipients.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_adapter.EmailRecipients.__init__` [unexpected-keyword]
--> tests/test_containers_integration_tests/services/test_human_input_delivery_test_service.py:239:44
ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_message_export_service.py:53:20
@@ -2293,11 +2253,11 @@
ERROR Argument `list[dict[str, Any]] | None` is not assignable to parameter `obj` with type `Sized` in function `len` [bad-argument-type]
--> tests/unit_tests/controllers/service_api/app/test_completion.py:156:20
ERROR Argument value `Literal[0]` violates Pydantic `ge` constraint `Literal[1]` for field `limit` [bad-argument-type]
- --> tests/unit_tests/controllers/service_api/app/test_conversation.py:84:35
+ --> tests/unit_tests/controllers/service_api/app/test_conversation.py:86:35
ERROR Argument value `Literal[101]` violates Pydantic `le` constraint `Literal[100]` for field `limit` [bad-argument-type]
- --> tests/unit_tests/controllers/service_api/app/test_conversation.py:89:35
+ --> tests/unit_tests/controllers/service_api/app/test_conversation.py:91:35
ERROR Missing argument `session` in function `services.conversation_service.ConversationService.pagination_by_last_id` [missing-argument]
- --> tests/unit_tests/controllers/service_api/app/test_conversation.py:427:59
+ --> tests/unit_tests/controllers/service_api/app/test_conversation.py:455:59
ERROR Argument value `Literal[0]` violates Pydantic `ge` constraint `Literal[1]` for field `limit` [bad-argument-type]
--> tests/unit_tests/controllers/service_api/app/test_message.py:94:63
ERROR Argument value `Literal[101]` violates Pydantic `le` constraint `Literal[100]` for field `limit` [bad-argument-type]
@@ -3263,43 +3223,43 @@
ERROR Object of class `ModuleType` has no attribute `TraceQueueManager` [missing-attribute]
--> tests/unit_tests/core/app/apps/test_pause_resume.py:42:5
ERROR Class member `_StubToolNode._run` overrides parent class `Node` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:79:9
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:92:9
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:220:19
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:226:19
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow` with type `Workflow` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:221:18
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:227:18
ERROR Argument `SimpleNamespace` is not assignable to parameter `user` with type `Account | EndUser` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:222:14
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:228:14
ERROR Argument `SimpleNamespace` is not assignable to parameter `application_generate_entity` with type `WorkflowAppGenerateEntity` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:223:37
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:37
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_execution_repository` with type `WorkflowExecutionRepository` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:225:39
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:231:39
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_node_execution_repository` with type `WorkflowNodeExecutionRepository` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:226:44
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:232:44
ERROR `+` is not supported between `list[str]` and `Generator[Mapping[str, Any] | str]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:235:12
ERROR `+` is not supported between `list[str]` and `Mapping[str, Any]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:235:12
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:260:19
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:266:19
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow` with type `Workflow` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:261:18
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:267:18
ERROR Argument `SimpleNamespace` is not assignable to parameter `user` with type `Account | EndUser` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:262:14
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:268:14
ERROR Argument `SimpleNamespace` is not assignable to parameter `conversation` with type `Conversation` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:263:22
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:269:22
ERROR Argument `SimpleNamespace` is not assignable to parameter `message` with type `Message` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:264:17
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:270:17
ERROR Argument `SimpleNamespace` is not assignable to parameter `application_generate_entity` with type `AdvancedChatAppGenerateEntity` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:265:37
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:37
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_execution_repository` with type `WorkflowExecutionRepository` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:266:39
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:272:39
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_node_execution_repository` with type `WorkflowNodeExecutionRepository` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:267:44
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:273:44
ERROR `+` is not supported between `list[str]` and `Generator[Mapping[str, Any] | str]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:277:12
ERROR `+` is not supported between `list[str]` and `Mapping[str, Any]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:277:12
ERROR Cannot index into `str` [bad-index]
--> tests/unit_tests/core/app/apps/test_streaming_utils.py:79:12
ERROR Argument `FakeTopic` is not assignable to parameter `topic` with type `Topic` in function `core.app.apps.streaming_utils.stream_topic_events` [bad-argument-type]
@@ -3972,8 +3932,8 @@
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:174:16
ERROR Object of class `object` has no attribute `total_steps` [missing-attribute]
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:175:16
-ERROR `SimpleNamespace` is not assignable to attribute `_graph_execution` with type `GraphExecutionProtocol | None` [bad-assignment]
- --> tests/unit_tests/core/app/workflow/test_persistence_layer.py:182:42
+ERROR Object of class `GraphRuntimeState` has no attribute `_graph_execution` [missing-attribute]
+ --> tests/unit_tests/core/app/workflow/test_persistence_layer.py:182:9
ERROR Object of class `object` has no attribute `status` [missing-attribute]
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:189:16
ERROR Object of class `object` has no attribute `exceptions_count` [missing-attribute]
@@ -4630,21 +4590,21 @@
ERROR Argument `SimpleNamespace` is not assignable to parameter `document_model` with type `Document | None` in function `core.rag.extractor.notion_extractor.NotionExtractor.update_last_edited_time` [bad-argument-type]
--> tests/unit_tests/core/rag/extractor/test_notion_extractor.py:435:43
ERROR Type `object` is not iterable [not-iterable]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:90:9
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:92:9
ERROR `Any | None` is not assignable to attribute `FILES_URL` with type `str` [bad-assignment]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:209:33
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:211:33
ERROR `Any | None` is not assignable to attribute `INTERNAL_FILES_URL` with type `str` [bad-assignment]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:210:42
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:212:42
ERROR `Literal['Dify']` is not assignable to attribute `text` with type `Ellipsis` [bad-assignment]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:231:14
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:233:14
ERROR `Literal[' HYPERLINK "http://example.com" ']` is not assignable to attribute `text` with type `Ellipsis` [bad-assignment]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:284:22
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:286:22
ERROR `Literal['Example']` is not assignable to attribute `text` with type `Ellipsis` [bad-assignment]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:296:15
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:298:15
ERROR `Literal['Dify']` is not assignable to attribute `text` with type `Ellipsis` [bad-assignment]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:655:14
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:688:14
ERROR `Literal['john@test.com']` is not assignable to attribute `text` with type `Ellipsis` [bad-assignment]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:695:14
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:728:14
ERROR Argument `Literal['semantic_search']` is not assignable to parameter `retrieval_method` with type `RetrievalMethod` in function `core.rag.index_processor.processor.paragraph_index_processor.ParagraphIndexProcessor.retrieve` [bad-argument-type]
--> tests/unit_tests/core/rag/indexing/processor/test_paragraph_index_processor.py:246:39
ERROR Argument `Literal['semantic_search']` is not assignable to parameter `retrieval_method` with type `RetrievalMethod` in function `core.rag.index_processor.processor.parent_child_index_processor.ParentChildIndexProcessor.retrieve` [bad-argument-type]
@@ -5334,6 +5294,16 @@
ERROR Object of class `BlobChunkMessage` has no attribute `variable_value`
ERROR Object of class `BlobChunkMessage` has no attribute `stream`
ERROR Object of class `BlobChunkMessage` has no attribute `file_marker`
+ERROR Argument `object` is not assignable to parameter `obj` with type `Sized` in function `len` [bad-argument-type]
+ --> tests/unit_tests/core/variables/test_segment.py:503:20
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:504:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:505:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:512:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:513:16
ERROR Cannot set field `value` [read-only]
--> tests/unit_tests/core/variables/test_variables.py:20:9
ERROR Cannot set field `value` [read-only]
@@ -5363,47 +5333,39 @@
ERROR Could not find name `NodeType` [unknown-name]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_config.py:158:46
ERROR Cannot extend final class `DifyNodeFactory` [invalid-inheritance]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:37:23
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:38:23
ERROR Cannot set item in `dict[str, type[MockAgentNode] | type[MockCodeNode] | type[MockDocumentExtractorNode] | type[MockHttpRequestNode] | type[MockIterationNode] | type[MockKnowledgeRetrievalNode] | type[MockLLMNode] | type[MockLoopNode] | type[MockParameterExtractorNode] | type[MockQuestionClassifierNode] | type[MockTemplateTransformNode] | type[MockToolNode]]` [unsupported-operation]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:161:44
-ERROR Unexpected keyword argument `id` in function `object.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:99:13
-ERROR Unexpected keyword argument `config` in function `object.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:162:44
+ERROR Unexpected keyword argument `node_id` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:100:13
-ERROR Unexpected keyword argument `graph_init_params` in function `object.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `config` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:101:13
-ERROR Unexpected keyword argument `graph_runtime_state` in function `object.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `graph_init_params` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:102:13
+ERROR Unexpected keyword argument `graph_runtime_state` in function `object.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:103:13
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:113:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:114:56
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:128:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:129:56
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:139:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:140:56
ERROR Class member `MockKnowledgeRetrievalNode.version` overrides parent class `KnowledgeRetrievalNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:350:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:351:9
ERROR Class member `MockKnowledgeRetrievalNode._run` overrides parent class `KnowledgeRetrievalNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:354:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:355:9
ERROR Class member `MockHttpRequestNode._run` overrides parent class `HttpRequestNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:411:9
-ERROR Class member `MockQuestionClassifierNode.version` overrides parent class `QuestionClassifierNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:460:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:412:9
ERROR Class member `MockQuestionClassifierNode._run` overrides parent class `QuestionClassifierNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:464:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:465:9
ERROR Class member `MockParameterExtractorNode._run` overrides parent class `ParameterExtractorNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:512:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:513:9
ERROR Class member `MockDocumentExtractorNode._run` overrides parent class `DocumentExtractorNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:562:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:563:9
ERROR Argument `str | None` is not assignable to parameter `root_node_id` with type `str` in function `graphon.graph.graph.Graph.init` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:661:85
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:143:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:158:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:168:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:186:16
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:662:85
+ERROR Class member `MockLoopNode._create_graph_engine` overrides parent class `LoopNode` in an inconsistent manner [bad-override]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:690:9
ERROR Argument `Sequence[type[GraphEngineEvent]]` is not assignable to parameter `expected_sequence` with type `list[type[GraphEngineEvent]]` in function `TableTestRunner._validate_event_sequence` [bad-argument-type]
--> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:402:21
ERROR `graph` is uninitialized [unbound-name]
@@ -5412,20 +5374,52 @@
--> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:456:37
ERROR Argument `Iterator[Unknown]` is not assignable to parameter `messages` with type `Generator[ToolInvokeMessage]` in function `core.workflow.nodes.agent.message_transformer.AgentMessageTransformer.transform` [bad-argument-type]
--> tests/unit_tests/core/workflow/nodes/agent/test_message_transformer.py:15:26
-ERROR Argument `dict[str, dict[str, str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/answer/test_answer.py:82:16
ERROR Class member `_Version1._get_retry_config` overrides parent class `Node` in an inconsistent manner [bad-override]
--> tests/unit_tests/core/workflow/nodes/base/test_get_node_type_classes_mapping.py:53:13
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:150:44
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:157:44
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:164:45
ERROR `BaseNodeData` is not assignable to attribute `_node_data` with type `CodeNodeData` [bad-assignment]
--> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:440:27
ERROR `BaseNodeData` is not assignable to attribute `_node_data` with type `CodeNodeData` [bad-assignment]
--> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:456:27
-ERROR `dict[str, str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:83:21
ERROR Argument `_GraphParams` is not assignable to parameter `graph_init_params` with type `GraphInitParams` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:93:27
+ --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:91:27
ERROR Argument `_GraphState` is not assignable to parameter `graph_runtime_state` with type `GraphRuntimeState` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:94:29
+ --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:92:29
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:64:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:120:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:178:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:224:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:271:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:324:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:361:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:413:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:440:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:467:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:494:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:520:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:570:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:617:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:658:21
ERROR Cannot index into `object` [bad-index]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:32:15
ERROR Cannot index into `object` [bad-index]
@@ -5438,190 +5432,98 @@
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:65:12
ERROR Cannot index into `object` [bad-index]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:66:12
-ERROR Argument `dict[str, Any]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:118:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:122:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:123:35
+ERROR Argument `Response` is not assignable to parameter `response` with type `HttpResponse` in function `graphon.nodes.http_request.entities.Response.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:158:17
ERROR Object of class `NoneType` has no attribute `type` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:184:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:204:16
ERROR Object of class `NoneType` has no attribute `value` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:185:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:205:16
ERROR Object of class `NoneType` has no attribute `type` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:193:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:213:16
ERROR Object of class `NoneType` has no attribute `selector` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:194:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:214:16
ERROR Object of class `HumanInputNodeData` has no attribute `delivery_methods` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:278:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:298:20
ERROR Object of class `HumanInputNodeData` has no attribute `delivery_methods` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:301:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:321:20
ERROR Object of class `ExternalRecipient` has no attribute `reference_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:394:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:414:16
ERROR Object of class `BoundRecipient` has no attribute `email` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:395:16
-ERROR Missing argument `reference_id` in function `core.workflow.human_input_compat.BoundRecipient.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:399:28
-ERROR Unexpected keyword argument `user_id` in function `core.workflow.human_input_compat.BoundRecipient.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:399:61
-ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_compat.EmailRecipients.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:401:38
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:470:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:415:16
+ERROR Missing argument `reference_id` in function `core.workflow.human_input_adapter.BoundRecipient.__init__` [missing-argument]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:419:28
+ERROR Unexpected keyword argument `user_id` in function `core.workflow.human_input_adapter.BoundRecipient.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:419:61
+ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_adapter.EmailRecipients.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:421:38
ERROR Object of class `SchedulingPause` has no attribute `resolved_default_values` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:481:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:535:20
-ERROR Argument `dict[str, dict[str, list[dict[str, bool | dict[Unknown, Unknown] | str]] | list[dict[str, str]] | list[Unknown] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:600:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:676:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:775:20
-ERROR Argument `dict[str, dict[str, list[dict[str, str]] | list[dict[str, dict[str, str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_human_input_form_filled_event.py:85:16
-ERROR Argument `dict[str, dict[str, list[dict[str, str]] | list[dict[str, dict[str, str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_human_input_form_filled_event.py:150:16
-ERROR `dict[str, list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/iteration/test_iteration_child_engine_errors.py:50:21
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_index.knowledge_index_node.KnowledgeIndexNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:120:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:501:16
+ERROR Argument `dict[str, list[str] | str]` is not assignable to parameter `node_data` with type `KnowledgeIndexNodeData | dict[str, object]` in function `_build_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:139:23
ERROR Argument `dict[str, bool]` is not assignable to parameter `summary_index_setting` with type `SummaryIndexSettingDict | None` in function `core.workflow.nodes.knowledge_index.knowledge_index_node.KnowledgeIndexNode._invoke_knowledge_index` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:641:35
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:110:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:198:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:474:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:566:20
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:614:20
-ERROR `None` is not subscriptable [unsupported-operation]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:633:16
-ERROR `None` is not subscriptable [unsupported-operation]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:634:27
-ERROR `None` is not subscriptable [unsupported-operation]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:635:16
-ERROR `None` is not subscriptable [unsupported-operation]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:636:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:675:20
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:69:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:114:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:145:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:174:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:203:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:231:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:259:43
-ERROR `dict[str, dict[str, bool | int] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:287:43
-ERROR `dict[str, dict[str, bool | int] | dict[str, bool | str] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:322:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:346:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:371:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:401:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:430:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:459:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:488:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:516:43
+ --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:660:35
+ERROR `None` is not subscriptable [unsupported-operation]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:643:16
+ERROR `None` is not subscriptable [unsupported-operation]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:644:27
+ERROR `None` is not subscriptable [unsupported-operation]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:645:16
+ERROR `None` is not subscriptable [unsupported-operation]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:646:16
ERROR Argument `None` is not assignable to parameter `context` with type `str` in function `graphon.nodes.llm.llm_utils.fetch_prompt_messages` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:123:21
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:125:21
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:604:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:606:65
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:607:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:609:65
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:610:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:612:65
ERROR Argument `list[UserPromptMessage]` is not assignable to parameter `prompt_messages` with type `list[PromptMessage]` in function `graphon.nodes.llm.llm_utils._append_file_prompts` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:726:29
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:728:29
ERROR Argument `list[SystemPromptMessage]` is not assignable to parameter `prompt_messages` with type `list[PromptMessage]` in function `graphon.nodes.llm.llm_utils._append_file_prompts` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:742:29
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.llm.node.LLMNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:215:16
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:744:29
ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1224:9
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1216:9
ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1254:9
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1246:9
ERROR Argument `Iterator[LLMResultChunk | LLMStructuredOutput] | Iterator[Any]` is not assignable to parameter `invoke_result` with type `Generator[LLMResultChunk | LLMStructuredOutput] | LLMResult` in function `graphon.nodes.llm.node.LLMNode.handle_invoke_result` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1513:31
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1504:31
ERROR Argument `Generator[None, Unknown]` is not assignable to parameter `invoke_result` with type `Generator[LLMResultChunk | LLMStructuredOutput] | LLMResult` in function `graphon.nodes.llm.node.LLMNode.handle_invoke_result` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1551:31
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1541:31
ERROR Missing argument `run_context` in function `core.app.llm.model_access.DifyCredentialsProvider.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1744:32
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1733:32
ERROR Missing argument `run_context` in function `core.app.llm.model_access.DifyModelFactory.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1747:25
-ERROR `dict[str, list[Unknown] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:113:48
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1736:25
ERROR `in` is not supported between `Literal['variables']` and `object` [not-iterable]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:127:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:145:16
ERROR `in` is not supported between `Literal['template']` and `object` [not-iterable]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:128:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:146:16
ERROR Cannot index into `object` [bad-index]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:129:16
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:203:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:307:48
-ERROR `dict[str, list[Unknown] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:414:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:453:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:482:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:512:48
-ERROR `dict[str, list[@_] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/test_template_transform_node.py:43:21
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.document_extractor.node.DocumentExtractorNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_document_extractor_node.py:51:16
-ERROR Argument `dict[str, dict[str, list[dict[str, li\n\n... (truncated) ... |
laipz8200
reviewed
Apr 18, 2026
Contributor
Pyrefly Diffbase → PR--- /tmp/pyrefly_base.txt 2026-04-18 11:01:43.529440489 +0000
+++ /tmp/pyrefly_pr.txt 2026-04-18 11:01:32.164496809 +0000
@@ -2,8 +2,6 @@
--> app_factory.py:132:5
ERROR Object of class `App` has no attribute `access_mode` [missing-attribute]
--> controllers/console/app/app.py:552:13
-ERROR Object of class `object` has no attribute `value` [missing-attribute]
- --> controllers/console/app/conversation_variables.py:48:24
ERROR Argument `str | None` is not assignable to parameter `language` with type `str` in function `services.account_service.AccountService.send_email_register_email` [bad-argument-type]
--> controllers/console/auth/email_register.py:75:108
ERROR Object of class `MissingRouter` has no attribute `get` [missing-attribute]
@@ -20,8 +18,6 @@
--> controllers/console/socketio/workflow.py:45:14
ERROR Object of class `MissingRouter` has no attribute `get` [missing-attribute]
--> controllers/console/version.py:30:2
-ERROR Object of class `object` has no attribute `value` [missing-attribute]
- --> controllers/service_api/app/conversation.py:87:24
ERROR Class member `EasyUIBasedGenerateTaskPipeline._application_generate_entity` overrides parent class `BasedGenerateTaskPipeline` in an inconsistent manner [bad-override]
--> core/app/task_pipeline/easy_ui_based_generate_task_pipeline.py:75:5
ERROR `+=` is not supported between `list[PromptMessageContentUnionTypes]` and `str` [unsupported-operation]
@@ -46,26 +42,6 @@
--> core/llm_generator/llm_generator.py:394:60
ERROR No matching overload found for function `core.model_manager.ModelInstance.invoke_llm` called with arguments: (prompt_messages=list[SystemPromptMessage | UserPromptMessage], model_parameters=dict[str, float], stream=Literal[False]) [no-matching-overload]
--> core/llm_generator/llm_generator.py:582:60
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:171:17
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:196:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:216:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:238:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:255:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:280:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:308:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:327:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:343:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:360:13
ERROR Class member `OpsTraceProviderConfigMap.__getitem__` overrides parent class `UserDict` in an inconsistent manner [bad-param-name-override]
--> core/ops/ops_trace_manager.py:206:9
ERROR Object of class `NoneType` has no attribute `data_source_type` [missing-attribute]
@@ -89,7 +65,7 @@
ERROR Argument `Unknown | None` is not assignable to parameter `result_object` with type `dict[str, Any]` in function `WaterCrawlProvider._structure_data` [bad-argument-type]
--> core/rag/extractor/watercrawl/provider.py:108:37
ERROR Object of class `BaseOxmlElement` has no attribute `body` [missing-attribute]
- --> core/rag/extractor/word_extractor.py:426:24
+ --> core/rag/extractor/word_extractor.py:448:24
ERROR Object of class `Document` has no attribute `score` [missing-attribute]
--> core/rag/index_processor/processor/paragraph_index_processor.py:203:33
ERROR Object of class `Document` has no attribute `score` [missing-attribute]
@@ -116,8 +92,6 @@
--> extensions/storage/huawei_obs_storage.py:27:23
ERROR Cannot index into `Literal['']` [bad-index]
--> extensions/storage/huawei_obs_storage.py:31:20
-ERROR Object of class `object` has no attribute `value` [missing-attribute]
- --> fields/conversation_variable_fields.py:60:24
ERROR Argument `Module[Crypto.Hash.SHA1] | Unknown` is not assignable to parameter with type `Hash | HashModule` [bad-argument-type]
--> libs/gmpy2_pkcs10aep_cipher.py:73:49
ERROR Object of class `NoneType` has no attribute `trace_id` [missing-attribute]
@@ -810,6 +784,8 @@
--> services/hit_testing_service.py:92:28
ERROR Argument `RetrievalMethod | bool | dict[str, str] | int | Any | None` is not assignable to parameter `weights` with type `WeightsDict | None` in function `core.rag.datasource.retrieval_service.RetrievalService.retrieve` [bad-argument-type]
--> services/hit_testing_service.py:93:21
+ERROR Argument `bool | str | Any` is not assignable to parameter `token` with type `str` in function `core.helper.encrypter.encrypt_token` [bad-argument-type]
+ --> services/model_load_balancing_service.py:623:71
ERROR `handled_tenant_count` was assigned in the current scope before the nonlocal declaration [unknown-name]
--> services/plugin/plugin_migration.py:92:34
ERROR `dict[str, Any]` is not assignable to attribute `credentials` with type `Never` [bad-assignment]
@@ -830,12 +806,10 @@
--> tests/integration_tests/controllers/console/app/test_feedback_export_api.py:32:22
ERROR Argument `Literal['normal']` is not assignable to parameter `value` with type `AppStatus | SQLCoreOperations[AppStatus]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
--> tests/integration_tests/controllers/console/app/test_model_config_permissions.py:28:22
-ERROR `dict[str, str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:75:21
ERROR Argument `_GP` is not assignable to parameter `graph_init_params` with type `GraphInitParams` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:85:27
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:83:27
ERROR Argument `_GS` is not assignable to parameter `graph_runtime_state` with type `GraphRuntimeState` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:86:29
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:84:29
ERROR Could not import `Overflow` from `libs.broadcast_channel.channel` [missing-module-attribute]
--> tests/integration_tests/libs/broadcast_channel/redis/utils/test_data.py:11:44
ERROR `unpatch` may be uninitialized [unbound-name]
@@ -856,26 +830,18 @@
--> tests/integration_tests/services/test_workflow_draft_variable_service.py:651:21
ERROR Object of class `TestWorkflowDraftVariableServiceResetVariable` has no attribute `_test_user_id` [missing-attribute]
--> tests/integration_tests/services/test_workflow_draft_variable_service.py:817:21
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.code.code_node.CodeNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_code.py:68:16
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_http.py:79:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:83:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/integration_tests/workflow/nodes/test_http.py:84:35
-ERROR Argument `dict[str, dict[str, dict[str, dict[str, str] | str] | str | Unknown | None] | str] | dict[str, dict[str, str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_http.py:727:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:242:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:731:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/integration_tests/workflow/nodes/test_http.py:732:35
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.llm.node.LLMNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_llm.py:79:16
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.parameter_extractor.parameter_extractor_node.ParameterExtractorNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_parameter_extractor.py:73:16
-ERROR Argument `dict[str, dict[str, list[dict[str, list[str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.template_transform.template_transform_node.TemplateTransformNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_template_transform.py:90:16
ERROR Argument `_SimpleJinja2Renderer` is not assignable to parameter `jinja2_template_renderer` with type `Jinja2TemplateRenderer` in function `graphon.nodes.template_transform.template_transform_node.TemplateTransformNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_template_transform.py:93:34
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.tool.tool_node.ToolNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_tool.py:64:16
+ --> tests/integration_tests/workflow/nodes/test_template_transform.py:94:34
ERROR `dict[str, str | None]` is not assignable to attribute `env` with type `dict[str, str]` [bad-assignment]
--> tests/test_containers_integration_tests/conftest.py:204:39
ERROR Argument value `Literal[0]` violates Pydantic `ge` constraint `Literal[1]` for field `page` [bad-argument-type]
@@ -994,12 +960,6 @@
--> tests/test_containers_integration_tests/core/rag/retrieval/test_dataset_retrieval_integration.py:574:23
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
--> tests/test_containers_integration_tests/core/rag/retrieval/test_dataset_retrieval_integration.py:584:23
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:105:40
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:120:40
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:134:38
ERROR Argument `Connection | Engine` is not assignable to parameter `session_factory` with type `Engine | sessionmaker[Unknown]` in function `core.repositories.sqlalchemy_workflow_execution_repository.SQLAlchemyWorkflowExecutionRepository.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:264:29
ERROR Argument `Connection | Engine` is not assignable to parameter `session_factory` with type `Engine | sessionmaker[Unknown]` in function `core.repositories.sqlalchemy_workflow_node_execution_repository.SQLAlchemyWorkflowNodeExecutionRepository.__init__` [bad-argument-type]
@@ -1356,7 +1316,7 @@
--> tests/test_containers_integration_tests/services/test_file_service.py:78:20
ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_human_input_delivery_test.py:32:18
-ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_compat.EmailRecipients.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_adapter.EmailRecipients.__init__` [unexpected-keyword]
--> tests/test_containers_integration_tests/services/test_human_input_delivery_test_service.py:239:44
ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_message_export_service.py:53:20
@@ -2293,11 +2253,11 @@
ERROR Argument `list[dict[str, Any]] | None` is not assignable to parameter `obj` with type `Sized` in function `len` [bad-argument-type]
--> tests/unit_tests/controllers/service_api/app/test_completion.py:156:20
ERROR Argument value `Literal[0]` violates Pydantic `ge` constraint `Literal[1]` for field `limit` [bad-argument-type]
- --> tests/unit_tests/controllers/service_api/app/test_conversation.py:84:35
+ --> tests/unit_tests/controllers/service_api/app/test_conversation.py:86:35
ERROR Argument value `Literal[101]` violates Pydantic `le` constraint `Literal[100]` for field `limit` [bad-argument-type]
- --> tests/unit_tests/controllers/service_api/app/test_conversation.py:89:35
+ --> tests/unit_tests/controllers/service_api/app/test_conversation.py:91:35
ERROR Missing argument `session` in function `services.conversation_service.ConversationService.pagination_by_last_id` [missing-argument]
- --> tests/unit_tests/controllers/service_api/app/test_conversation.py:427:59
+ --> tests/unit_tests/controllers/service_api/app/test_conversation.py:455:59
ERROR Argument value `Literal[0]` violates Pydantic `ge` constraint `Literal[1]` for field `limit` [bad-argument-type]
--> tests/unit_tests/controllers/service_api/app/test_message.py:94:63
ERROR Argument value `Literal[101]` violates Pydantic `le` constraint `Literal[100]` for field `limit` [bad-argument-type]
@@ -3263,43 +3223,43 @@
ERROR Object of class `ModuleType` has no attribute `TraceQueueManager` [missing-attribute]
--> tests/unit_tests/core/app/apps/test_pause_resume.py:42:5
ERROR Class member `_StubToolNode._run` overrides parent class `Node` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:79:9
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:92:9
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:220:19
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:226:19
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow` with type `Workflow` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:221:18
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:227:18
ERROR Argument `SimpleNamespace` is not assignable to parameter `user` with type `Account | EndUser` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:222:14
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:228:14
ERROR Argument `SimpleNamespace` is not assignable to parameter `application_generate_entity` with type `WorkflowAppGenerateEntity` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:223:37
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:37
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_execution_repository` with type `WorkflowExecutionRepository` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:225:39
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:231:39
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_node_execution_repository` with type `WorkflowNodeExecutionRepository` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:226:44
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:232:44
ERROR `+` is not supported between `list[str]` and `Generator[Mapping[str, Any] | str]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:235:12
ERROR `+` is not supported between `list[str]` and `Mapping[str, Any]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:235:12
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:260:19
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:266:19
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow` with type `Workflow` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:261:18
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:267:18
ERROR Argument `SimpleNamespace` is not assignable to parameter `user` with type `Account | EndUser` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:262:14
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:268:14
ERROR Argument `SimpleNamespace` is not assignable to parameter `conversation` with type `Conversation` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:263:22
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:269:22
ERROR Argument `SimpleNamespace` is not assignable to parameter `message` with type `Message` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:264:17
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:270:17
ERROR Argument `SimpleNamespace` is not assignable to parameter `application_generate_entity` with type `AdvancedChatAppGenerateEntity` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:265:37
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:37
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_execution_repository` with type `WorkflowExecutionRepository` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:266:39
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:272:39
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_node_execution_repository` with type `WorkflowNodeExecutionRepository` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:267:44
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:273:44
ERROR `+` is not supported between `list[str]` and `Generator[Mapping[str, Any] | str]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:277:12
ERROR `+` is not supported between `list[str]` and `Mapping[str, Any]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:277:12
ERROR Cannot index into `str` [bad-index]
--> tests/unit_tests/core/app/apps/test_streaming_utils.py:79:12
ERROR Argument `FakeTopic` is not assignable to parameter `topic` with type `Topic` in function `core.app.apps.streaming_utils.stream_topic_events` [bad-argument-type]
@@ -3972,8 +3932,8 @@
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:174:16
ERROR Object of class `object` has no attribute `total_steps` [missing-attribute]
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:175:16
-ERROR `SimpleNamespace` is not assignable to attribute `_graph_execution` with type `GraphExecutionProtocol | None` [bad-assignment]
- --> tests/unit_tests/core/app/workflow/test_persistence_layer.py:182:42
+ERROR Object of class `GraphRuntimeState` has no attribute `_graph_execution` [missing-attribute]
+ --> tests/unit_tests/core/app/workflow/test_persistence_layer.py:182:9
ERROR Object of class `object` has no attribute `status` [missing-attribute]
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:189:16
ERROR Object of class `object` has no attribute `exceptions_count` [missing-attribute]
@@ -4630,21 +4590,21 @@
ERROR Argument `SimpleNamespace` is not assignable to parameter `document_model` with type `Document | None` in function `core.rag.extractor.notion_extractor.NotionExtractor.update_last_edited_time` [bad-argument-type]
--> tests/unit_tests/core/rag/extractor/test_notion_extractor.py:435:43
ERROR Type `object` is not iterable [not-iterable]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:90:9
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:92:9
ERROR `Any | None` is not assignable to attribute `FILES_URL` with type `str` [bad-assignment]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:209:33
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:211:33
ERROR `Any | None` is not assignable to attribute `INTERNAL_FILES_URL` with type `str` [bad-assignment]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:210:42
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:212:42
ERROR `Literal['Dify']` is not assignable to attribute `text` with type `Ellipsis` [bad-assignment]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:231:14
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:233:14
ERROR `Literal[' HYPERLINK "http://example.com" ']` is not assignable to attribute `text` with type `Ellipsis` [bad-assignment]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:284:22
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:286:22
ERROR `Literal['Example']` is not assignable to attribute `text` with type `Ellipsis` [bad-assignment]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:296:15
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:298:15
ERROR `Literal['Dify']` is not assignable to attribute `text` with type `Ellipsis` [bad-assignment]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:655:14
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:688:14
ERROR `Literal['john@test.com']` is not assignable to attribute `text` with type `Ellipsis` [bad-assignment]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:695:14
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:728:14
ERROR Argument `Literal['semantic_search']` is not assignable to parameter `retrieval_method` with type `RetrievalMethod` in function `core.rag.index_processor.processor.paragraph_index_processor.ParagraphIndexProcessor.retrieve` [bad-argument-type]
--> tests/unit_tests/core/rag/indexing/processor/test_paragraph_index_processor.py:246:39
ERROR Argument `Literal['semantic_search']` is not assignable to parameter `retrieval_method` with type `RetrievalMethod` in function `core.rag.index_processor.processor.parent_child_index_processor.ParentChildIndexProcessor.retrieve` [bad-argument-type]
@@ -5334,6 +5294,16 @@
ERROR Object of class `BlobChunkMessage` has no attribute `variable_value`
ERROR Object of class `BlobChunkMessage` has no attribute `stream`
ERROR Object of class `BlobChunkMessage` has no attribute `file_marker`
+ERROR Argument `object` is not assignable to parameter `obj` with type `Sized` in function `len` [bad-argument-type]
+ --> tests/unit_tests/core/variables/test_segment.py:503:20
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:504:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:505:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:512:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:513:16
ERROR Cannot set field `value` [read-only]
--> tests/unit_tests/core/variables/test_variables.py:20:9
ERROR Cannot set field `value` [read-only]
@@ -5363,47 +5333,39 @@
ERROR Could not find name `NodeType` [unknown-name]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_config.py:158:46
ERROR Cannot extend final class `DifyNodeFactory` [invalid-inheritance]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:37:23
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:38:23
ERROR Cannot set item in `dict[str, type[MockAgentNode] | type[MockCodeNode] | type[MockDocumentExtractorNode] | type[MockHttpRequestNode] | type[MockIterationNode] | type[MockKnowledgeRetrievalNode] | type[MockLLMNode] | type[MockLoopNode] | type[MockParameterExtractorNode] | type[MockQuestionClassifierNode] | type[MockTemplateTransformNode] | type[MockToolNode]]` [unsupported-operation]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:161:44
-ERROR Unexpected keyword argument `id` in function `object.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:99:13
-ERROR Unexpected keyword argument `config` in function `object.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:162:44
+ERROR Unexpected keyword argument `node_id` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:100:13
-ERROR Unexpected keyword argument `graph_init_params` in function `object.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `config` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:101:13
-ERROR Unexpected keyword argument `graph_runtime_state` in function `object.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `graph_init_params` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:102:13
+ERROR Unexpected keyword argument `graph_runtime_state` in function `object.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:103:13
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:113:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:114:56
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:128:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:129:56
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:139:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:140:56
ERROR Class member `MockKnowledgeRetrievalNode.version` overrides parent class `KnowledgeRetrievalNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:350:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:351:9
ERROR Class member `MockKnowledgeRetrievalNode._run` overrides parent class `KnowledgeRetrievalNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:354:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:355:9
ERROR Class member `MockHttpRequestNode._run` overrides parent class `HttpRequestNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:411:9
-ERROR Class member `MockQuestionClassifierNode.version` overrides parent class `QuestionClassifierNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:460:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:412:9
ERROR Class member `MockQuestionClassifierNode._run` overrides parent class `QuestionClassifierNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:464:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:465:9
ERROR Class member `MockParameterExtractorNode._run` overrides parent class `ParameterExtractorNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:512:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:513:9
ERROR Class member `MockDocumentExtractorNode._run` overrides parent class `DocumentExtractorNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:562:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:563:9
ERROR Argument `str | None` is not assignable to parameter `root_node_id` with type `str` in function `graphon.graph.graph.Graph.init` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:661:85
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:143:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:158:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:168:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:186:16
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:662:85
+ERROR Class member `MockLoopNode._create_graph_engine` overrides parent class `LoopNode` in an inconsistent manner [bad-override]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:690:9
ERROR Argument `Sequence[type[GraphEngineEvent]]` is not assignable to parameter `expected_sequence` with type `list[type[GraphEngineEvent]]` in function `TableTestRunner._validate_event_sequence` [bad-argument-type]
--> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:402:21
ERROR `graph` is uninitialized [unbound-name]
@@ -5412,20 +5374,52 @@
--> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:456:37
ERROR Argument `Iterator[Unknown]` is not assignable to parameter `messages` with type `Generator[ToolInvokeMessage]` in function `core.workflow.nodes.agent.message_transformer.AgentMessageTransformer.transform` [bad-argument-type]
--> tests/unit_tests/core/workflow/nodes/agent/test_message_transformer.py:15:26
-ERROR Argument `dict[str, dict[str, str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/answer/test_answer.py:82:16
ERROR Class member `_Version1._get_retry_config` overrides parent class `Node` in an inconsistent manner [bad-override]
--> tests/unit_tests/core/workflow/nodes/base/test_get_node_type_classes_mapping.py:53:13
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:150:44
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:157:44
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:164:45
ERROR `BaseNodeData` is not assignable to attribute `_node_data` with type `CodeNodeData` [bad-assignment]
--> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:440:27
ERROR `BaseNodeData` is not assignable to attribute `_node_data` with type `CodeNodeData` [bad-assignment]
--> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:456:27
-ERROR `dict[str, str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:83:21
ERROR Argument `_GraphParams` is not assignable to parameter `graph_init_params` with type `GraphInitParams` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:93:27
+ --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:91:27
ERROR Argument `_GraphState` is not assignable to parameter `graph_runtime_state` with type `GraphRuntimeState` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:94:29
+ --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:92:29
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:64:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:120:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:178:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:224:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:271:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:324:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:361:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:413:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:440:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:467:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:494:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:520:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:570:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:617:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:658:21
ERROR Cannot index into `object` [bad-index]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:32:15
ERROR Cannot index into `object` [bad-index]
@@ -5438,190 +5432,98 @@
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:65:12
ERROR Cannot index into `object` [bad-index]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:66:12
-ERROR Argument `dict[str, Any]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:118:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:122:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:123:35
+ERROR Argument `Response` is not assignable to parameter `response` with type `HttpResponse` in function `graphon.nodes.http_request.entities.Response.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:158:17
ERROR Object of class `NoneType` has no attribute `type` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:184:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:204:16
ERROR Object of class `NoneType` has no attribute `value` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:185:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:205:16
ERROR Object of class `NoneType` has no attribute `type` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:193:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:213:16
ERROR Object of class `NoneType` has no attribute `selector` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:194:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:214:16
ERROR Object of class `HumanInputNodeData` has no attribute `delivery_methods` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:278:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:298:20
ERROR Object of class `HumanInputNodeData` has no attribute `delivery_methods` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:301:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:321:20
ERROR Object of class `ExternalRecipient` has no attribute `reference_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:394:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:414:16
ERROR Object of class `BoundRecipient` has no attribute `email` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:395:16
-ERROR Missing argument `reference_id` in function `core.workflow.human_input_compat.BoundRecipient.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:399:28
-ERROR Unexpected keyword argument `user_id` in function `core.workflow.human_input_compat.BoundRecipient.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:399:61
-ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_compat.EmailRecipients.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:401:38
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:470:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:415:16
+ERROR Missing argument `reference_id` in function `core.workflow.human_input_adapter.BoundRecipient.__init__` [missing-argument]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:419:28
+ERROR Unexpected keyword argument `user_id` in function `core.workflow.human_input_adapter.BoundRecipient.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:419:61
+ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_adapter.EmailRecipients.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:421:38
ERROR Object of class `SchedulingPause` has no attribute `resolved_default_values` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:481:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:535:20
-ERROR Argument `dict[str, dict[str, list[dict[str, bool | dict[Unknown, Unknown] | str]] | list[dict[str, str]] | list[Unknown] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:600:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:676:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:775:20
-ERROR Argument `dict[str, dict[str, list[dict[str, str]] | list[dict[str, dict[str, str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_human_input_form_filled_event.py:85:16
-ERROR Argument `dict[str, dict[str, list[dict[str, str]] | list[dict[str, dict[str, str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_human_input_form_filled_event.py:150:16
-ERROR `dict[str, list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/iteration/test_iteration_child_engine_errors.py:50:21
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_index.knowledge_index_node.KnowledgeIndexNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:120:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:501:16
+ERROR Argument `dict[str, list[str] | str]` is not assignable to parameter `node_data` with type `KnowledgeIndexNodeData | dict[str, object]` in function `_build_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:139:23
ERROR Argument `dict[str, bool]` is not assignable to parameter `summary_index_setting` with type `SummaryIndexSettingDict | None` in function `core.workflow.nodes.knowledge_index.knowledge_index_node.KnowledgeIndexNode._invoke_knowledge_index` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:641:35
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:110:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:198:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:474:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:566:20
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:614:20
-ERROR `None` is not subscriptable [unsupported-operation]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:633:16
-ERROR `None` is not subscriptable [unsupported-operation]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:634:27
-ERROR `None` is not subscriptable [unsupported-operation]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:635:16
-ERROR `None` is not subscriptable [unsupported-operation]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:636:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:675:20
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:69:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:114:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:145:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:174:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:203:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:231:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:259:43
-ERROR `dict[str, dict[str, bool | int] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:287:43
-ERROR `dict[str, dict[str, bool | int] | dict[str, bool | str] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:322:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:346:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:371:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:401:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:430:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:459:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:488:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:516:43
+ --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:660:35
+ERROR `None` is not subscriptable [unsupported-operation]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:643:16
+ERROR `None` is not subscriptable [unsupported-operation]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:644:27
+ERROR `None` is not subscriptable [unsupported-operation]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:645:16
+ERROR `None` is not subscriptable [unsupported-operation]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:646:16
ERROR Argument `None` is not assignable to parameter `context` with type `str` in function `graphon.nodes.llm.llm_utils.fetch_prompt_messages` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:123:21
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:125:21
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:604:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:606:65
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:607:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:609:65
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:610:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:612:65
ERROR Argument `list[UserPromptMessage]` is not assignable to parameter `prompt_messages` with type `list[PromptMessage]` in function `graphon.nodes.llm.llm_utils._append_file_prompts` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:726:29
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:728:29
ERROR Argument `list[SystemPromptMessage]` is not assignable to parameter `prompt_messages` with type `list[PromptMessage]` in function `graphon.nodes.llm.llm_utils._append_file_prompts` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:742:29
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.llm.node.LLMNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:215:16
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:744:29
ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1224:9
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1216:9
ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1254:9
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1246:9
ERROR Argument `Iterator[LLMResultChunk | LLMStructuredOutput] | Iterator[Any]` is not assignable to parameter `invoke_result` with type `Generator[LLMResultChunk | LLMStructuredOutput] | LLMResult` in function `graphon.nodes.llm.node.LLMNode.handle_invoke_result` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1513:31
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1504:31
ERROR Argument `Generator[None, Unknown]` is not assignable to parameter `invoke_result` with type `Generator[LLMResultChunk | LLMStructuredOutput] | LLMResult` in function `graphon.nodes.llm.node.LLMNode.handle_invoke_result` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1551:31
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1541:31
ERROR Missing argument `run_context` in function `core.app.llm.model_access.DifyCredentialsProvider.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1744:32
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1733:32
ERROR Missing argument `run_context` in function `core.app.llm.model_access.DifyModelFactory.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1747:25
-ERROR `dict[str, list[Unknown] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:113:48
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1736:25
ERROR `in` is not supported between `Literal['variables']` and `object` [not-iterable]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:127:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:145:16
ERROR `in` is not supported between `Literal['template']` and `object` [not-iterable]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:128:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:146:16
ERROR Cannot index into `object` [bad-index]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:129:16
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:203:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:307:48
-ERROR `dict[str, list[Unknown] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:414:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:453:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:482:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:512:48
-ERROR `dict[str, list[@_] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/test_template_transform_node.py:43:21
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.document_extractor.node.DocumentExtractorNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_document_extractor_node.py:51:16
... (truncated) ... |
Contributor
Pyrefly Diffbase → PR--- /tmp/pyrefly_base.txt 2026-04-18 11:01:43.529440489 +0000
+++ /tmp/pyrefly_pr.txt 2026-04-18 11:01:32.164496809 +0000
@@ -2,8 +2,6 @@
--> app_factory.py:132:5
ERROR Object of class `App` has no attribute `access_mode` [missing-attribute]
--> controllers/console/app/app.py:552:13
-ERROR Object of class `object` has no attribute `value` [missing-attribute]
- --> controllers/console/app/conversation_variables.py:48:24
ERROR Argument `str | None` is not assignable to parameter `language` with type `str` in function `services.account_service.AccountService.send_email_register_email` [bad-argument-type]
--> controllers/console/auth/email_register.py:75:108
ERROR Object of class `MissingRouter` has no attribute `get` [missing-attribute]
@@ -20,8 +18,6 @@
--> controllers/console/socketio/workflow.py:45:14
ERROR Object of class `MissingRouter` has no attribute `get` [missing-attribute]
--> controllers/console/version.py:30:2
-ERROR Object of class `object` has no attribute `value` [missing-attribute]
- --> controllers/service_api/app/conversation.py:87:24
ERROR Class member `EasyUIBasedGenerateTaskPipeline._application_generate_entity` overrides parent class `BasedGenerateTaskPipeline` in an inconsistent manner [bad-override]
--> core/app/task_pipeline/easy_ui_based_generate_task_pipeline.py:75:5
ERROR `+=` is not supported between `list[PromptMessageContentUnionTypes]` and `str` [unsupported-operation]
@@ -46,26 +42,6 @@
--> core/llm_generator/llm_generator.py:394:60
ERROR No matching overload found for function `core.model_manager.ModelInstance.invoke_llm` called with arguments: (prompt_messages=list[SystemPromptMessage | UserPromptMessage], model_parameters=dict[str, float], stream=Literal[False]) [no-matching-overload]
--> core/llm_generator/llm_generator.py:582:60
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:171:17
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:196:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:216:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:238:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:255:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:280:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:308:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:327:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:343:13
-ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
- --> core/model_manager.py:360:13
ERROR Class member `OpsTraceProviderConfigMap.__getitem__` overrides parent class `UserDict` in an inconsistent manner [bad-param-name-override]
--> core/ops/ops_trace_manager.py:206:9
ERROR Object of class `NoneType` has no attribute `data_source_type` [missing-attribute]
@@ -89,7 +65,7 @@
ERROR Argument `Unknown | None` is not assignable to parameter `result_object` with type `dict[str, Any]` in function `WaterCrawlProvider._structure_data` [bad-argument-type]
--> core/rag/extractor/watercrawl/provider.py:108:37
ERROR Object of class `BaseOxmlElement` has no attribute `body` [missing-attribute]
- --> core/rag/extractor/word_extractor.py:426:24
+ --> core/rag/extractor/word_extractor.py:448:24
ERROR Object of class `Document` has no attribute `score` [missing-attribute]
--> core/rag/index_processor/processor/paragraph_index_processor.py:203:33
ERROR Object of class `Document` has no attribute `score` [missing-attribute]
@@ -116,8 +92,6 @@
--> extensions/storage/huawei_obs_storage.py:27:23
ERROR Cannot index into `Literal['']` [bad-index]
--> extensions/storage/huawei_obs_storage.py:31:20
-ERROR Object of class `object` has no attribute `value` [missing-attribute]
- --> fields/conversation_variable_fields.py:60:24
ERROR Argument `Module[Crypto.Hash.SHA1] | Unknown` is not assignable to parameter with type `Hash | HashModule` [bad-argument-type]
--> libs/gmpy2_pkcs10aep_cipher.py:73:49
ERROR Object of class `NoneType` has no attribute `trace_id` [missing-attribute]
@@ -810,6 +784,8 @@
--> services/hit_testing_service.py:92:28
ERROR Argument `RetrievalMethod | bool | dict[str, str] | int | Any | None` is not assignable to parameter `weights` with type `WeightsDict | None` in function `core.rag.datasource.retrieval_service.RetrievalService.retrieve` [bad-argument-type]
--> services/hit_testing_service.py:93:21
+ERROR Argument `bool | str | Any` is not assignable to parameter `token` with type `str` in function `core.helper.encrypter.encrypt_token` [bad-argument-type]
+ --> services/model_load_balancing_service.py:623:71
ERROR `handled_tenant_count` was assigned in the current scope before the nonlocal declaration [unknown-name]
--> services/plugin/plugin_migration.py:92:34
ERROR `dict[str, Any]` is not assignable to attribute `credentials` with type `Never` [bad-assignment]
@@ -830,12 +806,10 @@
--> tests/integration_tests/controllers/console/app/test_feedback_export_api.py:32:22
ERROR Argument `Literal['normal']` is not assignable to parameter `value` with type `AppStatus | SQLCoreOperations[AppStatus]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
--> tests/integration_tests/controllers/console/app/test_model_config_permissions.py:28:22
-ERROR `dict[str, str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:75:21
ERROR Argument `_GP` is not assignable to parameter `graph_init_params` with type `GraphInitParams` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:85:27
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:83:27
ERROR Argument `_GS` is not assignable to parameter `graph_runtime_state` with type `GraphRuntimeState` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:86:29
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:84:29
ERROR Could not import `Overflow` from `libs.broadcast_channel.channel` [missing-module-attribute]
--> tests/integration_tests/libs/broadcast_channel/redis/utils/test_data.py:11:44
ERROR `unpatch` may be uninitialized [unbound-name]
@@ -856,26 +830,18 @@
--> tests/integration_tests/services/test_workflow_draft_variable_service.py:651:21
ERROR Object of class `TestWorkflowDraftVariableServiceResetVariable` has no attribute `_test_user_id` [missing-attribute]
--> tests/integration_tests/services/test_workflow_draft_variable_service.py:817:21
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.code.code_node.CodeNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_code.py:68:16
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_http.py:79:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:83:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/integration_tests/workflow/nodes/test_http.py:84:35
-ERROR Argument `dict[str, dict[str, dict[str, dict[str, str] | str] | str | Unknown | None] | str] | dict[str, dict[str, str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_http.py:727:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:242:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/integration_tests/workflow/nodes/test_http.py:731:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/integration_tests/workflow/nodes/test_http.py:732:35
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.llm.node.LLMNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_llm.py:79:16
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.parameter_extractor.parameter_extractor_node.ParameterExtractorNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_parameter_extractor.py:73:16
-ERROR Argument `dict[str, dict[str, list[dict[str, list[str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.template_transform.template_transform_node.TemplateTransformNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_template_transform.py:90:16
ERROR Argument `_SimpleJinja2Renderer` is not assignable to parameter `jinja2_template_renderer` with type `Jinja2TemplateRenderer` in function `graphon.nodes.template_transform.template_transform_node.TemplateTransformNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_template_transform.py:93:34
-ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.tool.tool_node.ToolNode.__init__` [bad-argument-type]
- --> tests/integration_tests/workflow/nodes/test_tool.py:64:16
+ --> tests/integration_tests/workflow/nodes/test_template_transform.py:94:34
ERROR `dict[str, str | None]` is not assignable to attribute `env` with type `dict[str, str]` [bad-assignment]
--> tests/test_containers_integration_tests/conftest.py:204:39
ERROR Argument value `Literal[0]` violates Pydantic `ge` constraint `Literal[1]` for field `page` [bad-argument-type]
@@ -994,12 +960,6 @@
--> tests/test_containers_integration_tests/core/rag/retrieval/test_dataset_retrieval_integration.py:574:23
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
--> tests/test_containers_integration_tests/core/rag/retrieval/test_dataset_retrieval_integration.py:584:23
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:105:40
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:120:40
-ERROR `dict[str, Any]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:134:38
ERROR Argument `Connection | Engine` is not assignable to parameter `session_factory` with type `Engine | sessionmaker[Unknown]` in function `core.repositories.sqlalchemy_workflow_execution_repository.SQLAlchemyWorkflowExecutionRepository.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/core/workflow/test_human_input_resume_node_execution.py:264:29
ERROR Argument `Connection | Engine` is not assignable to parameter `session_factory` with type `Engine | sessionmaker[Unknown]` in function `core.repositories.sqlalchemy_workflow_node_execution_repository.SQLAlchemyWorkflowNodeExecutionRepository.__init__` [bad-argument-type]
@@ -1356,7 +1316,7 @@
--> tests/test_containers_integration_tests/services/test_file_service.py:78:20
ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_human_input_delivery_test.py:32:18
-ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_compat.EmailRecipients.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_adapter.EmailRecipients.__init__` [unexpected-keyword]
--> tests/test_containers_integration_tests/services/test_human_input_delivery_test_service.py:239:44
ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_message_export_service.py:53:20
@@ -2293,11 +2253,11 @@
ERROR Argument `list[dict[str, Any]] | None` is not assignable to parameter `obj` with type `Sized` in function `len` [bad-argument-type]
--> tests/unit_tests/controllers/service_api/app/test_completion.py:156:20
ERROR Argument value `Literal[0]` violates Pydantic `ge` constraint `Literal[1]` for field `limit` [bad-argument-type]
- --> tests/unit_tests/controllers/service_api/app/test_conversation.py:84:35
+ --> tests/unit_tests/controllers/service_api/app/test_conversation.py:86:35
ERROR Argument value `Literal[101]` violates Pydantic `le` constraint `Literal[100]` for field `limit` [bad-argument-type]
- --> tests/unit_tests/controllers/service_api/app/test_conversation.py:89:35
+ --> tests/unit_tests/controllers/service_api/app/test_conversation.py:91:35
ERROR Missing argument `session` in function `services.conversation_service.ConversationService.pagination_by_last_id` [missing-argument]
- --> tests/unit_tests/controllers/service_api/app/test_conversation.py:427:59
+ --> tests/unit_tests/controllers/service_api/app/test_conversation.py:455:59
ERROR Argument value `Literal[0]` violates Pydantic `ge` constraint `Literal[1]` for field `limit` [bad-argument-type]
--> tests/unit_tests/controllers/service_api/app/test_message.py:94:63
ERROR Argument value `Literal[101]` violates Pydantic `le` constraint `Literal[100]` for field `limit` [bad-argument-type]
@@ -3263,43 +3223,43 @@
ERROR Object of class `ModuleType` has no attribute `TraceQueueManager` [missing-attribute]
--> tests/unit_tests/core/app/apps/test_pause_resume.py:42:5
ERROR Class member `_StubToolNode._run` overrides parent class `Node` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:79:9
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:92:9
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:220:19
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:226:19
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow` with type `Workflow` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:221:18
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:227:18
ERROR Argument `SimpleNamespace` is not assignable to parameter `user` with type `Account | EndUser` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:222:14
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:228:14
ERROR Argument `SimpleNamespace` is not assignable to parameter `application_generate_entity` with type `WorkflowAppGenerateEntity` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:223:37
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:37
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_execution_repository` with type `WorkflowExecutionRepository` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:225:39
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:231:39
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_node_execution_repository` with type `WorkflowNodeExecutionRepository` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:226:44
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:232:44
ERROR `+` is not supported between `list[str]` and `Generator[Mapping[str, Any] | str]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:235:12
ERROR `+` is not supported between `list[str]` and `Mapping[str, Any]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:229:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:235:12
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:260:19
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:266:19
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow` with type `Workflow` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:261:18
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:267:18
ERROR Argument `SimpleNamespace` is not assignable to parameter `user` with type `Account | EndUser` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:262:14
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:268:14
ERROR Argument `SimpleNamespace` is not assignable to parameter `conversation` with type `Conversation` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:263:22
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:269:22
ERROR Argument `SimpleNamespace` is not assignable to parameter `message` with type `Message` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:264:17
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:270:17
ERROR Argument `SimpleNamespace` is not assignable to parameter `application_generate_entity` with type `AdvancedChatAppGenerateEntity` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:265:37
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:37
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_execution_repository` with type `WorkflowExecutionRepository` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:266:39
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:272:39
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow_node_execution_repository` with type `WorkflowNodeExecutionRepository` in function `core.app.apps.advanced_chat.app_generator.AdvancedChatAppGenerator.resume` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:267:44
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:273:44
ERROR `+` is not supported between `list[str]` and `Generator[Mapping[str, Any] | str]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:277:12
ERROR `+` is not supported between `list[str]` and `Mapping[str, Any]` [unsupported-operation]
- --> tests/unit_tests/core/app/apps/test_pause_resume.py:271:12
+ --> tests/unit_tests/core/app/apps/test_pause_resume.py:277:12
ERROR Cannot index into `str` [bad-index]
--> tests/unit_tests/core/app/apps/test_streaming_utils.py:79:12
ERROR Argument `FakeTopic` is not assignable to parameter `topic` with type `Topic` in function `core.app.apps.streaming_utils.stream_topic_events` [bad-argument-type]
@@ -3972,8 +3932,8 @@
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:174:16
ERROR Object of class `object` has no attribute `total_steps` [missing-attribute]
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:175:16
-ERROR `SimpleNamespace` is not assignable to attribute `_graph_execution` with type `GraphExecutionProtocol | None` [bad-assignment]
- --> tests/unit_tests/core/app/workflow/test_persistence_layer.py:182:42
+ERROR Object of class `GraphRuntimeState` has no attribute `_graph_execution` [missing-attribute]
+ --> tests/unit_tests/core/app/workflow/test_persistence_layer.py:182:9
ERROR Object of class `object` has no attribute `status` [missing-attribute]
--> tests/unit_tests/core/app/workflow/test_persistence_layer.py:189:16
ERROR Object of class `object` has no attribute `exceptions_count` [missing-attribute]
@@ -4630,21 +4590,21 @@
ERROR Argument `SimpleNamespace` is not assignable to parameter `document_model` with type `Document | None` in function `core.rag.extractor.notion_extractor.NotionExtractor.update_last_edited_time` [bad-argument-type]
--> tests/unit_tests/core/rag/extractor/test_notion_extractor.py:435:43
ERROR Type `object` is not iterable [not-iterable]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:90:9
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:92:9
ERROR `Any | None` is not assignable to attribute `FILES_URL` with type `str` [bad-assignment]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:209:33
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:211:33
ERROR `Any | None` is not assignable to attribute `INTERNAL_FILES_URL` with type `str` [bad-assignment]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:210:42
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:212:42
ERROR `Literal['Dify']` is not assignable to attribute `text` with type `Ellipsis` [bad-assignment]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:231:14
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:233:14
ERROR `Literal[' HYPERLINK "http://example.com" ']` is not assignable to attribute `text` with type `Ellipsis` [bad-assignment]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:284:22
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:286:22
ERROR `Literal['Example']` is not assignable to attribute `text` with type `Ellipsis` [bad-assignment]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:296:15
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:298:15
ERROR `Literal['Dify']` is not assignable to attribute `text` with type `Ellipsis` [bad-assignment]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:655:14
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:688:14
ERROR `Literal['john@test.com']` is not assignable to attribute `text` with type `Ellipsis` [bad-assignment]
- --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:695:14
+ --> tests/unit_tests/core/rag/extractor/test_word_extractor.py:728:14
ERROR Argument `Literal['semantic_search']` is not assignable to parameter `retrieval_method` with type `RetrievalMethod` in function `core.rag.index_processor.processor.paragraph_index_processor.ParagraphIndexProcessor.retrieve` [bad-argument-type]
--> tests/unit_tests/core/rag/indexing/processor/test_paragraph_index_processor.py:246:39
ERROR Argument `Literal['semantic_search']` is not assignable to parameter `retrieval_method` with type `RetrievalMethod` in function `core.rag.index_processor.processor.parent_child_index_processor.ParentChildIndexProcessor.retrieve` [bad-argument-type]
@@ -5334,6 +5294,16 @@
ERROR Object of class `BlobChunkMessage` has no attribute `variable_value`
ERROR Object of class `BlobChunkMessage` has no attribute `stream`
ERROR Object of class `BlobChunkMessage` has no attribute `file_marker`
+ERROR Argument `object` is not assignable to parameter `obj` with type `Sized` in function `len` [bad-argument-type]
+ --> tests/unit_tests/core/variables/test_segment.py:503:20
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:504:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:505:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:512:16
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/core/variables/test_segment.py:513:16
ERROR Cannot set field `value` [read-only]
--> tests/unit_tests/core/variables/test_variables.py:20:9
ERROR Cannot set field `value` [read-only]
@@ -5363,47 +5333,39 @@
ERROR Could not find name `NodeType` [unknown-name]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_config.py:158:46
ERROR Cannot extend final class `DifyNodeFactory` [invalid-inheritance]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:37:23
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:38:23
ERROR Cannot set item in `dict[str, type[MockAgentNode] | type[MockCodeNode] | type[MockDocumentExtractorNode] | type[MockHttpRequestNode] | type[MockIterationNode] | type[MockKnowledgeRetrievalNode] | type[MockLLMNode] | type[MockLoopNode] | type[MockParameterExtractorNode] | type[MockQuestionClassifierNode] | type[MockTemplateTransformNode] | type[MockToolNode]]` [unsupported-operation]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:161:44
-ERROR Unexpected keyword argument `id` in function `object.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:99:13
-ERROR Unexpected keyword argument `config` in function `object.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_factory.py:162:44
+ERROR Unexpected keyword argument `node_id` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:100:13
-ERROR Unexpected keyword argument `graph_init_params` in function `object.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `config` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:101:13
-ERROR Unexpected keyword argument `graph_runtime_state` in function `object.__init__` [unexpected-keyword]
+ERROR Unexpected keyword argument `graph_init_params` in function `object.__init__` [unexpected-keyword]
--> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:102:13
+ERROR Unexpected keyword argument `graph_runtime_state` in function `object.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:103:13
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:113:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:114:56
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:128:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:129:56
ERROR Object of class `MockNodeMixin` has no attribute `_node_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:139:56
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:140:56
ERROR Class member `MockKnowledgeRetrievalNode.version` overrides parent class `KnowledgeRetrievalNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:350:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:351:9
ERROR Class member `MockKnowledgeRetrievalNode._run` overrides parent class `KnowledgeRetrievalNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:354:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:355:9
ERROR Class member `MockHttpRequestNode._run` overrides parent class `HttpRequestNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:411:9
-ERROR Class member `MockQuestionClassifierNode.version` overrides parent class `QuestionClassifierNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:460:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:412:9
ERROR Class member `MockQuestionClassifierNode._run` overrides parent class `QuestionClassifierNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:464:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:465:9
ERROR Class member `MockParameterExtractorNode._run` overrides parent class `ParameterExtractorNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:512:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:513:9
ERROR Class member `MockDocumentExtractorNode._run` overrides parent class `DocumentExtractorNode` in an inconsistent manner [bad-override]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:562:9
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:563:9
ERROR Argument `str | None` is not assignable to parameter `root_node_id` with type `str` in function `graphon.graph.graph.Graph.init` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:661:85
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:143:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:158:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:168:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:186:16
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:662:85
+ERROR Class member `MockLoopNode._create_graph_engine` overrides parent class `LoopNode` in an inconsistent manner [bad-override]
+ --> tests/unit_tests/core/workflow/graph_engine/test_mock_nodes.py:690:9
ERROR Argument `Sequence[type[GraphEngineEvent]]` is not assignable to parameter `expected_sequence` with type `list[type[GraphEngineEvent]]` in function `TableTestRunner._validate_event_sequence` [bad-argument-type]
--> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:402:21
ERROR `graph` is uninitialized [unbound-name]
@@ -5412,20 +5374,52 @@
--> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:456:37
ERROR Argument `Iterator[Unknown]` is not assignable to parameter `messages` with type `Generator[ToolInvokeMessage]` in function `core.workflow.nodes.agent.message_transformer.AgentMessageTransformer.transform` [bad-argument-type]
--> tests/unit_tests/core/workflow/nodes/agent/test_message_transformer.py:15:26
-ERROR Argument `dict[str, dict[str, str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.base.node.Node.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/answer/test_answer.py:82:16
ERROR Class member `_Version1._get_retry_config` overrides parent class `Node` in an inconsistent manner [bad-override]
--> tests/unit_tests/core/workflow/nodes/base/test_get_node_type_classes_mapping.py:53:13
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:150:44
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:157:44
+ERROR Expected 1 positional argument, got 2 in function `graphon.nodes.code.code_node.CodeNode._check_boolean` [bad-argument-count]
+ --> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:164:45
ERROR `BaseNodeData` is not assignable to attribute `_node_data` with type `CodeNodeData` [bad-assignment]
--> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:440:27
ERROR `BaseNodeData` is not assignable to attribute `_node_data` with type `CodeNodeData` [bad-assignment]
--> tests/unit_tests/core/workflow/nodes/code/code_node_spec.py:456:27
-ERROR `dict[str, str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:83:21
ERROR Argument `_GraphParams` is not assignable to parameter `graph_init_params` with type `GraphInitParams` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:93:27
+ --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:91:27
ERROR Argument `_GraphState` is not assignable to parameter `graph_runtime_state` with type `GraphRuntimeState` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:94:29
+ --> tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py:92:29
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:64:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:120:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:178:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:224:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:271:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:324:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:361:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:413:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:440:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:467:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:494:25
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:520:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:570:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:617:21
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol` in function `graphon.nodes.http_request.executor.Executor.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_executor.py:658:21
ERROR Cannot index into `object` [bad-index]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:32:15
ERROR Cannot index into `object` [bad-index]
@@ -5438,190 +5432,98 @@
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:65:12
ERROR Cannot index into `object` [bad-index]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:66:12
-ERROR Argument `dict[str, Any]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:118:16
+ERROR Argument `SSRFProxy` is not assignable to parameter `http_client` with type `HttpClientProtocol | None` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:122:21
ERROR Argument `type[ToolFileManager]` is not assignable to parameter `tool_file_manager_factory` with type `() -> ToolFileManagerProtocol` in function `graphon.nodes.http_request.node.HttpRequestNode.__init__` [bad-argument-type]
--> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:123:35
+ERROR Argument `Response` is not assignable to parameter `response` with type `HttpResponse` in function `graphon.nodes.http_request.entities.Response.__init__` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/http_request/test_http_request_node.py:158:17
ERROR Object of class `NoneType` has no attribute `type` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:184:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:204:16
ERROR Object of class `NoneType` has no attribute `value` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:185:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:205:16
ERROR Object of class `NoneType` has no attribute `type` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:193:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:213:16
ERROR Object of class `NoneType` has no attribute `selector` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:194:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:214:16
ERROR Object of class `HumanInputNodeData` has no attribute `delivery_methods` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:278:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:298:20
ERROR Object of class `HumanInputNodeData` has no attribute `delivery_methods` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:301:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:321:20
ERROR Object of class `ExternalRecipient` has no attribute `reference_id` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:394:16
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:414:16
ERROR Object of class `BoundRecipient` has no attribute `email` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:395:16
-ERROR Missing argument `reference_id` in function `core.workflow.human_input_compat.BoundRecipient.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:399:28
-ERROR Unexpected keyword argument `user_id` in function `core.workflow.human_input_compat.BoundRecipient.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:399:61
-ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_compat.EmailRecipients.__init__` [unexpected-keyword]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:401:38
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:470:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:415:16
+ERROR Missing argument `reference_id` in function `core.workflow.human_input_adapter.BoundRecipient.__init__` [missing-argument]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:419:28
+ERROR Unexpected keyword argument `user_id` in function `core.workflow.human_input_adapter.BoundRecipient.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:419:61
+ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_adapter.EmailRecipients.__init__` [unexpected-keyword]
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:421:38
ERROR Object of class `SchedulingPause` has no attribute `resolved_default_values` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:481:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:535:20
-ERROR Argument `dict[str, dict[str, list[dict[str, bool | dict[Unknown, Unknown] | str]] | list[dict[str, str]] | list[Unknown] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:600:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:676:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:775:20
-ERROR Argument `dict[str, dict[str, list[dict[str, str]] | list[dict[str, dict[str, str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_human_input_form_filled_event.py:85:16
-ERROR Argument `dict[str, dict[str, list[dict[str, str]] | list[dict[str, dict[str, str] | str]] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.human_input.human_input_node.HumanInputNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/human_input/test_human_input_form_filled_event.py:150:16
-ERROR `dict[str, list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/iteration/test_iteration_child_engine_errors.py:50:21
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_index.knowledge_index_node.KnowledgeIndexNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:120:20
+ --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:501:16
+ERROR Argument `dict[str, list[str] | str]` is not assignable to parameter `node_data` with type `KnowledgeIndexNodeData | dict[str, object]` in function `_build_node` [bad-argument-type]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:139:23
ERROR Argument `dict[str, bool]` is not assignable to parameter `summary_index_setting` with type `SummaryIndexSettingDict | None` in function `core.workflow.nodes.knowledge_index.knowledge_index_node.KnowledgeIndexNode._invoke_knowledge_index` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:641:35
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:110:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:198:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:474:20
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:566:20
-ERROR Argument `dict[str, dict[str, list[str] | str] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:614:20
-ERROR `None` is not subscriptable [unsupported-operation]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:633:16
-ERROR `None` is not subscriptable [unsupported-operation]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:634:27
-ERROR `None` is not subscriptable [unsupported-operation]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:635:16
-ERROR `None` is not subscriptable [unsupported-operation]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:636:16
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `core.workflow.nodes.knowledge_retrieval.knowledge_retrieval_node.KnowledgeRetrievalNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:675:20
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:69:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:114:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:145:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:174:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:203:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:231:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:259:43
-ERROR `dict[str, dict[str, bool | int] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:287:43
-ERROR `dict[str, dict[str, bool | int] | dict[str, bool | str] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:322:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:346:43
-ERROR `dict[str, dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:371:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:401:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:430:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:459:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:488:43
-ERROR `dict[str, dict[str, bool | str] | dict[str, bool] | list[str] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/list_operator/node_spec.py:516:43
+ --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:660:35
+ERROR `None` is not subscriptable [unsupported-operation]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:643:16
+ERROR `None` is not subscriptable [unsupported-operation]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:644:27
+ERROR `None` is not subscriptable [unsupported-operation]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:645:16
+ERROR `None` is not subscriptable [unsupported-operation]
+ --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:646:16
ERROR Argument `None` is not assignable to parameter `context` with type `str` in function `graphon.nodes.llm.llm_utils.fetch_prompt_messages` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:123:21
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:125:21
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:604:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:606:65
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:607:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:609:65
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `contents` with type `list[PromptMessageContentUnionTypes] | str | None` in function `graphon.nodes.llm.llm_utils.combine_message_content_with_role` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:610:65
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:612:65
ERROR Argument `list[UserPromptMessage]` is not assignable to parameter `prompt_messages` with type `list[PromptMessage]` in function `graphon.nodes.llm.llm_utils._append_file_prompts` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:726:29
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:728:29
ERROR Argument `list[SystemPromptMessage]` is not assignable to parameter `prompt_messages` with type `list[PromptMessage]` in function `graphon.nodes.llm.llm_utils._append_file_prompts` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:742:29
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.llm.node.LLMNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:215:16
+ --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:744:29
ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1224:9
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1216:9
ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1254:9
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1246:9
ERROR Argument `Iterator[LLMResultChunk | LLMStructuredOutput] | Iterator[Any]` is not assignable to parameter `invoke_result` with type `Generator[LLMResultChunk | LLMStructuredOutput] | LLMResult` in function `graphon.nodes.llm.node.LLMNode.handle_invoke_result` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1513:31
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1504:31
ERROR Argument `Generator[None, Unknown]` is not assignable to parameter `invoke_result` with type `Generator[LLMResultChunk | LLMStructuredOutput] | LLMResult` in function `graphon.nodes.llm.node.LLMNode.handle_invoke_result` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1551:31
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1541:31
ERROR Missing argument `run_context` in function `core.app.llm.model_access.DifyCredentialsProvider.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1744:32
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1733:32
ERROR Missing argument `run_context` in function `core.app.llm.model_access.DifyModelFactory.__init__` [missing-argument]
- --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1747:25
-ERROR `dict[str, list[Unknown] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:113:48
+ --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1736:25
ERROR `in` is not supported between `Literal['variables']` and `object` [not-iterable]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:127:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:145:16
ERROR `in` is not supported between `Literal['template']` and `object` [not-iterable]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:128:16
+ --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:146:16
ERROR Cannot index into `object` [bad-index]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:129:16
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:203:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:307:48
-ERROR `dict[str, list[Unknown] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:414:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:453:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:482:48
-ERROR `dict[str, list[dict[str, list[str] | str]] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:512:48
-ERROR `dict[str, list[@_] | str]` is not assignable to TypedDict key `data` with type `BaseNodeData` [bad-typed-dict-key]
- --> tests/unit_tests/core/workflow/nodes/template_transform/test_template_transform_node.py:43:21
-ERROR Argument `dict[str, dict[str, Any] | str]` is not assignable to parameter `config` with type `NodeConfigDict` in function `graphon.nodes.document_extractor.node.DocumentExtractorNode.__init__` [bad-argument-type]
- --> tests/unit_tests/core/workflow/nodes/test_document_extractor_node.py:51:16
-ERROR Argument `dict[str, dict[str, list[dict[str, li\n\n... (truncated) ... |
laipz8200
approved these changes
Apr 18, 2026
HanqingZ
pushed a commit
to HanqingZ/dify
that referenced
this pull request
Apr 23, 2026
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
asukaminato0721
pushed a commit
to asukaminato0721/dify
that referenced
this pull request
Apr 24, 2026
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Important
Fixes #<issue number>.Summary
Fixes #35376
Adapt the backend API layer to Graphon 0.2.2 and align Dify workflow code with the current Graphon contracts.
Key backend changes in this PR:
node_idplus typednode_dataAPIsScreenshots
Checklist
make lint && make type-check(backend) andcd web && pnpm exec vp staged(frontend) to appease the lint gods