Skip to content

Commit c613eac

Browse files
committed
Fixed the linter errors by removing unnecessary global declarations
1 parent 6c5e76d commit c613eac

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

scripts/jobs/planning/tascomi_api_ingestion.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ def not_today(date_str):
4242

4343

4444
def get_tascomi_resource(page_number, url, body):
45-
global public_key
46-
global private_key
47-
4845
print(f"Calling API to get page {page_number}")
4946

5047
headers = {
@@ -94,9 +91,6 @@ def calculate_auth_hash(public_key, private_key):
9491

9592

9693
def get_number_of_pages(resource, query=""):
97-
global public_key
98-
global private_key
99-
10094
headers = {"content-type": "application/json", "content-length": "0"}
10195

10296
headers = authenticate_tascomi(headers, public_key, private_key)

0 commit comments

Comments
 (0)