dgbowl_schemas.tomato.payload_0_1 package

class dgbowl_schemas.tomato.payload_0_1.Payload(*, version: Literal['0.1'], tomato: Tomato = None, sample: Sample, method: Sequence[Method])

Bases: BaseModel

version: Literal['0.1']
tomato: Tomato
sample: Sample
method: Sequence[Method]
classmethod extract_samplefile(values)
classmethod extract_methodfile(values)
update()

Submodules

dgbowl_schemas.tomato.payload_0_1.method module

class dgbowl_schemas.tomato.payload_0_1.method.Method(*, device: str, technique: str, **extra_data: Any)

Bases: BaseModel

device: str
technique: str

dgbowl_schemas.tomato.payload_0_1.sample module

class dgbowl_schemas.tomato.payload_0_1.sample.Sample(*, name: str, **extra_data: Any)

Bases: BaseModel

name: str

dgbowl_schemas.tomato.payload_0_1.tomato module

class dgbowl_schemas.tomato.payload_0_1.tomato.Tomato(*, unlock_when_done: bool = False, verbosity: Literal['DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL'] = 'WARNING', output: Output = None)

Bases: BaseModel

class Output(*, path: str = None, prefix: str = None)

Bases: BaseModel

path: str
prefix: str
unlock_when_done: bool
verbosity: Literal['DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL']
output: Output