This is an automated email from the ASF dual-hosted git repository.
jrmccluskey pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new b1fd221a6d8 Restore mypy ignore[call-arg] in yaml_io.py (#32475)
b1fd221a6d8 is described below
commit b1fd221a6d86f47492b3041d767064cfc2a89773
Author: Jack McCluskey <[email protected]>
AuthorDate: Tue Sep 17 10:02:16 2024 -0400
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 e4c3f43f847..689b5d9eb08 100644
--- a/sdks/python/apache_beam/yaml/yaml_io.py
+++ b/sdks/python/apache_beam/yaml/yaml_io.py
@@ -240,7 +240,7 @@ def _create_parser(
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}')