From b1fd221a6d86f47492b3041d767064cfc2a89773 Mon Sep 17 00:00:00 2001 From: Jack McCluskey <34928439+jrmccluskey@users.noreply.github.com> Date: Tue, 17 Sep 2024 10:02:16 -0400 Subject: [PATCH] Restore mypy ignore[call-arg] in yaml_io.py (#32475) * Restore mypy ignore[call-arg] in yaml_io.pu * formatting --- sdks/python/apache_beam/yaml/yaml_io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdks/python/apache_beam/yaml/yaml_io.py b/sdks/python/apache_beam/yaml/yaml_io.py index e4c3f43f8472..689b5d9eb086 100644 --- a/sdks/python/apache_beam/yaml/yaml_io.py +++ b/sdks/python/apache_beam/yaml/yaml_io.py @@ -240,7 +240,7 @@ def _validate_schema(): return ( beam_schema, lambda record: covert_to_row( - fastavro.schemaless_reader(io.BytesIO(record), schema))) + fastavro.schemaless_reader(io.BytesIO(record), schema))) # type: ignore[call-arg] else: raise ValueError(f'Unknown format: {format}')