Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Jess Frazelle <github@jessfraz.com>
  • Loading branch information
jessfraz committed Apr 5, 2024
1 parent df9083c commit 79b977a
Show file tree
Hide file tree
Showing 5 changed files with 386 additions and 374 deletions.
9 changes: 9 additions & 0 deletions generate/functions-ws.py.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,19 @@ class WebSocket:
self.ws = sync(
{% for arg in args %}
{% if arg.in_query %}
{% if arg.is_optional == False %}
{{arg.name}},
{% endif %}
{% endif %}
{% endfor %}
client=client,
{% for arg in args %}
{% if arg.in_query %}
{% if arg.is_optional %}
{{arg.name}}={{arg.name}},
{% endif %}
{% endif %}
{% endfor %}
)

def __enter__(self,
Expand Down
Loading

0 comments on commit 79b977a

Please sign in to comment.