Skip to content

Commit 1ee5c1a

Browse files
committed
rename/restore to query_secrets to avoid namespace collision with numpy
1 parent fa8e1d8 commit 1ee5c1a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,4 +129,4 @@ dmypy.json
129129
.pyre/
130130

131131
# secrets
132-
secrets.py
132+
query_secrets.py

google_custom_search/google_scratcher.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212

1313
# Third-party
1414
import pandas as pd
15-
import secrets
15+
import query_secrets
1616
import requests
1717
from requests.adapters import HTTPAdapter
1818
from urllib3.util.retry import Retry
1919

2020
today = dt.datetime.today()
21-
API_KEYS = secrets.API_KEYS
21+
API_KEYS = query_secrets.API_KEYS
2222
API_KEYS_IND = 0
2323
CWD = os.path.dirname(os.path.abspath(__file__))
2424
DATA_WRITE_FILE = (
@@ -31,7 +31,7 @@
3131
f"{today.year}_{today.month}_{today.day}.csv"
3232
)
3333
SEARCH_HALFYEAR_SPAN = 20
34-
PSE_KEY = secrets.PSE_KEY
34+
PSE_KEY = query_secrets.PSE_KEY
3535

3636

3737
def get_license_list():

0 commit comments

Comments
 (0)