Thanks everyone!
@brave vigil I tried using a2wsgi... I'm probably not doing this correctly, but I'm getting errors in VSCode that state Argument of type "PyLootServer" cannot be assigned to parameter "app" of type "WSGIApp" in function "__init__" Type "PyLootServer" cannot be assigned to type "WSGIApp",
And when I try to start Starlite, I get an ImproperlyConfiguredException :
raise ImproperlyConfiguredException( # pragma: no cover starlite.exceptions.http_exceptions.ImproperlyConfiguredException: 500: Parameter '' with type 'typing.Callable[[typing.Union[starlite.types.asgi_types.HTTPScope, starlite.types.asgi_types.WebSocketScope], typing.Callable[..., typing.Awaitable[typing.Union[starlite.types.asgi_types.HTTPRequestEvent, starlite.types.asgi_types.HTTPDisconnectEvent, starlite.types.asgi_types.WebSocketConnectEvent, starlite.types.asgi_types.WebSocketReceiveEvent, starlite.types.asgi_types.WebSocketDisconnectEvent]]], typing.Callable[[typing.Union[starlite.types.asgi_types.HTTPResponseStartEvent, starlite.types.asgi_types.HTTPResponseBodyEvent, starlite.types.asgi_types.HTTPServerPushEvent, starlite.types.asgi_types.HTTPDisconnectEvent, starlite.types.asgi_types.WebSocketAcceptEvent, starlite.types.asgi_types.WebSocketSendEvent, starlite.types.asgi_types.WebSocketResponseStartEvent, starlite.types.asgi_types.WebSocketResponseBodyEvent, starlite.types.asgi_types.WebSocketCloseEvent]], typing.Awaitable[NoneType]]], typing.Awaitable[NoneType]]' could not be mapped to an Open API type. This can occur if a user-defined generic type is resolved as a parameter. If '' should not be documented as a parameter, annotate it using the Dependency function, e.g., : ... = Dependency(...).