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
chore: avoid star imports usage (#9123)
Bowen Liangb279d1904085
diff --git a/api/pyproject.toml b/api/pyproject.tomlindex 48418974d47..956d4dbd119 100644--- a/api/pyproject.toml+++ b/api/pyproject.toml@@ -45,8 +45,6 @@ ignore = ["E721", # type-comparison"E722", # bare-except"E731", # lambda-assignment- "F403", # undefined-local-with-import-star- "F405", # undefined-local-with-import-star-usage"F821", # undefined-name"F841", # unused-variable"FURB113", # repeated-appenddiff --git a/api/services/account_service.py b/api/services/account_service.pyindex c3d3354a1d8..05b505f8a62 100644--- a/api/services/account_service.py+++ b/api/services/account_service.py@@ -1,4 +1,5 @@import base64+import jsonimport loggingimport secretsimport uuid@@ -12,12 +13,22 @@ from werkzeug.exceptions import Unauthorizedfrom configs import dify_configfrom constants.languages import language_timezone_mapping, languagesfrom events.tenant_event import tenant_was_created+from extensions.ext_database import dbfrom extensions.ext_redis import redis_clientfrom libs.helper import RateLimiter, TokenManagerfrom libs.passport import PassportServicefrom libs.password import compare_password, hash_password, valid_passwordfrom libs.rsa import generate_key_pair-from models.account import *+from models.account import (+ Account,+ AccountIntegrate,+ AccountStatus,+ Tenant,+ TenantAccountJoin,+ TenantAccountJoinRole,+ TenantAccountRole,+ TenantStatus,+)from models.model import DifySetupfrom services.errors.account import (AccountAlreadyInTenantError,