apache_beam.transforms.environments module¶
Environments concepts.
For internal use only. No backwards compatibility guarantees.
-
class
apache_beam.transforms.environments.
Environment
(capabilities=(), artifacts=(), resource_hints=None)[source]¶ Bases:
object
Abstract base class for environments.
Represents a type and configuration of environment. Each type of Environment should have a unique urn.
For internal use only. No backwards compatibility guarantees.
-
class
apache_beam.transforms.environments.
DefaultEnvironment
(capabilities=(), artifacts=(), resource_hints=None)[source]¶ Bases:
apache_beam.transforms.environments.Environment
Used as a stub when context is missing a default environment.
-
class
apache_beam.transforms.environments.
DockerEnvironment
(container_image=None, capabilities=(), artifacts=(), resource_hints=None)[source]¶
-
class
apache_beam.transforms.environments.
ProcessEnvironment
(command, os='', arch='', env=None, capabilities=(), artifacts=(), resource_hints=None)[source]¶
-
class
apache_beam.transforms.environments.
ExternalEnvironment
(url, params=None, capabilities=(), artifacts=(), resource_hints=None)[source]¶
-
class
apache_beam.transforms.environments.
EmbeddedPythonEnvironment
(capabilities=(), artifacts=(), resource_hints=None)[source]¶
-
class
apache_beam.transforms.environments.
EmbeddedPythonGrpcEnvironment
(state_cache_size=None, data_buffer_time_limit_ms=None, capabilities=(), artifacts=(), resource_hints=None)[source]¶
-
class
apache_beam.transforms.environments.
SubprocessSDKEnvironment
(command_string, capabilities=(), artifacts=(), resource_hints=None)[source]¶
-
class
apache_beam.transforms.environments.
AnyOfEnvironment
(environments)[source]¶