Skip to content

Commit

Permalink
OSM
Browse files Browse the repository at this point in the history
  • Loading branch information
docuracy committed Jan 25, 2025
1 parent 3379ca4 commit 100033d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vespa/repository/api/ingestion/streamer.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def _parse_xml_stream(self, stream):
async def async_generator():
# Use xmltodict's streaming mode to process XML elements one by one
try:
for doc in xmltodict.parse(stream, stream=True):
for doc in xmltodict.parse(stream):
yield doc
except Exception as e:
self.logger.error(f"Failed to parse XML stream. Error: {e}")
Expand Down

0 comments on commit 100033d

Please sign in to comment.