dgbowl_schemas.dgpost.recipe_1_0 package
- class dgbowl_schemas.dgpost.recipe_1_0.Recipe(*, version: Literal['v1.0', '1.0', '1.1', '2.0'], load: Sequence[Load] | None = None, extract: Sequence[Extract] | None = None, transform: Sequence[Transform] | None = None, plot: Sequence[Plot] | None = None, save: Sequence[Save] | None = None)
Bases:
BaseModel
- version: Literal['v1.0', '1.0', '1.1', '2.0']
- update()
Submodules
dgbowl_schemas.dgpost.recipe_1_0.extract module
- class dgbowl_schemas.dgpost.recipe_1_0.extract.At(*, steps: Sequence[str] = None, indices: Sequence[int] = None, timestamps: Sequence[float] = None)
Bases:
BaseModel
- steps: Sequence[str]
- indices: Sequence[int]
- timestamps: Sequence[float]
- classmethod check_one_input(values)
- class dgbowl_schemas.dgpost.recipe_1_0.extract.Constant(*, value: Any = None, units: str | None = None, **extra_data: Any)
Bases:
BaseModel
- value: Any
- as_: str
- units: str | None
- class dgbowl_schemas.dgpost.recipe_1_0.extract.Column(*, key: str, **extra_data: Any)
Bases:
BaseModel
- key: str
- as_: str
dgbowl_schemas.dgpost.recipe_1_0.load module
dgbowl_schemas.dgpost.recipe_1_0.plot module
- class dgbowl_schemas.dgpost.recipe_1_0.plot.SeriesIndex(*, from_zero: bool = True, to_units: str | None = None)
Bases:
BaseModel
- from_zero: bool
- to_units: str | None
- class dgbowl_schemas.dgpost.recipe_1_0.plot.Series(*, y: str, x: str | None = None, kind: Literal['scatter', 'line', 'errorbar'] = 'scatter', index: SeriesIndex | None = SeriesIndex(from_zero=True, to_units=None), **extra_data: Any)
Bases:
BaseModel
- y: str
- x: str | None
- kind: Literal['scatter', 'line', 'errorbar']
- index: SeriesIndex | None
- class dgbowl_schemas.dgpost.recipe_1_0.plot.AxArgs(*, cols: Tuple[int, int] | None = None, rows: Tuple[int, int] | None = None, series: Sequence[Series], methods: Dict[str, Any] | None = None, legend: bool = False, **extra_data: Any)
Bases:
BaseModel
- cols: Tuple[int, int] | None
- rows: Tuple[int, int] | None
- methods: Dict[str, Any] | None
- legend: bool
- class dgbowl_schemas.dgpost.recipe_1_0.plot.PlotSave(*, as_: str, tight_layout: Dict[str, Any] | None = None, **extra_data: Any)
Bases:
BaseModel
- as_: str
- tight_layout: Dict[str, Any] | None
- class dgbowl_schemas.dgpost.recipe_1_0.plot.Plot(*, table: str, ax_args: Sequence[AxArgs], fig_args: Dict[str, Any] | None = None, style: Dict[str, Any] | None = None, nrows: int = 1, ncols: int = 1, save: PlotSave | None = None)
Bases:
BaseModel
- table: str
- fig_args: Dict[str, Any] | None
- style: Dict[str, Any] | None
- nrows: int
- ncols: int