credmark.cmf.types.series.BlockSeriesRow
- DTO class BlockSeriesRow(*, blockNumber, blockTimestamp, sampleTimestamp, output)[source]
Bases:
GenericModel
,Generic
[DTOCLS
]A data row in a block series. The generic type specifies the class to use as the output.
For example
row = BlockSeriesRow[MyOutputClass](**data)
whererow.output
will be an instance ofMyOutputClass
Show JSON schema
{ "title": "BlockSeriesRow", "description": "A data row in a block series.\nThe generic type specifies the class to use as the output.\n\nFor example ``row = BlockSeriesRow[MyOutputClass](**data)``\nwhere ``row.output`` will be an instance of ``MyOutputClass``", "type": "object", "properties": { "blockNumber": { "title": "Blocknumber", "description": "Block number in the series", "type": "integer" }, "blockTimestamp": { "title": "Blocktimestamp", "description": "The Timestamp of the Block", "type": "integer" }, "sampleTimestamp": { "title": "Sampletimestamp", "description": "The Sample Block time", "type": "integer" }, "output": { "title": "Output", "description": "Output of the model run for this block" } }, "required": [ "blockNumber", "blockTimestamp", "sampleTimestamp", "output" ] }
- Fields
- Parameters
- Return type
None
- field output: DTOCLS [Required]
Output of the model run for this block