- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for sent (0.12 sec)
-
docs/en/docs/tutorial/query-params-str-validations.md
This will let **FastAPI** know that this parameter is required. ### Required with `None` You can declare that a parameter can accept `None`, but that it's still required. This would force clients to send a value, even if the value is `None`. To do that, you can declare that `None` is a valid type but still use `...` as the default: === "Python 3.10+" ```Python hl_lines="9"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 25.7K bytes - Viewed (0) -
docs/fr/docs/tutorial/query-params-str-validations.md
``` Comme nous devons remplacer la valeur par défaut `None` dans la fonction par `Query()`, nous pouvons maintenant définir la valeur par défaut avec le paramètre `Query(default=None)`, il sert le même objectif qui est de définir cette valeur par défaut. Donc : ```Python q: Union[str, None] = Query(default=None) ``` ... rend le paramètre optionnel, et est donc équivalent à : ```Python
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/pt/docs/tutorial/query-params-str-validations.md
* `^`: Inicia com os seguintes caracteres, ou seja, não contém caracteres anteriores. * `fixedquery`: contém o valor exato `fixedquery`. * `$`: termina aqui, não contém nenhum caractere após `fixedquery`. Se você se sente perdido com todo esse assunto de **"expressão regular"**, não se preocupe. Esse é um assunto complicado para a maioria das pessoas. Você ainda pode fazer muitas coisas sem utilizar expressões regulares.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat May 14 11:59:59 GMT 2022 - 9.3K bytes - Viewed (0) -
docs/de/docs/tutorial/query-params-str-validations.md
```Python hl_lines="3-4" {!> ../../../docs_src/query_params_str_validations/tutorial002_an.py!} ``` !!! info FastAPI unterstützt (und empfiehlt die Verwendung von) `Annotated` seit Version 0.95.0. Wenn Sie eine ältere Version haben, werden Sie Fehler angezeigt bekommen, wenn Sie versuchen, `Annotated` zu verwenden.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 17:58:59 GMT 2024 - 27.7K bytes - Viewed (0)