Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
ci: enable Ruff SIM210 (#44095)
Asuka Minato8e358bb131b3
diff --git a/api/.ruff.toml b/api/.ruff.tomlindex 4c307c823ec..6a976f5e570 100644--- a/api/.ruff.toml+++ b/api/.ruff.toml@@ -84,7 +84,6 @@ ignore = ["SIM108", # if-else-block-instead-of-if-exp"SIM113", # enumerate-for-loop"SIM117", # multiple-with-statements- "SIM210", # if-expr-with-true-false"TID252", # allow relative imports from parent modules]diff --git a/api/core/app/apps/pipeline/pipeline_generator.py b/api/core/app/apps/pipeline/pipeline_generator.pyindex 881b9cf0963..8599e5eceac 100644--- a/api/core/app/apps/pipeline/pipeline_generator.py+++ b/api/core/app/apps/pipeline/pipeline_generator.py@@ -200,7 +200,7 @@ class PipelineGenerator(BaseAppGenerator):user_inputs=inputs,variables=pipeline_config.rag_pipeline_variables,tenant_id=pipeline.tenant_id,- strict_type_validation=True if invoke_from == InvokeFrom.SERVICE_API else False,+ strict_type_validation=invoke_from == InvokeFrom.SERVICE_API,),files=[],user_id=user.id,diff --git a/api/core/app/apps/workflow/app_generator.py b/api/core/app/apps/workflow/app_generator.pyindex a6df1224039..e7a1f2111ae 100644--- a/api/core/app/apps/workflow/app_generator.py+++ b/api/core/app/apps/workflow/app_generator.py@@ -173,7 +173,7 @@ class WorkflowAppGenerator(BaseAppGenerator):mappings=files,tenant_id=app_model.tenant_id,config=file_extra_config,- strict_type_validation=True if invoke_from == InvokeFrom.SERVICE_API else False,+ strict_type_validation=invoke_from == InvokeFrom.SERVICE_API,access_controller=self._file_access_controller,)@@ -206,7 +206,7 @@ class WorkflowAppGenerator(BaseAppGenerator):user_inputs=inputs,variables=app_config.variables,tenant_id=app_model.tenant_id,- strict_type_validation=True if invoke_from == InvokeFrom.SERVICE_API else False,+ strict_type_validation=invoke_from == InvokeFrom.SERVICE_API,)# init application generate entityapplication_generate_entity = WorkflowAppGenerateEntity(