[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot] 2025-10-09 02:50:01 +00:00 committed by GitHub
parent 0360f0b33b
commit e1819fb7e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -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)