Skip to content

Commit

Permalink
fixup! Fixup for the s3 file names
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanovyordan committed Aug 8, 2023
1 parent f2bcd8a commit 0113bb5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions target_snowflake/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import os
import sys
import copy
import datetime

from typing import Dict, List, Optional
from joblib import Parallel, delayed, parallel_backend
Expand Down Expand Up @@ -528,7 +527,7 @@ def main():
if args.config:
with open(args.config, encoding="utf8") as config_input:
config = json.load(config_input)
date_is = datetime.datetime.now().strftime("%Y-%m-%d")
date_is = datetime.now().strftime("%Y-%m-%d")
config["s3_key_prefix"] = f"{config['s3_key_prefix']}{date_is}_pid_{str(os.getpid())}/"
else:
config = {}
Expand Down

0 comments on commit 0113bb5

Please sign in to comment.