mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
local run stuff
This commit is contained in:
parent
4ca538ecb2
commit
0a87ba786c
2 changed files with 0 additions and 11 deletions
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue