Skip to content

Commit

Permalink
Merge pull request #312 from labd/fix/python-base-client
Browse files Browse the repository at this point in the history
fix(python): use correct base client init
  • Loading branch information
jenschude authored Apr 8, 2024
2 parents 1d29b69 + 4ed754f commit 6584c41
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ class ApiRootFileProducer constructor(
content = """|
|$pyGeneratedComment
|${type.imports("client")}
|from commercetools.client import BaseClient
|from commercetools.base_client import BaseClient
|
|
|class Client(BaseClient):
|
| def __init__(self, *args, **kwargs):
| kwargs.setdefault("url", "${api.baseUri?.template}")
| super().__init__(self, **kwargs)
| super().__init__(**kwargs)
|
| <${type.subResources("self").escapeAll()}>
|
Expand Down

0 comments on commit 6584c41

Please sign in to comment.