- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 363 for created (0.19 sec)
-
docs/en/docs/alternatives.md
But then, the project's focus shifted. It was no longer an API web framework, as the creator needed to focus on Starlette. Now APIStar is a set of tools to validate OpenAPI specifications, not a web framework. !!! info APIStar was created by Tom Christie. The same guy that created: * Django REST Framework
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 23.2K bytes - Viewed (0) -
docs_src/path_operation_configuration/tutorial005_py310.py
price: float 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**: required
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 698 bytes - Viewed (0) -
.github/workflows/issue-manager.yml
Others - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Tue Jan 30 18:46:56 GMT 2024 - 1.1K bytes - Viewed (0) -
tests/test_tutorial/test_path_operation_configurations/test_tutorial005_py310.py
}, "summary": "Create an item", "description": "Create an item with all the information:\n\n- **name**: each item must have a name\n- **description**: a long description\n- **price**: required\n- **tax**: if the item doesn't have tax, you can omit this\n- **tags**: a set of unique tag strings for this item", "operationId": "create_item_items__post", "requestBody": {
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Sep 28 04:14:40 GMT 2023 - 8.9K bytes - Viewed (0) -
tests/test_tutorial/test_path_operation_configurations/test_tutorial005_py39.py
}, "summary": "Create an item", "description": "Create an item with all the information:\n\n- **name**: each item must have a name\n- **description**: a long description\n- **price**: required\n- **tax**: if the item doesn't have tax, you can omit this\n- **tags**: a set of unique tag strings for this item", "operationId": "create_item_items__post", "requestBody": {
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Sep 28 04:14:40 GMT 2023 - 8.9K bytes - Viewed (0) -
docs_src/path_operation_configuration/tutorial005.py
price: float tax: Union[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**: required
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat May 14 11:59:59 GMT 2022 - 741 bytes - Viewed (0) -
docs_src/additional_status_codes/tutorial001_an.py
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 734 bytes - Viewed (0) -
docs/en/docs/tutorial/bigger-applications.md
You want to have the *path operations* related to your users separated from the rest of the code, to keep it organized. But it's still part of the same **FastAPI** application/web API (it's part of the same "Python Package"). You can create the *path operations* for that module using `APIRouter`. ### Import `APIRouter` You import it and create an "instance" the same way you would with the class `FastAPI`:
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 18.6K bytes - Viewed (0) -
docs/en/docs/how-to/async-sql-encode-databases.md
Here, this section would run directly, right before starting your **FastAPI** application. * Create an `engine`. * Create all the tables from the `metadata` object. ```Python hl_lines="25-28" {!../../../docs_src/async_sql_databases/tutorial001.py!} ``` ## Create models Create Pydantic models for: * Notes to be created (`NoteIn`).
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 5.3K bytes - Viewed (0) -
.github/workflows/publish.yml
Others - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Tue Apr 02 03:12:00 GMT 2024 - 1.1K bytes - Viewed (0)