Traceback (most recent call last):


 "[...]/foo.py", line 3, in <module>

class Foo(pydantic.BaseSettings, env_prefix='BAR_'):


 "[...]/lib/python3.9/site-packages/pydantic/main.py", line 361, in __new__

cls = super().__new__(mcs, name, bases, new_namespace, **kwargs)


 "/nix/store/cdifcrgj5phbvspzs02yglz35qql4i1x-python3-3.9.2/lib/python3.9/abc.py", line 85, in __new__

cls = super().__new__(mcls, name, bases, namespace, **kwargs)
TypeError: Foo.__init_subclass__() takes no keyword arguments

Traceback (most recent call last):


 "/usr/local/lib/python3.9/site-packages/uvicorn/protocols/http/httptools_impl.py", line 396, in run_asgi

result = await app(self.scope, self.receive, self.send)


 "/usr/local/lib/python3.9/site-packages/uvicorn/middleware/proxy_headers.py", line 45, in __call__

return await self.app(scope, receive, send)


 "/usr/local/lib/python3.9/site-packages/engineio/async_drivers/asgi.py", line 54, in __call__

await self.engineio_server.handle_request(scope, receive, send)


 "/usr/local/lib/python3.9/site-packages/socketio/asyncio_server.py", line 356, in handle_request

return await self.eio.handle_request(*args, **kwargs)


 "/usr/local/lib/python3.9/site-packages/engineio/asyncio_server.py", line 191, in handle_request

environ = translate_request(*args, **kwargs)
TypeError: translate_request() takes 1 positional argument but 3 were given
