Lie Ryan
Lie Ryan
Currently, this code will be served to the browser as text/plain thus the HTML are not rendered by the browser: ``` from wsgiref.simple_server import make_server from pyramid.config import Configurator def...
This allows a number of different scenarios, for example, in situations where the user running docker-py does not have permission to read the .docker/config.json file. I encountered this situation when...
Currently, `redirect_slashes` option that is used to turn off automatic redirection of trailing slash, which is available from Starlette but doesn't work in FastAPI.
This is one way this issue could be addressed in Starlette. This basically change the type of the `headers` value for `host` to a marker class that inherits from `bytes`...
Discussion: https://github.com/tiangolo/fastapi/discussions/9744 Using `functools.partial()` with dependables feels like a very obvious idiom. `partial()` already works for dependables that are plain function, but it doesn't work consistently, partial of async and...
Minor type hint improvements
What needed to be changed to make `Resource`, `File`, and `Folder` implement a `pathlib`-like interface: 1. `Resource` should implement `os.PathLike` #738 2. `File.read()` should be deprecated, renamed to `File.read_text()` 3....
### Description Now that https://github.com/psf/black/pull/1879 is merged, once that PR is in a versioned release of black, we would be able to undo the hacks that were needed to work...
**Is your feature request related to a problem? Please describe.** #456 adds pattern matching to rope, but it seems like support is incomplete as `patchedast` currently doesn't handle these nodes:...
pickle is insecure and it's not very efficient for larger, more complex datasets. This will be a multiple steps plan towards moving into sqlite-backed storage: 1. [x] Remove rarely used...