This commit is contained in:
2026-01-05 14:47:49 -01:00
5 changed files with 53 additions and 18 deletions

View File

@@ -32,7 +32,7 @@ def add_events(
_res = coll.insert_many(data)
if _res.acknowledged:
logger.info(f"Added {len(_res.inserted_ids)} events.")
logger.info(f"Added {len(_res.inserted_ids)} events to {db}.{collection}")
else:
logger.info("Could not add events to the database.")
@@ -45,7 +45,7 @@ def add_stations(
_res = coll.insert_many(data)
if _res.acknowledged:
logger.info(f"Added {len(_res.inserted_ids)} events.")
logger.info(f"Added {len(_res.inserted_ids)} stations to {db}.{collection}")
else:
logger.info("Could not add events to the database.")