Factory
crdata.conversion.factory
AbstractConverterFactory
Bases: BaseModel, Generic[JobT], ABC
Factory base class for building producer-consumer pipelines.
Source code in crdata/conversion/factory.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | |
build_job_filter()
Build a filter function, returning true if a job is accepted.
Source code in crdata/conversion/factory.py
25 26 27 28 29 30 31 | |
build_job_generator()
abstractmethod
Build a producer of independently runnable conversions jobs.
Source code in crdata/conversion/factory.py
17 18 19 | |
build_job_processor()
abstractmethod
Build a consumer of independently runnable conversion jobs.
Source code in crdata/conversion/factory.py
21 22 23 | |
build_runner()
Build a runner object running sequentially or parallel.
Source code in crdata/conversion/factory.py
33 34 35 36 37 38 | |