apache_beam.yaml.yaml_mapping module

This module defines the basic MapToFields operation.

apache_beam.yaml.yaml_mapping.normalize_mapping(spec)[source]

Normalizes various fields for mapping transforms.

apache_beam.yaml.yaml_mapping.is_literal(expr: str) bool[source]
apache_beam.yaml.yaml_mapping.validate_generic_expression(expr_dict: dict, input_fields: Collection[str], allow_cmp: bool, error_field: str) None[source]
apache_beam.yaml.yaml_mapping.validate_generic_expressions(base_type, config, input_pcolls) None[source]
apache_beam.yaml.yaml_mapping.py_value_to_js_dict(py_value)[source]
apache_beam.yaml.yaml_mapping.is_expr(v)[source]
apache_beam.yaml.yaml_mapping.normalize_fields(pcoll, fields, drop=(), append=False, language='generic')[source]
apache_beam.yaml.yaml_mapping.create_mapping_providers()[source]