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
fix: code linting (#11143)
jiangbo7219049dd772556
diff --git a/api/services/account_service.py b/api/services/account_service.pyindex aeb373bb26f..f0c6ac7ebd6 100644--- a/api/services/account_service.py+++ b/api/services/account_service.py@@ -573,7 +573,7 @@ class TenantService:return tenant@staticmethod- def switch_tenant(account: Account, tenant_id: Optional[int] = None) -> None:+ def switch_tenant(account: Account, tenant_id: Optional[str] = None) -> None:"""Switch the current workspace for the account"""# Ensure tenant_id is provided@@ -672,7 +672,7 @@ class TenantService:return db.session.query(func.count(Tenant.id)).scalar()@staticmethod- def check_member_permission(tenant: Tenant, operator: Account, member: Account, action: str) -> None:+ def check_member_permission(tenant: Tenant, operator: Account, member: Account | None, action: str) -> None:"""Check member permission"""perms = {"add": [TenantAccountRole.OWNER, TenantAccountRole.ADMIN],