Skip to content

Commit

Permalink
Returns v1 always
Browse files Browse the repository at this point in the history
  • Loading branch information
hiwakaba committed Oct 3, 2024
1 parent 8a1f229 commit f1f6846
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/k2hr3client/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ class K2hr3Api(abc.ABC): # pylint: disable=too-many-instance-attributes

def __init__(self, basepath: str, params: Optional[str] = None, # pylint: disable=R0917 # noqa
hdrs: Optional[dict] = None, body: Optional[str] = None,
version: str = DEFAULT_VERSION) -> None: # noqa
version: str = DEFAULT_VERSION) -> None: # pylint: disable=W0613 # noqa
"""Init the K2hr3 API members.
:raise K2hr3Exception: if the val is invalid.
Expand All @@ -167,7 +167,7 @@ def __init__(self, basepath: str, params: Optional[str] = None, # pylint: disab
self.urlparams = params
self.headers = hdrs
self.body = body
self.version = version
self.version = K2hr3Api.DEFAULT_VERSION

# following attrs are dynamically set later.
self.resp = None # type: ignore
Expand Down

0 comments on commit f1f6846

Please sign in to comment.