Doctor
Doctor
This issue should be fixed by https://github.com/tiangolo/fastapi/pull/5855
@Kludex Alias in `File(alias="someAlias")` doesn't seem to work either, just ran into this in my codebase 🤔
Seems like currently you can specify `json_schema_extra={"alias": alias}` as a workaround
Do we need to have new public methods `resolve_permission_async` and `resolve_permission_sync`? You can just return a `bool | Awaitable[bool]` from has_permission based on if any of the underlying permissions are...
@PashaDem Because I personally don't think you need an extra dependency/tool inside of your docker container, if you need it for something - add it to your docker image.
Np, just made an issue so it's documented and is easier to find ❤️
Adding `__init__.py` actually breaks some tools like mypy: ```py # src/some_package/test.py def a() -> int: return 42 ``` ``` # main.py from some_package.test import a reveal_type(a()) ``` Without `__init__.py`: ```...
Libraries might use the following structure: ``` root/ # Which is the project root library/ __init__.py ... pyproject.toml ``` In this case developers would want to treat import from `library`...
I'd say having `src` directory is quite common, and specifying multiple files in `per-file-ignores` is a bit tedious Maybe there is a way to ignore files that are placed directly...
> > I'd say having `src` directory is quite common > > Oh, I'm aware of that, I use it all the time 😄. It's how common it is to...