Skip to content

Commit

Permalink
Remove lint ignore directives from yaml_io.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmccluskey committed Jan 9, 2025
1 parent b4c3a4f commit 3aab6c6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sdks/python/apache_beam/yaml/yaml_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,11 +235,10 @@ def _validate_schema():
_validate_schema()
beam_schema = avroio.avro_schema_to_beam_schema(schema)
covert_to_row = avroio.avro_dict_to_beam_row(schema, beam_schema)
# pylint: disable=line-too-long
return (
beam_schema,
lambda record: covert_to_row(
fastavro.schemaless_reader(io.BytesIO(record), schema))) # type: ignore[call-arg]
fastavro.schemaless_reader(io.BytesIO(record), schema)))
else:
raise ValueError(f'Unknown format: {format}')

Expand Down

0 comments on commit 3aab6c6

Please sign in to comment.