- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 127 for supports (0.34 sec)
-
docs/en/docs/tutorial/path-operation-configuration.md
In these cases, it could make sense to store the tags in an `Enum`. **FastAPI** supports that the same way as with plain strings: ```Python hl_lines="1 8-10 13 18" {!../../../docs_src/path_operation_configuration/tutorial002b.py!} ``` ## Summary and description
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Oct 17 05:59:11 GMT 2023 - 5.5K bytes - Viewed (0) -
tests/test_compat.py
# to support it as a first class "feature" assert is_bytes_sequence_annotation(Union[List[str], List[bytes]]) def test_is_uploadfile_sequence_annotation(): # For coverage # TODO: in theory this would allow declaring types that could be lists of UploadFile # and other types, but I'm not even sure it's a good idea to support it as a first # class "feature"
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Sep 28 04:14:40 GMT 2023 - 2.8K bytes - Viewed (0) -
docs/en/docs/tutorial/path-params.md
But you need `file_path` itself to contain a *path*, like `home/johndoe/myfile.txt`. So, the URL for that file would be something like: `/files/home/johndoe/myfile.txt`. ### OpenAPI support OpenAPI doesn't support a way to declare a *path parameter* to contain a *path* inside, as that could lead to scenarios that are difficult to test and define.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 9.1K bytes - Viewed (0) -
tests/test_response_by_alias.py
"proper OpenAPI use another model with the correct field names" ) } ) else: class Config: schema_extra = { "description": ( "response_model_by_alias=False is basically a quick hack, to support "
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 11.1K bytes - Viewed (0) -
docs/en/docs/advanced/middleware.md
```Python hl_lines="2 6-8" {!../../../docs_src/advanced_middleware/tutorial002.py!} ``` The following arguments are supported: * `allowed_hosts` - A list of domain names that should be allowed as hostnames. Wildcard domains such as `*.example.com` are supported for matching subdomains. To allow any hostname either use `allowed_hosts=["*"]` or omit the middleware.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 10 18:27:10 GMT 2023 - 4K bytes - Viewed (0) -
docs/vi/docs/features.md
* trong <a href="https://code.visualstudio.com/" class="external-link" target="_blank">Visual Studio Code</a>: ![editor support](https://fastapi.tiangolo.com/img/vscode-completion.png) * trong <a href="https://www.jetbrains.com/pycharm/" class="external-link" target="_blank">PyCharm</a>: ![editor support](https://fastapi.tiangolo.com/img/pycharm-completion.png)
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 11.6K bytes - Viewed (0) -
fastapi/params.py
example: Annotated[ Optional[Any], deprecated( "Deprecated in OpenAPI 3.1.0 that now uses JSON Schema 2020-12, " "although still supported. Use examples instead." ), ] = _Unset, openapi_examples: Optional[Dict[str, Example]] = None, deprecated: Union[deprecated, str, bool, None] = None, include_in_schema: bool = True,
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 27.5K bytes - Viewed (1) -
docs/fr/docs/tutorial/query-params-str-validations.md
!!! note **FastAPI** saura que la valeur de `q` n'est pas requise grâce à la valeur par défaut `= None`. Le `Union` dans `Union[str, None]` permettra à votre éditeur de vous offrir un meilleur support et de détecter les erreurs. ## Validation additionnelle Nous allons imposer que bien que `q` soit un paramètre optionnel, dès qu'il est fourni, **sa longueur n'excède pas 50 caractères**. ## Importer `Query`
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jul 27 18:53:21 GMT 2023 - 9.8K bytes - Viewed (0) -
docs/en/docs/how-to/graphql.md
Make sure you evaluate if the **benefits** for your use case compensate the **drawbacks**. 🤓 ## GraphQL Libraries Here are some of the **GraphQL** libraries that have **ASGI** support. You could use them with **FastAPI**: * <a href="https://strawberry.rocks/" class="external-link" target="_blank">Strawberry</a> 🍓
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Aug 19 19:54:04 GMT 2023 - 3.4K bytes - Viewed (0) -
docs/ru/docs/index.md
``` ...в: ```Python ... "item_price": item.price ... ``` ... и посмотрите, как ваш редактор будет автоматически заполнять атрибуты и узнавать их типы: ![editor support](https://fastapi.tiangolo.com/img/vscode-completion.png) Более полный пример с дополнительными функциями см. в <a href="https://fastapi.tiangolo.com/tutorial/">Учебное руководство - Руководство пользователя</a>.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 25.8K bytes - Viewed (0)