Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for decorado (0.16 sec)

  1. docs/es/docs/tutorial/first-steps.md

    !!! info "Información sobre `@decorator`"
        Esa sintaxis `@algo` se llama un "decorador" en Python.
    
        Lo pones encima de una función. Es como un lindo sombrero decorado (creo que de ahí salió el concepto).
    
        Un "decorador" toma la función que tiene debajo y hace algo con ella.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  2. docs/es/docs/features.md

    * **Extensible**:
        * Pydantic permite que se definan tipos de datos a la medida o puedes extender la validación con métodos en un modelo decorado con el <abbr title="en inglés: validator decorator"> decorador de validación</abbr>.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  3. docs/pt/docs/features.md

    * **Extensível**:
        * Pydantic permite que tipos de dados personalizados sejam definidos ou você pode estender a validação com métodos em um modelo decorado com seu decorador de validador.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  4. tests/test_dependency_overrides.py

                    }
                ]
            }
        )
    
    
    def test_decorator_depends_q_foo():
        response = client.get("/decorator-depends/?q=foo")
        assert response.status_code == 200
        assert response.json() == {"in": "decorator-depends"}
    
    
    def test_decorator_depends_q_foo_skip_100_limit_200():
        response = client.get("/decorator-depends/?q=foo&skip=100&limit=200")
        assert response.status_code == 200
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  5. docs/vi/docs/tutorial/first-steps.md

        Bạn đặt nó trên một hàm. Giống như một chiếc mũ xinh xắn (Tôi ddonas đó là lí do mà thuật ngữ này ra đời).
    
        Một "decorator" lấy một hàm bên dưới và thực hiện một vài thứ với nó.
    
        Trong trường hợp của chúng ta, decorator này nói **FastAPI** rằng hàm bên dưới ứng với **đường dẫn** `/` và một **toán tử** `get`.
    
        Nó là một "**decorator đường dẫn toán tử**".
    
    Bạn cũng có thể sử dụng với các toán tử khác:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Sep 02 15:44:17 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  6. istioctl/pkg/describe/testdata/describe/http_config.json

                              "config": "/apis/networking.istio.io/v1alpha3/namespaces/default/virtual-service/bookinfo"
                            }
                          }
                        },
                        "decorator": {
                          "operation": "productpage.default.svc.cluster.local:9080/productpage"
                        }
                      },
                      {
                        "match": {
    Json
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 13.7K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/first-steps.md

        You put it on top of a function. Like a pretty decorative hat (I guess that's where the term came from).
    
        A "decorator" takes the function below and does something with it.
    
        In our case, this decorator tells **FastAPI** that the function below corresponds to the **path** `/` with an **operation** `get`.
    
        It is the "**path operation decorator**".
    
    You can also use the other operations:
    
    * `@app.post()`
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 12K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/custom-response.md

    But you can also declare the `Response` that you want to be used, in the *path operation decorator*.
    
    The contents that you return from your *path operation function* will be put inside of that `Response`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  9. docs/tr/docs/tutorial/first-steps.md

    * <abbr title="Bir HTTP GET metodu"><code>get</code> operasyonu</abbr> ile
    * `/` yoluna gelen istekler
    
    !!! info "`@decorator` Bilgisi"
        Python'da `@something` sözdizimi "<abbr title="Decorator">dekoratör</abbr>" olarak adlandırılır.
    
        Dekoratörler, dekoratif bir şapka gibi (sanırım terim buradan geliyor) fonksiyonların üzerlerine yerleştirilirler.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Feb 08 13:10:55 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/response-model.md

    In those cases, you can use the *path operation decorator* parameter `response_model` instead of the return type.
    
    You can use the `response_model` parameter in any of the *path operations*:
    
    * `@app.get()`
    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    * etc.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17.9K bytes
    - Viewed (0)
Back to top