From 0a87ba786c61a089fba8f22533727813128960f8 Mon Sep 17 00:00:00 2001 From: Jun-te Kim Date: Mon, 16 Feb 2026 14:14:01 +0000 Subject: [PATCH] local run stuff --- backend/address2UPRN/main.py | 2 -- backend/postcode_splitter/main.py | 9 --------- 2 files changed, 11 deletions(-) diff --git a/backend/address2UPRN/main.py b/backend/address2UPRN/main.py index a067593e..af29a095 100644 --- a/backend/address2UPRN/main.py +++ b/backend/address2UPRN/main.py @@ -492,8 +492,6 @@ def save_results_to_s3( """ if bucket_name is None: bucket_name = os.getenv("S3_BUCKET_NAME") - if bucket_name is None: - bucket_name = "retrofit-data-dev" if not bucket_name: logger.error( diff --git a/backend/postcode_splitter/main.py b/backend/postcode_splitter/main.py index 6cc40fc4..70ecf5f1 100644 --- a/backend/postcode_splitter/main.py +++ b/backend/postcode_splitter/main.py @@ -23,15 +23,6 @@ def upload_batch_to_s3( ) -> str: """ Upload batch DataFrame to S3 as CSV. - - Args: - batch_df: The DataFrame containing batch data - task_id: The parent task ID (used for file path) - sub_task_id: The subtask ID (used for file path) - bucket_name: The S3 bucket name (defaults to env variable) - - Returns: - S3 URI (s3://bucket/key) of the uploaded file """ if bucket_name is None: bucket_name = os.getenv("S3_BUCKET_NAME")