- Sort Score
- Num 10 results
- Language All
Results 971 - 980 of 1,121 for defs (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs_src/body_multiple_params/tutorial001_an_py39.py
app = FastAPI() class Item(BaseModel): name: str description: Union[str, None] = None price: float tax: Union[float, None] = None @app.put("/items/{item_id}") async def update_item( item_id: Annotated[int, Path(title="The ID of the item to get", ge=0, le=1000)], q: Union[str, None] = None, item: Union[Item, None] = None, ): results = {"item_id": item_id} if q:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 610 bytes - Click Count (0) -
docs_src/body_fields/tutorial001_py310.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri May 13 23:38:22 GMT 2022 - 523 bytes - Click Count (0) -
docs_src/additional_responses/tutorial003_py39.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 837 bytes - Click Count (0) -
tests/test_operations_signatures.py
import inspect from fastapi import APIRouter, FastAPI method_names = ["get", "put", "post", "delete", "options", "head", "patch", "trace"] def test_signatures_consistency(): base_sig = inspect.signature(APIRouter.get) for method_name in method_names: router_method = getattr(APIRouter, method_name) app_method = getattr(FastAPI, method_name) router_sig = inspect.signature(router_method)
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon May 27 12:08:13 GMT 2019 - 934 bytes - Click Count (0) -
docs_src/body_multiple_params/tutorial004_py310.py
description: str | None = None price: float tax: float | None = None class User(BaseModel): username: str full_name: str | None = None @app.put("/items/{item_id}") async def update_item( *, item_id: int, item: Item, user: User, importance: int = Body(gt=0), q: str | None = None, ):Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Mar 10 18:49:18 GMT 2023 - 603 bytes - Click Count (0) -
docs_src/response_model/tutorial004_py39.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat May 14 11:59:59 GMT 2022 - 627 bytes - Click Count (0) -
docs/en/data/sponsors.yml
img: https://fastapi.tiangolo.com/img/sponsors/permit.png - url: https://www.interviewpal.com/?utm_source=fastapi&utm_medium=open-source&utm_campaign=dev-hiring title: InterviewPal - AI Interview Coach for Engineers and Devs img: https://fastapi.tiangolo.com/img/sponsors/interviewpal.png - url: https://dribia.com/en/ title: Dribia - Data Science within your reach img: https://fastapi.tiangolo.com/img/sponsors/dribia.png bronze:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Dec 01 20:06:57 GMT 2025 - 4.6K bytes - Click Count (0) -
docs/de/docs/deployment/cloud.md
## FastAPI Cloud { #fastapi-cloud } **<a href="https://fastapicloud.com" class="external-link" target="_blank">FastAPI Cloud</a>** wurde vom selben Autor und Team hinter **FastAPI** entwickelt. Es vereinfacht den Prozess des **Erstellens**, **Deployens** und **Zugreifens** auf eine API mit minimalem Aufwand. Es bringt die gleiche **Developer-Experience** beim Erstellen von Apps mit FastAPI auch zum **Deployment** in der Cloud. 🎉Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 02 17:32:56 GMT 2025 - 1.4K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/CleanAcceptedApiChanges.groovy
@PathSensitive(PathSensitivity.ABSOLUTE) @InputDirectory abstract DirectoryProperty getJsonFileDirectory() @TaskAction void clean() { def jsonFileManager = new AcceptedApiChangesJsonFileManager() jsonFileDirectory.asFile.get().listFiles() ?.findAll { it.name.endsWith(".json") } ?.each { jsonFileManager.emptyAcceptedApiChanges(it) }Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Jun 05 08:27:29 GMT 2024 - 1.6K bytes - Click Count (0) -
docs_src/path_operation_configuration/tutorial005_py310.py
tax: float | None = None tags: set[str] = set() @app.post( "/items/", response_model=Item, summary="Create an item", response_description="The created item", ) async def create_item(item: Item): """ Create an item with all the information: - **name**: each item must have a name - **description**: a long description - **price**: requiredCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 698 bytes - Click Count (0)