Skip to content

Commit 2dc8b4a

Browse files
Chore: Address review comments in firebase_github.py
Removed comments related to `allowed_methods` as they were deemed unnecessary.
1 parent fbcfd2d commit 2dc8b4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/gha/firebase_github.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,14 @@ def set_repo_url(repo):
5858
def requests_retry_session(retries=RETRIES,
5959
backoff_factor=BACKOFF,
6060
status_forcelist=RETRY_STATUS,
61-
allowed_methods=frozenset(['GET', 'POST', 'PUT', 'DELETE', 'PATCH'])): # Added allowed_methods
61+
allowed_methods=frozenset(['GET', 'POST', 'PUT', 'DELETE', 'PATCH'])):
6262
session = requests.Session()
6363
retry = Retry(total=retries,
6464
read=retries,
6565
connect=retries,
6666
backoff_factor=backoff_factor,
6767
status_forcelist=status_forcelist,
68-
allowed_methods=allowed_methods) # Added allowed_methods
68+
allowed_methods=allowed_methods)
6969
adapter = HTTPAdapter(max_retries=retry)
7070
session.mount('http://', adapter)
7171
session.mount('https://', adapter)

0 commit comments

Comments
 (0)