Energy transfer schema¶
TCKDB backend app schemas energy transfer (trans) module
- class tckdb.backend.app.schemas.trans.Trans(*, model: str, parameters: Dict[str, Union[Tuple[Union[float, int], str], float, int]], reviewer_flags: Dict[str, str] = None, id: int)[source]¶
Properties to return to client
- class tckdb.backend.app.schemas.trans.TransBase(*, model: tckdb.backend.app.schemas.trans.TransModelEnum, parameters: Dict[str, Union[Tuple[float, str], float]], reviewer_flags: Dict[str, str] = None)[source]¶
A TransBase class (shared properties)
- class tckdb.backend.app.schemas.trans.TransCreate(*, model: str, parameters: Dict[str, Union[Tuple[Union[float, int], str], float, int]], reviewer_flags: Dict[str, str] = None)[source]¶
Create a Trans item: Properties to receive on item creation
- class tckdb.backend.app.schemas.trans.TransInDB(*, model: str, parameters: Dict[str, Union[Tuple[Union[float, int], str], float, int]], reviewer_flags: Dict[str, str] = None, id: int)[source]¶
Properties stored in DB