PMFlow/backend/app/services/semantic_fact_service/service.py

20 lines
501 B
Python

from __future__ import annotations
from .mixin_admin import SemanticFactAdminMixin
from .mixin_extract import SemanticFactExtractMixin
from .mixin_query import SemanticFactQueryMixin
from .shared import AsyncSession
class SemanticFactService(
SemanticFactAdminMixin,
SemanticFactExtractMixin,
SemanticFactQueryMixin,
):
def __init__(self, db: AsyncSession, *, tenant_id: int) -> None:
self.db = db
self.tenant_id = int(tenant_id)
__all__ = ["SemanticFactService"]