From beaba0e876915f9ac39d581dccc56a5ff95b19b0 Mon Sep 17 00:00:00 2001 From: gacou54 Date: Tue, 29 Aug 2023 17:05:22 -0400 Subject: [PATCH] Fix missing *args in async client --- pyorthanc/async_client.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyorthanc/async_client.py b/pyorthanc/async_client.py index 3acb175..5bdb48e 100644 --- a/pyorthanc/async_client.py +++ b/pyorthanc/async_client.py @@ -35,7 +35,7 @@ def __init__(self, url: str, username: Optional[str] = None, password: Optional[ *args, **kwargs Parameters passed to the httpx.Client (headers, timeout, etc.) """ - super().__init__() + super().__init__(*args, **kwargs) self.url = url self.version = '1.12.1' self.return_raw_response = return_raw_response diff --git a/pyproject.toml b/pyproject.toml index 8ebb74c..00e21d4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,7 @@ pydicom = "^2.3.0" [tool.poetry.dev-dependencies] pytest = "^7.1.0" -simple-openapi-client = "^0.5.1" +simple-openapi-client = "^0.5.2" [build-system] requires = ["poetry-core>=1.0.0"]