2026-03-18 17:18:23 +08:00
|
|
|
"""Quota feature dependencies: get_quota_service."""
|
|
|
|
|
|
|
|
|
|
from fastapi import Depends
|
|
|
|
|
|
|
|
|
|
from app.features.quota.service import QuotaService
|
2026-05-22 13:44:50 +08:00
|
|
|
from app.core.deps_types import DbDep
|
2026-03-18 17:18:23 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
def get_quota_service(
|
2026-05-22 13:44:50 +08:00
|
|
|
db: DbDep,
|
2026-03-18 17:18:23 +08:00
|
|
|
) -> QuotaService:
|
|
|
|
|
return QuotaService(db=db)
|