improve doc strings and comments and remove useless exceptions.

This commit is contained in:
Akash Mahanty
2022-02-09 14:32:15 +05:30
parent 6d233f24fc
commit 25eb709ade
7 changed files with 44 additions and 48 deletions

View File

@@ -2,7 +2,7 @@
Utility functions required for accessing the CDX server API.
These are here in this module so that we dont make any module too
big.
long.
"""
import re
@@ -63,7 +63,7 @@ def get_response(
backoff_factor: float = 0.5,
) -> Union[requests.Response, Exception]:
"""
Make get request to the CDX server and return the response.
Makes get request to the CDX server and returns the response.
"""
session = requests.Session()