Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 570 for models (0.04 seconds)

  1. docs/pt/docs/tutorial/response-model.md

    Quando você vê a documentação automática, pode verificar se o modelo de entrada e o modelo de saída terão seus próprios esquemas JSON:
    
    <img src="/img/tutorial/response-model/image01.png">
    
    E ambos os modelos serão usados ​​para a documentação interativa da API:
    
    <img src="/img/tutorial/response-model/image02.png">
    
    ## Outras anotações de tipo de retorno { #other-return-type-annotations }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  2. tests/test_filter_pydantic_sub_model_pv2.py

                return name
    
        async def get_model_c() -> ModelC:
            return ModelC(username="test-user", password="test-password")
    
        @app.get("/model/{name}", response_model=ModelA)
        async def get_model_a(name: str, model_c=Depends(get_model_c)):
            return {
                "name": name,
                "description": "model-a-desc",
                "foo": model_c,
                "tags": {"key1": "value1", "key2": "value2"},
            }
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

     * string is not human readable, but can be used with classes like [InetAddress] to establish
     * connections.
     *
     * ## Why another URL model?
     *
     * Java includes both [java.net.URL][URL] and [java.net.URI][URI]. We offer a new URL
     * model to address problems that the others don't.
     *
     * ### Different URLs should be different
     *
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon May 05 16:01:00 GMT 2025
    - 63.5K bytes
    - Click Count (0)
  4. docs/de/docs/advanced/events.md

    Stellen wir uns vor, dass das Laden des Modells **eine ganze Weile dauern** kann, da viele **Daten von der Festplatte** gelesen werden müssen. Sie möchten das also nicht für jeden Request tun.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  5. docs/de/docs/tutorial/response-model.md

    ## `response_model`-Parameter { #response-model-parameter }
    
    Es gibt Fälle, da möchten oder müssen Sie Daten zurückgeben, die nicht genau dem entsprechen, was der Typ deklariert.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 24 10:28:19 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  6. tests/test_duplicate_models_openapi.py

    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Model(BaseModel):
        pass
    
    
    class Model2(BaseModel):
        a: Model
    
    
    class Model3(BaseModel):
        c: Model
        d: Model2
    
    
    @app.get("/", response_model=Model3)
    def f():
        return {"c": {}, "d": {"a": {}}}
    
    
    client = TestClient(app)
    
    
    def test_get_api_route():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 2.1K bytes
    - Click Count (0)
  7. docs/fr/docs/tutorial/body.md

    Ce qui améliore le support pour les modèles Pydantic avec :
    
    * de l'auto-complétion
    * des vérifications de type
    * du "refactoring" (ou remaniement de code)
    * de la recherche
    * de l'inspection
    
    ///
    
    ## Utilisez le modèle
    
    Dans la fonction, vous pouvez accéder à tous les attributs de l'objet du modèle directement :
    
    {* ../../docs_src/body/tutorial002.py hl[21] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Nov 09 16:39:20 GMT 2024
    - 7.6K bytes
    - Click Count (0)
  8. docs/pt/docs/tutorial/body.md

    {* ../../docs_src/body/tutorial001_py310.py hl[2] *}
    
    ## Crie seu modelo de dados { #create-your-data-model }
    
    Então você declara seu modelo de dados como uma classe que herda `BaseModel`.
    
    Utilize os tipos Python padrão para todos os atributos:
    
    {* ../../docs_src/body/tutorial001_py310.py hl[5:9] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  9. CHANGELOG/CHANGELOG-1.33.md

    - The nftables mode of kube-proxy is now GA. (The iptables mode remains the
      default; you can select the nftables mode by passing `--proxy-mode nftables`
      or using a config file with `mode: nftables`. See the kube-proxy documentation
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Wed Dec 10 01:15:24 GMT 2025
    - 334.8K bytes
    - Click Count (0)
  10. CHANGELOG/CHANGELOG-1.34.md

    - github.com/google/cel-go: [v0.23.2 → v0.26.0](https://github.com/google/cel-go/compare/v0.23.2...v0.26.0)
    - github.com/google/gnostic-models: [v0.6.9 → v0.7.0](https://github.com/google/gnostic-models/compare/v0.6.9...v0.7.0)
    - github.com/grpc-ecosystem/grpc-gateway/v2: [v2.24.0 → v2.26.3](https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.24.0...v2.26.3)
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Wed Dec 10 01:13:50 GMT 2025
    - 333.3K bytes
    - Click Count (2)
Back to Top