- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 157 for model_b (0.12 sec)
-
docs/pt/docs/advanced/response-directly.md
/// tip | Dica A própria `JSONResponse` é uma subclasse de `Response`. /// E quando você retorna uma `Response`, o **FastAPI** vai repassá-la diretamente. Ele não vai fazer conversões de dados com modelos do Pydantic, não irá converter a tipagem de nenhum conteúdo, etc. Isso te dá bastante flexibilidade. Você pode retornar qualquer tipo de dado, sobrescrever qualquer declaração e validação nos dados, etc.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.3K bytes - Viewed (0) -
docs/ja/docs/tutorial/body-nested-models.md
{!../../docs_src/body_nested_models/tutorial008.py!} ``` ## あらゆる場所でのエディタサポート エディタのサポートもどこでも受けることができます。 以下のようにリストの中の項目でも: <img src="https://fastapi.tiangolo.com/img/tutorial/body-nested-models/image01.png"> Pydanticモデルではなく、`dict`を直接使用している場合はこのようなエディタのサポートは得られません。 しかし、それらについて心配する必要はありません。入力された辞書は自動的に変換され、出力も自動的にJSONに変換されます。 ## 任意の`dict`のボディ また、ある型のキーと別の型の値を持つ`dict`としてボディを宣言することもできます。
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.7K bytes - Viewed (0) -
docs/en/docs/tutorial/header-param-models.md
# Header Parameter Models If you have a group of related **header parameters**, you can create a **Pydantic model** to declare them. This would allow you to **re-use the model** in **multiple places** and also to declare validations and metadata for all the parameters at once. 😎 /// note This is supported since FastAPI version `0.115.0`. 🤓 /// ## Header Parameters with a Pydantic Model
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.5K bytes - Viewed (0) -
docs/fr/docs/advanced/additional-status-codes.md
``` /// warning | "Attention" Lorsque vous renvoyez une `Response` directement, comme dans l'exemple ci-dessus, elle sera renvoyée directement. Elle ne sera pas sérialisée avec un modèle. Assurez-vous qu'il contient les données souhaitées et que les valeurs soient dans un format JSON valides (si vous utilisez une `JSONResponse`). /// /// note | "Détails techniques"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.3K bytes - Viewed (0) -
architecture/build-state-model.md
# Build state model The Gradle daemon tracks state for various elements. These are arranged in a hierarchy: ```mermaid graph TD process["build process"] session["build session"] process --> session build_tree["build tree"] session --> build_tree build1["root build"] build_tree --> build1 project1["root project"] build1 --> project1 project2["project"] build1 --> project2
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed May 22 13:39:49 UTC 2024 - 3.4K bytes - Viewed (0) -
docs/pt/docs/how-to/conditional-openapi.md
Se você quiser proteger sua API, há várias coisas melhores que você pode fazer, por exemplo: * Certifique-se de ter modelos Pydantic bem definidos para seus corpos de solicitação e respostas. * Configure quaisquer permissões e funções necessárias usando dependências. * Nunca armazene senhas em texto simples, apenas hashes de senha.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.6K bytes - Viewed (0) -
api/maven-api-plugin/src/main/mdo/plugin.mdo
specific language governing permissions and limitations under the License. --> <model xmlns="http://codehaus-plexus.github.io/MODELLO/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://codehaus-plexus.github.io/MODELLO/2.0.0 https://codehaus-plexus.github.io/modello/xsd/modello-2.0.0.xsd" xml.namespace="http://maven.apache.org/PLUGIN/${version}"
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Aug 16 14:16:22 UTC 2024 - 24.9K bytes - Viewed (0) -
docs/es/docs/features.md
* Valida **estructuras complejas**: * Usa modelos jerárquicos de modelos de Pydantic, `typing` de Python, `List` y `Dict`, etc. * Los validadores también permiten que se definan fácil y claramente schemas complejos de datos. Estos son chequeados y documentados como JSON Schema.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Aug 19 18:15:21 UTC 2024 - 10.9K bytes - Viewed (0) -
docs/de/docs/tutorial/first-steps.md
{!../../docs_src/first_steps/tutorial001.py!} ``` Sie können ein `dict`, eine `list`, einzelne Werte wie `str`, `int`, usw. zurückgeben. Sie können auch Pydantic-Modelle zurückgeben (dazu später mehr). Es gibt viele andere Objekte und Modelle, die automatisch zu JSON konvertiert werden (einschließlich ORMs usw.). Versuchen Sie, Ihre Lieblingsobjekte zu verwenden. Es ist sehr wahrscheinlich, dass sie bereits unterstützt werden.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.5K bytes - Viewed (0) -
docs/fr/docs/advanced/path-operation-advanced-configuration.md
En utilisant cette même astuce, vous pouvez utiliser un modèle Pydantic pour définir le schéma JSON qui est ensuite inclus dans la section de schéma OpenAPI personnalisée pour le *chemin* concerné. Et vous pouvez le faire même si le type de données dans la requête n'est pas au format JSON.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8K bytes - Viewed (0)