MCPcopy Create free account
hub / github.com/DJWOMS/fastapi_base / QueryService

Class QueryService

src/services/query_base_service.py:8–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6
7
8class QueryService(ABC, Generic[_T]):
9
10 @abstractmethod
11 def find_by_id(self, id_: int) -> _T | None:
12 raise NotImplementedError()
13
14 @abstractmethod
15 def findall(self) -> Sequence[_T]:
16 raise NotImplementedError()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected