Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 325 for models2 (0.09 seconds)

  1. tests/test_tutorial/test_sql_databases/test_tutorial001.py

    from sqlmodel.main import default_registry
    
    from tests.utils import needs_py310
    
    
    def clear_sqlmodel():
        # Clear the tables in the metadata for the default base model
        SQLModel.metadata.clear()
        # Clear the Models associated with the registry, to avoid warnings
        default_registry.dispose()
    
    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial001_py39"),
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 14K bytes
    - Click Count (0)
  2. 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.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  3. docs/de/docs/advanced/settings.md

    Importieren Sie `BaseSettings` aus Pydantic und erstellen Sie eine Unterklasse, ganz ähnlich wie bei einem Pydantic-Modell.
    
    Auf die gleiche Weise wie bei Pydantic-Modellen deklarieren Sie Klassenattribute mit Typannotationen und möglicherweise Defaultwerten.
    
    Sie können dieselben Validierungs-Funktionen und -Tools verwenden, die Sie für Pydantic-Modelle verwenden, z. B. verschiedene Datentypen und zusätzliche Validierungen mit `Field()`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 24 10:28:19 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  4. docs/pt/docs/tutorial/security/get-current-user.md

    E você pode usar qualquer modelo ou dado para os requisitos de segurança (neste caso, um modelo Pydantic `User`).
    
    Mas você não está restrito a usar um modelo de dados, classe ou tipo específico.
    
    Você quer ter apenas um `id` e `email`, sem incluir nenhum `username` no modelo? Claro. Você pode usar essas mesmas ferramentas.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/first-steps.md

    {* ../../docs_src/first_steps/tutorial001_py39.py hl[8] *}
    
    You can return a `dict`, `list`, singular values as `str`, `int`, etc.
    
    You can also return Pydantic models (you'll see more about that later).
    
    There are many other objects and models that will be automatically converted to JSON (including ORMs, etc). Try using your favorite ones, it's highly probable that they are already supported.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  6. .idea/gradle.xml

                <option value="$PROJECT_DIR$/platforms/core-configuration/kotlin-dsl-tooling-models" />
                <option value="$PROJECT_DIR$/platforms/core-configuration/model-core" />
                <option value="$PROJECT_DIR$/platforms/core-configuration/model-groovy" />
                <option value="$PROJECT_DIR$/platforms/core-configuration/model-reflect" />
                <option value="$PROJECT_DIR$/platforms/core-configuration/project-features" />
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 11 18:02:10 GMT 2025
    - 23.2K bytes
    - Click Count (0)
  7. docs/fr/docs/tutorial/path-params.md

    ///
    
    /// tip | Astuce
    
    Pour ceux qui se demandent, "AlexNet", "ResNet", et "LeNet" sont juste des noms de <abbr title="Techniquement, des architectures de modèles">modèles</abbr> de Machine Learning.
    
    ///
    
    ### Déclarer un paramètre de chemin
    
    Créez ensuite un *paramètre de chemin* avec une annotation de type désignant l'énumération créée précédemment (`ModelName`) :
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Nov 09 16:39:20 GMT 2024
    - 9.8K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/Result.java

     * <ol>
     * <li>success - in which case only the model field is set
     * <li>success with warnings - model field + non-error model problems
     * <li>error - no model, but diagnostics
     * <li>error - (partial) model and diagnostics
     * </ol>
     * Could encode these variants as subclasses, but kept in one for now
     *
     * @param <T> the model type
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Mar 26 19:31:34 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  9. docs/pt/docs/tutorial/path-params.md

    {* ../../docs_src/path_params/tutorial005_py39.py hl[1,6:9] *}
    
    /// tip | Dica
    Se você está se perguntando, "AlexNet", "ResNet" e "LeNet" são apenas nomes de <abbr title="Tecnicamente, arquiteturas de modelos de Deep Learning">modelos</abbr> de Aprendizado de Máquina.
    ///
    
    ### Declare um parâmetro de path { #declare-a-path-parameter }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  10. docs/es/docs/advanced/response-directly.md

    # Devolver una Response Directamente { #return-a-response-directly }
    
    Cuando creas una *path operation* en **FastAPI**, normalmente puedes devolver cualquier dato desde ella: un `dict`, una `list`, un modelo de Pydantic, un modelo de base de datos, etc.
    
    Por defecto, **FastAPI** convertiría automáticamente ese valor de retorno a JSON usando el `jsonable_encoder` explicado en [JSON Compatible Encoder](../tutorial/encoder.md){.internal-link target=_blank}.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3.4K bytes
    - Click Count (0)
Back to Top