apache_beam.options.value_provider module

A ValueProvider class to implement templates with both statically and dynamically provided values.

class apache_beam.options.value_provider.ValueProvider[source]

Bases: future.types.newobject.newobject

is_accessible()[source]
get()[source]
class apache_beam.options.value_provider.StaticValueProvider(value_type, value)[source]

Bases: apache_beam.options.value_provider.ValueProvider

is_accessible()[source]
get()[source]
class apache_beam.options.value_provider.RuntimeValueProvider(option_name, value_type, default_value)[source]

Bases: apache_beam.options.value_provider.ValueProvider

runtime_options = None
experiments = set([])
is_accessible()[source]
classmethod get_value(option_name, value_type, default_value)[source]
get()[source]
classmethod set_runtime_options(pipeline_options)[source]
apache_beam.options.value_provider.check_accessible(value_provider_list)[source]

Check accessibility of a list of ValueProvider objects.