Skip to content

Commit cb706c6

Browse files
committed
debug, need to start somewhere :)
1 parent c2934ba commit cb706c6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/datasync/pit_registering_salmon.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,7 @@ def replicate(
445445
environment: bool = typer.Option(False, help="Add environment data to S3"),
446446
):
447447
"""Upload data from .duckdb to S3 bucket."""
448+
log.info("Starting replication process", bucket=bucket, duckdb_path=duckdb_path)
448449
os.environ["NINAS3"] = f"{{type: s3, bucket: {bucket}, use_environment: true }}"
449450
os.environ["AWS_ACCESS_KEY_ID"] = access_key
450451
os.environ["AWS_SECRET_ACCESS_KEY"] = secret_key
@@ -465,7 +466,7 @@ def replicate(
465466

466467
# only include configs for enabled data types that have data
467468
stream_configs = {}
468-
469+
log.info("Testing hallo do you come here??")
469470
if readers and check_table_has_data(duckdb_path, "readers_voltage", dataset_name):
470471
stream_configs["readers"] = {
471472
"table_name": f"{dataset_name}.readers_voltage",

0 commit comments

Comments
 (0)