We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7c4bff commit 009e683Copy full SHA for 009e683
scripts/shared.py
@@ -5,9 +5,9 @@
5
from datetime import datetime, timezone
6
7
# Third-party
8
-import requests
9
from git import InvalidGitRepositoryError, NoSuchPathError, Repo
10
from pandas import PeriodIndex
+from requests import Session
11
from requests.adapters import HTTPAdapter, Retry
12
13
# Constants
@@ -41,7 +41,7 @@ def get_session(accept_header=None):
41
status_forcelist=STATUS_FORCELIST,
42
)
43
44
- session = requests.Session()
+ session = Session()
45
46
headers = {"User-Agent": USER_AGENT}
47
if accept_header:
0 commit comments