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 a9e6ab7 commit c4c7310Copy full SHA for c4c7310
polygon/rest/base.py
@@ -31,7 +31,11 @@ def __init__(
31
# https://urllib3.readthedocs.io/en/stable/reference/urllib3.poolmanager.html
32
# https://urllib3.readthedocs.io/en/stable/reference/urllib3.connectionpool.html#urllib3.HTTPConnectionPool
33
self.client = urllib3.PoolManager(
34
- num_pools=num_pools, headers={"Authorization": "Bearer " + self.API_KEY}
+ num_pools=num_pools,
35
+ headers={
36
+ "Authorization": "Bearer " + self.API_KEY,
37
+ "User-Agent": "Python client",
38
+ },
39
)
40
self.timeout = urllib3.Timeout(connect=connect_timeout, read=read_timeout)
41
self.retries = retries
0 commit comments