Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 66 for defining (0.17 sec)

  1. docs/en/docs/advanced/events.md

    Maybe you need to start a new version, or you just got tired of running it. 🤷
    
    ///
    
    ### Lifespan function { #lifespan-function }
    
    The first thing to notice, is that we are defining an async function with `yield`. This is very similar to Dependencies with `yield`.
    
    {* ../../docs_src/events/tutorial003_py39.py hl[14:19] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/extra-models.md

    To do that, use the standard Python type hint <a href="https://docs.python.org/3/library/typing.html#typing.Union" class="external-link" target="_blank">`typing.Union`</a>:
    
    /// note
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/query-params-str-validations.md

    As in this case (without using `Annotated`) we have to replace the default value `None` in the function with `Query()`, we now need to set the default value with the parameter `Query(default=None)`, it serves the same purpose of defining that default value (at least for FastAPI).
    
    So:
    
    ```Python
    q: str | None = Query(default=None)
    ```
    
    ...makes the parameter optional, with a default value of `None`, the same as:
    
    
    ```Python
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/first-steps.md

    ![ReDoc](https://fastapi.tiangolo.com/img/index/index-02-redoc-simple.png)
    
    ### OpenAPI { #openapi }
    
    **FastAPI** generates a "schema" with all your API using the **OpenAPI** standard for defining APIs.
    
    #### "Schema" { #schema }
    
    A "schema" is a definition or description of something. Not the code that implements it, but just an abstract description.
    
    #### API "schema" { #api-schema }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/metadata.md

    * **Swagger UI**: acessível em `/docs`.
        * Você pode definir sua URL com o parâmetro `docs_url`.
        * Você pode desativá-la definindo `docs_url=None`.
    * **ReDoc**: acessível em `/redoc`.
        * Você pode definir sua URL com o parâmetro `redoc_url`.
        * Você pode desativá-la definindo `redoc_url=None`.
    
    Por exemplo, para definir o Swagger UI para ser servido em `/documentation` e desativar o ReDoc:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  6. docs/pt/docs/advanced/custom-response.md

    * `path` - O caminho do arquivo que será transmitido
    * `headers` - quaisquer cabeçalhos que serão incluídos, como um dicionário.
    * `media_type` - Uma string com o media type. Se não for definida, o media type é inferido a partir do nome ou caminho do arquivo.
    * `filename` - Se for definido, é incluído no cabeçalho `Content-Disposition`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  7. docs/es/docs/advanced/openapi-webhooks.md

    También defines de alguna manera en qué **momentos** tu aplicación enviará esas requests o eventos.
    
    Y **tus usuarios** definen de alguna manera (por ejemplo en un panel web en algún lugar) el **URL** donde tu aplicación debería enviar esas requests.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  8. docs/pt/docs/how-to/configure-swagger-ui.md

    Mas você pode desabilitá-lo definindo `syntaxHighlight` como `False`:
    
    {* ../../docs_src/configure_swagger_ui/tutorial001_py39.py hl[3] *}
    
    ...e então o Swagger UI não mostrará mais o destaque de sintaxe:
    
    <img src="/img/tutorial/extending-openapi/image03.png">
    
    ## Alterar o tema { #change-the-theme }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  9. docs/es/docs/history-design-future.md

    ## Desarrollo { #development }
    
    Para cuando comencé a crear el propio **FastAPI**, la mayoría de las piezas ya estaban en su lugar, el diseño estaba definido, los requisitos y herramientas estaban listos, y el conocimiento sobre los estándares y especificaciones estaba claro y fresco.
    
    ## Futuro { #future }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 10:15:01 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.34.md

    - Graduated `PodLevelResources` feature to beta and have it on by default. This feature allowed defining CPU and memory resources for an entire pod in `pod.spec.resources`. ([#132999](https://github.com/kubernetes/kubernetes/pull/132999), [@ndixita](https://github.com/ndixita))
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Wed Dec 10 01:13:50 UTC 2025
    - 333.3K bytes
    - Viewed (1)
Back to top