silverback.types#
- silverback.types.Datapoint#
alias of
ScalarDatapoint
- class silverback.types.Datapoints(root: RootModelRootType = PydanticUndefined)#
Bases:
RootModel
- class silverback.types.ScalarDatapoint(*, type: Literal['scalar'] = 'scalar', data: bool | Annotated[int, FieldInfo(annotation=NoneType, required=True, metadata=[Ge(ge=-39614081257132168796771975168), Le(le=39614081257132168796771975167)])] | float | Decimal)#
Bases:
_BaseDatapoint- as_row() bool | Annotated[int, FieldInfo(annotation=NoneType, required=True, metadata=[Ge(ge=-39614081257132168796771975168), Le(le=39614081257132168796771975167)])] | float | Decimal#
Convert into a type suitable for a dataframe
- render() str#
Render Datapoint for viewing in logs
- class silverback.types.SilverbackID(*, name: str, ecosystem: str, network: str)#
Bases:
BaseModel
- class silverback.types.TaskType(value)#
Bases:
str,EnumAn enumeration.