Skip to content

Commit

Permalink
fix(client): remove undefined *args
Browse files Browse the repository at this point in the history
  • Loading branch information
NextFire committed Dec 1, 2024
1 parent aae9faa commit a9dedf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mahou/templates/aiohttp_client.py.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ class {{module_name.capitalize()}}Module():

class ClientSession(aiohttp.ClientSession):
def __init__(self, server_url: str, **kwargs):
super().__init__(*args, **kwargs)
super().__init__(**kwargs)
{% for module in modules -%}
self.{{module}}: {{module.capitalize()}}Module = {{module.capitalize()}}Module(self, server_url)
{% endfor %}
Expand Down

0 comments on commit a9dedf0

Please sign in to comment.