We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b0df1a commit 6cb0898Copy full SHA for 6cb0898
functions-python/reverse_geolocation/src/reverse_geolocation_processor.py
@@ -359,6 +359,9 @@ def reverse_geolocation_process(
359
stops_df=stops_df,
360
db_session=db_session,
361
)
362
+ # Commit the bounding box update to the database before the reverse geolocation extraction.
363
+ # This ensures that the bounding box is updated even if the reverse geolocation processing fails.
364
+ db_session.commit()
365
366
location_groups = reverse_geolocation(
367
strategy=strategy,
0 commit comments