CompositeFetcher
Bases: FromConfigMixin
Data fetcher that composes multiple data fetchers
Implements the DataFetcher
protocol.
PARAMETER | DESCRIPTION |
---|---|
data_fetchers
|
data fetchers
TYPE:
|
num_workers
|
number of workers
TYPE:
|
from_config
classmethod
Creates a composite fetcher from the configuration.
PARAMETER | DESCRIPTION |
---|---|
config
|
configuration
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
CompositeFetcher
|
composite fetcher |
__call__
Fetches data from the sources.
PARAMETER | DESCRIPTION |
---|---|
x_min
|
minimum x coordinate
TYPE:
|
y_min
|
minimum y coordinate
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
npt.NDArray
|
data |
CompositeFetcherConfig
Bases: pydantic.BaseModel
Configuration for the from_config
class method of CompositeFetcher
ATTRIBUTE | DESCRIPTION |
---|---|
data_fetchers_configs |
configurations of the data fetchers
TYPE:
|
num_workers |
number of workers
TYPE:
|
DataFetcherConfig
Bases: pydantic.BaseModel
Configuration for data fetchers
ATTRIBUTE | DESCRIPTION |
---|---|
name |
name of the data fetcher
TYPE:
|
config |
configuration of the data fetcher
TYPE:
|