apache_beam.runners.pipeline_context module

Utility class for serializing pipelines via the runner API.

For internal use only; no backwards-compatibility guarantees.

class apache_beam.runners.pipeline_context.PipelineContext(proto=None, default_environment=None, use_fake_coders=False, iterable_state_read=None, iterable_state_write=None, namespace='ref', allow_proto_holders=False)[source]

Bases: future.types.newobject.newobject

For internal use only; no backwards-compatibility guarantees.

Used for accessing and constructing the referenced objects of a Pipeline.

coder_id_from_element_type(element_type)[source]
element_type_from_coder_id(coder_id)[source]
static from_runner_api(proto)[source]
to_runner_api()[source]
default_environment_id()[source]