- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 39 for Tretter (0.17 sec)
-
docs_src/body_fields/tutorial001_an_py310.py
class Item(BaseModel): name: str description: str | None = Field( default=None, title="The description of the item", max_length=300 ) price: float = Field(gt=0, description="The price must be greater than zero") tax: float | None = None @app.put("/items/{item_id}") async def update_item(item_id: int, item: Annotated[Item, Body(embed=True)]): results = {"item_id": item_id, "item": item}
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 563 bytes - Viewed (0) -
docs_src/body_fields/tutorial001_an_py39.py
class Item(BaseModel): name: str description: Union[str, None] = Field( default=None, title="The description of the item", max_length=300 ) price: float = Field(gt=0, description="The price must be greater than zero") tax: Union[float, None] = None @app.put("/items/{item_id}") async def update_item(item_id: int, item: Annotated[Item, Body(embed=True)]): results = {"item_id": item_id, "item": item}
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 582 bytes - Viewed (0) -
SECURITY.md
I (the author, [@tiangolo](https://twitter.com/tiangolo)) will review it thoroughly and get back to you. ## Public Discussions Please restrain from publicly discussing a potential security vulnerability. ๐ It's better to discuss privately and try to find a solution first, to limit the potential impact as much as possible. --- Thanks for your help!
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Sep 11 16:15:49 GMT 2022 - 1.3K bytes - Viewed (0) -
docs/en/docs/history-design-future.md
## Future By this point, it's already clear that **FastAPI** with its ideas is being useful for many people. It is being chosen over previous alternatives for suiting many use cases better. Many developers and teams already depend on **FastAPI** for their projects (including me and my team). But still, there are many improvements and features to come. **FastAPI** has a great future ahead.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 4.1K bytes - Viewed (0) -
docs/en/docs/tutorial/query-params.md
``` or ``` http://127.0.0.1:8000/items/foo?short=on ``` or ``` http://127.0.0.1:8000/items/foo?short=yes ``` or any other case variation (uppercase, first letter in uppercase, etc), your function will see the parameter `short` with a `bool` value of `True`. Otherwise as `False`. ## Multiple path and query parameters
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Oct 20 09:08:42 GMT 2023 - 5.1K bytes - Viewed (0) -
docs/en/docs/tutorial/extra-models.md
And these models are all sharing a lot of the data and duplicating attribute names and types. We could do better. We can declare a `UserBase` model that serves as a base for our other models. And then we can make subclasses of that model that inherit its attributes (type declarations, validation, etc).
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 7.7K bytes - Viewed (1) -
docs/en/docs/features.md
### Tested * 100% <abbr title="The amount of code that is automatically tested">test coverage</abbr>. * 100% <abbr title="Python type annotations, with this your editor and external tools can give you better support">type annotated</abbr> code base. * Used in production applications. ## Starlette features
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 9.3K bytes - Viewed (0) -
docs/em/docs/features.md
### ๐ฏ * 1๏ธโฃ0๏ธโฃ0๏ธโฃ ๐ฏ <abbr title="The amount of code that is automatically tested">๐ฏ ๐ฐ</abbr>. * 1๏ธโฃ0๏ธโฃ0๏ธโฃ ๐ฏ <abbr title="Python type annotations, with this your editor and external tools can give you better support">๐ โ</abbr> ๐ ๐งข. * โ๏ธ ๐ญ ๐ธ. ## ๐ โ **FastAPI** ๐ ๐ โฎ๏ธ (& โ๏ธ ๐) <a href="https://www.starlette.io/" class="external-link" target="_blank"><strong>๐</strong></a>. , ๐ ๐ ๐ ๐ ๐ โ๏ธ, ๐ ๐ท.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 8.1K bytes - Viewed (0) -
docs/en/docs/tutorial/path-params-numeric-validations.md
``` ## Number validations: floats, greater than and less than Number validations also work for `float` values. Here's where it becomes important to be able to declare <abbr title="greater than"><code>gt</code></abbr> and not just <abbr title="greater than or equal"><code>ge</code></abbr>. As with it you can require, for example, that a value must be greater than `0`, even if it is less than `1`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jan 11 16:31:18 GMT 2024 - 9.1K bytes - Viewed (0) -
tests/test_tutorial/test_body_fields/test_tutorial001_an.py
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 7.2K bytes - Viewed (0)