Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 840 for ModelC (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/en/docs/release-notes.md

    @app.get("/items/")
    async def read_items(filter_query: Annotated[FilterParams, Query()]):
        return filter_query
    ```
    
    Read the new docs: [Query Parameter Models](https://fastapi.tiangolo.com/tutorial/query-param-models/).
    
    #### `Header` Parameter Models
    
    Use Pydantic models for `Header` parameters:
    
    ```python
    from typing import Annotated
    
    from fastapi import FastAPI, Header
    from pydantic import BaseModel
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 19:06:15 GMT 2025
    - 586.7K bytes
    - Click Count (0)
  2. tests/migrate_test.go

    			}
    		},
    	}
    	session := DB.Session(&gorm.Session{Logger: tracer})
    
    	DB.Migrator().DropTable(model1)
    	var modifySql []string
    	if err := session.AutoMigrate(model1); err != nil {
    		t.Fatalf("failed to auto migrate, got error: %v", err)
    	}
    	if err := session.AutoMigrate(model1); err != nil {
    		t.Fatalf("failed to auto migrate, got error: %v", err)
    	}
    	tracer2 := Tracer{
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Wed Aug 20 04:51:17 GMT 2025
    - 65.2K bytes
    - Click Count (0)
  3. docs/pt/docs/tutorial/security/oauth2-jwt.md

    Muitos pacotes que simplificam bastante isso precisam fazer muitas concessões com o modelo de dados, o banco de dados e os recursos disponíveis. E alguns desses pacotes que simplificam demais na verdade têm falhas de segurança subjacentes.
    
    ---
    
    O **FastAPI** não faz nenhuma concessão com nenhum banco de dados, modelo de dados ou ferramenta.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  4. docs/en/docs/advanced/settings.md

    Import `BaseSettings` from Pydantic and create a sub-class, very much like with a Pydantic model.
    
    The same way as with Pydantic models, you declare class attributes with type annotations, and possibly default values.
    
    You can use all the same validation features and tools you use for Pydantic models, like different data types and additional validations with `Field()`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t03/ProjectInheritanceTest.java

    /**
     * A test which demonstrates maven's recursive inheritance where
     * a distinct value is taken from each parent contributing to
     * the final model of the project being assembled. There is no
     * overriding going on amongst the models being used in this test:
     * each model in the lineage is providing a value that is not present
     * anywhere else in the lineage. We are just making sure that values
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  6. docs/de/docs/advanced/additional-status-codes.md

    /// warning | Achtung
    
    Wenn Sie eine `Response` direkt zurückgeben, wie im obigen Beispiel, wird sie direkt zurückgegeben.
    
    Sie wird nicht mit einem Modell usw. serialisiert.
    
    Stellen Sie sicher, dass sie die gewünschten Daten enthält und dass die Werte gültiges JSON sind (wenn Sie `JSONResponse` verwenden).
    
    ///
    
    /// note | Technische Details
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Sep 20 15:10:09 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t00/ProjectInheritanceTest.java

    /**
     * A test which demonstrates maven's recursive inheritance where
     * a distinct value is taken from each parent contributing to
     * the final model of the project being assembled. There is no
     * overriding going on amongst the models being used in this test:
     * each model in the lineage is providing a value that is not present
     * anywhere else in the lineage. We are just making sure that values
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  8. docs/es/docs/advanced/response-headers.md

    {* ../../docs_src/response_headers/tutorial002_py39.py hl[1, 7:8] *}
    
    Y luego puedes devolver cualquier objeto que necesites, como harías normalmente (un `dict`, un modelo de base de datos, etc).
    
    Y si declaraste un `response_model`, aún se usará para filtrar y convertir el objeto que devolviste.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  9. docs/pt/docs/advanced/additional-status-codes.md

    /// warning | Atenção
    
    Quando você retorna um `Response` diretamente, como no exemplo acima, ele será retornado diretamente.
    
    Ele não será serializado com um modelo, etc.
    
    Garanta que ele tenha toda informação que você deseja, e que os valores sejam um JSON válido (caso você esteja usando `JSONResponse`).
    
    ///
    
    /// note | Detalhes Técnicos
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  10. 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)
Back to Top