mirror of
https://github.com/kennethreitz/neon-api-python.git
synced 2026-06-05 22:50:18 +00:00
better user_agent
This commit is contained in:
@@ -302,7 +302,7 @@ class NeonAPI:
|
||||
|
||||
# Public attributes.
|
||||
self.base_url = base_url
|
||||
self.user_agent = f"neon-client/{__VERSION__}"
|
||||
self.user_agent = f"neon-client/python version=({__VERSION__})"
|
||||
|
||||
def __repr__(self):
|
||||
return f"<NeonAPI base_url={self.base_url!r}>"
|
||||
|
||||
Reference in New Issue
Block a user