Record

class laminar.configurations.datastores.Record(flow: FlowRecord, layer: LayerRecord, execution: ExecutionRecord)

Bases: object

Handler for metadata about how a Layer was executed.

Methods

dict

Convert the Record to a dict.

parse

Get a Record from a dict.

path

Get the path to the Record.

Attributes

flow

Flow record information

layer

Layer record information

execution

Execution record information

class ExecutionRecord(splits: int)

Bases: object

__init__(splits: int)
splits : int

Number of splits in the layer

class FlowRecord(name: str)

Bases: object

__init__(name: str)
name : str

Name of the flow

class LayerRecord(name: str)

Bases: object

__init__(name: str)
name : str

Name of the layer

__init__(flow: FlowRecord, layer: LayerRecord, execution: ExecutionRecord)
dict() dict[str, Any]

Convert the Record to a dict.

execution : ExecutionRecord

Execution record information

flow : FlowRecord

Flow record information

layer : LayerRecord

Layer record information

static parse(source: dict[str, Any]) Record

Get a Record from a dict.

static path(*, layer: Layer) str

Get the path to the Record.