fastapi icon indicating copy to clipboard operation
fastapi copied to clipboard

FastAPI framework, high performance, easy to learn, fast to code, ready for production

Results 724 fastapi issues
Sort by recently updated
recently updated
newest added

Depends can be used with a direct form, which although not recommended, is still supported. The following code is problematic wrt. type checking. ``` def dependency() -> str: return "dependency"...

refactor
p3

### Discussed in https://github.com/tiangolo/fastapi/discussions/11214 Originally posted by **netanel-haber** February 28, 2024 ### First Check - [X] I added a very descriptive title here. - [X] I used the GitHub search...

question

Typo in docs: - Python 3.10+: https://fastapi.tiangolo.com/tutorial/testing/#__tabbed_1_1 - Python 3.9+: https://fastapi.tiangolo.com/tutorial/testing/#__tabbed_1_2 - Python 3.8+: https://fastapi.tiangolo.com/tutorial/testing/#__tabbed_1_3 Correct references: - Python 3.10+ non-Annotated: https://fastapi.tiangolo.com/tutorial/testing/#__tabbed_1_4 - Python 3.8+ non-Annotated: https://fastapi.tiangolo.com/tutorial/testing/#__tabbed_1_5 Code snapshot: ```...

refactor

Added link for Deploying a fastapi project using lambda, docker, aurora, cdk & github actions

docs

### Is your feature request related to a problem All of the security schemas currently supported by FastAPI rely on some sort of "client-server synergy" , where, for instance, the...

feature
reviewed

Update this small part at: https://fastapi.tiangolo.com/tutorial/query-params-str-validations/#make-it-required where it was still written with `Union` (Python 3.9) syntax, and added tabs for `Python 3.10+ Annotated`

docs

This PR addresses the issue (point 1.) from https://github.com/tiangolo/fastapi/discussions/10697 Add missing `mode` argument when calling `create_response_field` for "custom" response models defined in the `responses` option of a route. The same...

bug

Update documentation example for HTTP middleware to complete type annotations in the signature. ```python import time from typing import Awaitable, Callable from fastapi import FastAPI, Request, Response app = FastAPI()...

docs

I am using a callable object to wrap an endpoint function for a custom APIRoute. The callable object calls the endpoint function with the `__call__` method. The `is_coroutine` check fails...

refactor