Skip to content

Commit dfc009a

Browse files
authored
Format code; set user agent to 1.3.1 (#13)
1 parent a68e492 commit dfc009a

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

patch_api/api_client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def __init__(
9191
self.default_headers[header_name] = header_value
9292
self.cookie = cookie
9393
# Set default User-Agent.
94-
self.user_agent = "OpenAPI-Generator/1.3.0/python"
94+
self.user_agent = "OpenAPI-Generator/1.3.1/python"
9595

9696
def __del__(self):
9797
if self._pool:

setup.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@
2020
# prerequisite: setuptools
2121
# http://pypi.python.org/pypi/setuptools
2222

23-
REQUIRES = ["urllib3 >= 1.25.3", "python-dateutil", "certifi"]
23+
REQUIRES = [
24+
"urllib3 >= 1.25.3",
25+
"python-dateutil",
26+
"certifi",
27+
]
2428

2529
setup(
2630
name=NAME,

0 commit comments

Comments
 (0)