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.Environment(proto)[source]

Bases: future.types.newobject.newobject

A wrapper around the environment proto.

Provides consistency with how the other componentes are accessed.

to_runner_api(context)[source]
static from_runner_api(proto, context)[source]
class apache_beam.runners.pipeline_context.PipelineContext(proto=None, default_environment=None, use_fake_coders=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]
static from_runner_api(proto)[source]
to_runner_api()[source]
default_environment_id()[source]