Configuration

class laminar.configurations.flows.Configuration(datastore: ~laminar.configurations.datastores.DataStore = <factory>, executor: ~laminar.configurations.executors.Executor = <factory>, scheduler: ~laminar.configurations.schedulers.Scheduler = <factory>)

Bases: object

Flow configurations.

Usage:

class A(Layer):
    def __call__(self) -> None:
        self.flow.configuration.datastore
        self.flow.configuration.executor
        self.flow.configuration.scheduler

Methods

Attributes

datastore

Flow datastore configuration

executor

Flow executor configuration

scheduler

Flow scheduler configuration

__init__(datastore: ~laminar.configurations.datastores.DataStore = <factory>, executor: ~laminar.configurations.executors.Executor = <factory>, scheduler: ~laminar.configurations.schedulers.Scheduler = <factory>)
datastore : DataStore

Flow datastore configuration

executor : Executor

Flow executor configuration

scheduler : Scheduler

Flow scheduler configuration