Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
Signed-off-by: Jess Frazelle <[email protected]>
  • Loading branch information
jessfraz committed Nov 29, 2023
1 parent 098e1fa commit 243ed32
Show file tree
Hide file tree
Showing 3 changed files with 214 additions and 214 deletions.
2 changes: 1 addition & 1 deletion generate/functions-ws.py.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ class WebSocket:

"""
for message in self.ws:
yield message
return {{response_type}}.from_dict(json.loads(message))

def send(self, data:{% for arg in args %}{%if arg.name == "body" %}{{arg.type}}{% endif %}{% endfor %}):
"""Send data to the websocket."""
Expand Down
Loading

1 comment on commit 243ed32

@vercel
Copy link

@vercel vercel bot commented on 243ed32 Nov 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.