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
refactor: remove unused dissolve_tenant static method (#22690)
Xin Zhangbddeebd4c985
diff --git a/api/services/account_service.py b/api/services/account_service.pyindex c13ae7a4f03..352efb2f0c9 100644--- a/api/services/account_service.py+++ b/api/services/account_service.py@@ -1067,15 +1067,6 @@ class TenantService:target_member_join.role = new_roledb.session.commit()- @staticmethod- def dissolve_tenant(tenant: Tenant, operator: Account) -> None:- """Dissolve tenant"""- TenantService.check_member_permission(tenant, operator, None, "remove")-- db.session.query(TenantAccountJoin).filter_by(tenant_id=tenant.id).delete()- db.session.delete(tenant)- db.session.commit()-@staticmethoddef get_custom_config(tenant_id: str) -> dict:tenant = db.get_or_404(Tenant, tenant_id)