mirror of
https://github.com/langgenius/dify.git
synced 2026-08-28 18:45:38 +08:00
[autofix.ci] apply automated fixes
This commit is contained in:
parent
0360f0b33b
commit
e1819fb7e5
@ -24,7 +24,7 @@ class CreditPoolService:
|
||||
return credit_pool
|
||||
|
||||
@classmethod
|
||||
def get_pool(cls, tenant_id: str, pool_type: str = "trial") -> Optional[TenantCreditPool]:
|
||||
def get_pool(cls, tenant_id: str, pool_type: str = "trial") -> TenantCreditPool | None:
|
||||
"""get tenant credit pool"""
|
||||
return (
|
||||
db.session.query(TenantCreditPool)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user