Skip to content

Commit

Permalink
add stop iteration to close
Browse files Browse the repository at this point in the history
  • Loading branch information
riteshghorse committed Oct 9, 2023
1 parent 8fc8e51 commit 94b86c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdks/python/apache_beam/io/gcp/bigquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -1317,7 +1317,7 @@ def __next__(self):
self.read_rows_response.avro_rows.serialized_binary_rows)
return fastavro.schemaless_reader(self.bytes_reader, self.avro_schema)
else:
raise EOFError
raise StopIteration


@deprecated(since='2.11.0', current="WriteToBigQuery")
Expand Down

0 comments on commit 94b86c2

Please sign in to comment.