graflo.data_source.enumerated¶
One source per value combination of a templated connector, read in order.
Classes¶
EnumeratedDataSource
¶
Bases: AbstractDataSource
Read each member in order; every row carries its member's variables.
A row field of the same name as a variable wins over it. limit caps the
rows over all members together, and :attr:high_water is the largest
watermark any member reached in the current iteration.
Source code in graflo/data_source/enumerated.py
Attributes¶
high_water
property
¶
members = Field(..., min_length=1)
class-attribute
instance-attribute
¶
source_type
instance-attribute
¶
Methods:¶
close()
¶
iter_batches(batch_size=1000, limit=None)
¶
Source code in graflo/data_source/enumerated.py
EnumeratedMember
¶
Bases: ConfigBaseModel
One request of an enumerated connector: its variables and its source.