From dbc1b4910b4b27c195bbfed9e1ba2a6e7b01d8bd Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Thu, 21 Sep 2023 09:40:32 -0700 Subject: [PATCH] yapf --- sdks/python/apache_beam/yaml/yaml_transform.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/sdks/python/apache_beam/yaml/yaml_transform.py b/sdks/python/apache_beam/yaml/yaml_transform.py index 0deed8ac8913..01f8b4853436 100644 --- a/sdks/python/apache_beam/yaml/yaml_transform.py +++ b/sdks/python/apache_beam/yaml/yaml_transform.py @@ -922,13 +922,12 @@ def __init__(self, spec, providers={}): # pylint: disable=dangerous-default-val spec = yaml.load(spec, Loader=SafeLineLoader) if isinstance(providers, dict): providers = { - key: yaml_provider.as_provider_list(key, value) - for (key, value) in providers.items() - } + key: yaml_provider.as_provider_list(key, value) + for (key, value) in providers.items() + } # TODO(BEAM-26941): Validate as a transform. self._providers = yaml_provider.merge_providers( - providers, - yaml_provider.standard_providers()) + providers, yaml_provider.standard_providers()) self._spec = preprocess(spec, known_transforms=self._providers.keys()) def expand(self, pcolls):