Mario Ishac
Mario Ishac
Because [`Server#run`](https://github.com/encode/uvicorn/blob/320fd6d975d47257aecde808d602c9a57fb74cba/uvicorn/server.py#L46) calls [`Config#load`](https://github.com/encode/uvicorn/blob/320fd6d975d47257aecde808d602c9a57fb74cba/uvicorn/server.py#L56) within [`loop.run_until_complete(self.serve(...))`](https://github.com/encode/uvicorn/blob/320fd6d975d47257aecde808d602c9a57fb74cba/uvicorn/server.py#L49), a config load that involves asynchronously constructing an app fails because the event loop is already running. Note that this config load will fail...
Fixes #941 by identifying the 3 call sites (test utility, gunicorn worker, uvicorn runner itself) `Server#serve` is used at and moving `Config#load` to those sites.
In this following, assume there is a class `Creator` with a static method `create` that receives one type argument and one argument of that type (the value). `String myString =...
See https://maximorlov.com/deploying-to-github-pages-dont-forget-to-fix-your-links/#prefix-all-links for more context, what is the equivalent solution in Aleph.js?
From the README: > Like pip-compile, uv generates a platform-specific requirements.txt file (unlike, e.g., poetry and pdm, which generate platform-agnostic poetry.lock and pdm.lock files). As such, uv's requirements.txt files may...