We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f3860a commit 3b1a0c5Copy full SHA for 3b1a0c5
fastapi_sio/applications.py
@@ -79,7 +79,11 @@ def __init__(
79
app.mount(mount_location, self._asgiapp)
80
app.state.sio = self._sio
81
82
- def asyncapi(self) -> AsyncAPI:
+ @property
83
+ def asgi_app(self) -> socketio.ASGIApp:
84
+ return self._asgiapp
85
+
86
+ def asyncapi(self) -> AsyncAPI | None:
87
if not self.asyncapi_schema:
88
self.asyncapi_schema = get_asyncapi(
89
id="urn:com:" + "_".join(self._app.title.lower().split(" ")),
0 commit comments