apache_beam.runners.trivial_runner module¶
-
class
apache_beam.runners.trivial_runner.
TrivialRunner
[source]¶ Bases:
apache_beam.runners.runner.PipelineRunner
A bare-bones batch Python pipeline runner illistrating how to use the RunnerAPI and FnAPI to execute pipelines.
Note that this runner is primarily for pedagogical purposes and is missing several features in order to keep it as simple as possible. Where possible pointers are provided which this should serve as a useful starting point.
-
class
apache_beam.runners.trivial_runner.
ExecutionState
(optimized_pipeline)[source]¶ Bases:
object
A helper class holding various values and context during execution.
-
apache_beam.runners.trivial_runner.
is_primitive_transform
(transform: org.apache.beam.model.pipeline.v1.beam_runner_api_pb2.PTransform) → bool[source]¶