Skip to content

Commit

Permalink
Merge pull request #516 from ddps-lab/azure-sps-for-PR
Browse files Browse the repository at this point in the history
AZURE UPLOAD MODULE EXCEPTION!  Tuple or struct_time argument required 수정
  • Loading branch information
krtaiyang authored Feb 11, 2025
2 parents 229613f + 2c62804 commit 7d96e2b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ def upload_timestream(data, time_datetime):
data['SpotPrice'] = data['SpotPrice'].fillna(-1)
data['IF'] = data['IF'].fillna(-1)

time_value = time_datetime
time_value = time.mktime(time_value)
time_value = time.mktime(time_datetime.timetuple())
time_value = str(int(round(time_value * 1000)))

records = []
Expand Down

0 comments on commit 7d96e2b

Please sign in to comment.