2024-07-21 21:44:22 +08:00
|
|
|
from felicity.apps.analysis.entities.results import ResultMutation, AnalysisResult
|
2024-07-22 16:20:56 +08:00
|
|
|
from felicity.database.repository import BaseRepository
|
2024-07-21 15:06:51 +08:00
|
|
|
|
|
|
|
|
|
|
|
class ResultMutationRepository(
|
2024-07-22 16:20:56 +08:00
|
|
|
BaseRepository[ResultMutation]
|
2024-07-21 15:06:51 +08:00
|
|
|
):
|
|
|
|
def __init__(self) -> None:
|
2024-07-22 16:20:56 +08:00
|
|
|
super().__init__(ResultMutation)
|
2024-07-21 15:06:51 +08:00
|
|
|
|
|
|
|
|
2024-07-22 16:20:56 +08:00
|
|
|
class AnalysisResultRepository(BaseRepository[AnalysisResult]):
|
2024-07-21 15:06:51 +08:00
|
|
|
def __init__(self) -> None:
|
2024-07-22 16:20:56 +08:00
|
|
|
super().__init__(AnalysisResult)
|