Skip to content

Commit

Permalink
Fix missing args in async client
Browse files Browse the repository at this point in the history
  • Loading branch information
gacou54 committed Aug 29, 2023
1 parent 04ea541 commit efe55b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "simple-openapi-client"
version = "0.5.1"
version = "0.5.2"
description = "OpenAPI Python client generator that follows the KISS principle."
authors = ["Gabriel Couture <gacou54@gmail.ca>"]
license = "BSD-3-Clause"
Expand Down
2 changes: 1 addition & 1 deletion simple_openapi_client/templates/async_client.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class {{ CLIENT }}(httpx.AsyncClient):
*args, **kwargs
Parameters passed to the httpx.Client (headers, timeout, etc.)
"""
super().__init__()
super().__init__(*args, **kwargs)
self.url = url
self.version = '{{ document.info.version }}'
self.return_raw_response = return_raw_response
Expand Down

0 comments on commit efe55b1

Please sign in to comment.