Skip to content

Commit 9ac63b3

Browse files
update docstring
1 parent fc08038 commit 9ac63b3

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/nypl_py_utils/classes/oauth2_api_client.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@
99
class Oauth2ApiClient:
1010
"""
1111
Client for interacting with an Oauth2 authenticated API such as NYPL's
12-
Platform API endpoints
12+
Platform API endpoints. Note with_retries is a boolean flag which
13+
determines if empty get requests will be retried 3 times or until
14+
they are successful. This is to address a known issue with the Sierra
15+
API where empty responses are returned intermittently.
1316
"""
1417

1518
def __init__(self, client_id=None, client_secret=None, base_url=None,

0 commit comments

Comments
 (0)