Skip to content

Commit 928df3b

Browse files
remove unused f strings and variables
1 parent 0643e78 commit 928df3b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

scripts/jobs/data_and_insight/icaseworks_ingest_to_raw.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def dump_dataframe(response, location, filename):
145145
def get_latest_timestamp(table_dict):
146146
# TODO: reintroduce try except
147147
# try:
148-
print(f"Getting max timestamp")
148+
print("Getting max timestamp")
149149
# 2025-01-05T15:06:16
150150

151151
# TODO: needs refactoring to allow for different tables
@@ -219,7 +219,6 @@ def authenticate_icaseworks(api_key, secret):
219219
auth_payload = []
220220

221221
auth_headers = {"Authorization": authorization}
222-
print(f"")
223222
return auth_payload, auth_headers
224223

225224

@@ -290,8 +289,6 @@ def main():
290289
]
291290

292291
for data_dict in list_of_datadictionaries:
293-
location = data_dict["location"]
294-
295292
if data_dict["full_ingestion"] == False:
296293
date_to_track_from = get_latest_timestamp(data_dict)
297294
print(f"Starting calls from {date_to_track_from}")

0 commit comments

Comments
 (0)