Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for detected (0.24 sec)

  1. docs/en/docs/tutorial/query-params.md

    You can declare multiple path parameters and query parameters at the same time, **FastAPI** knows which is which.
    
    And you don't have to declare them in any specific order.
    
    They will be detected by name:
    
    === "Python 3.10+"
    
        ```Python hl_lines="6  8"
        {!> ../../../docs_src/query_params/tutorial004_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="8  10"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Oct 20 09:08:42 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  2. docs/fr/docs/tutorial/query-params-str-validations.md

    !!! note
        **FastAPI** saura que la valeur de `q` n'est pas requise grâce à la valeur par défaut `= None`.
    
        Le `Union` dans `Union[str, None]` permettra à votre éditeur de vous offrir un meilleur support et de détecter les erreurs.
    
    ## Validation additionnelle
    
    Nous allons imposer que bien que `q` soit un paramètre optionnel, dès qu'il est fourni, **sa longueur n'excède pas 50 caractères**.
    
    ## Importer `Query`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jul 27 18:53:21 GMT 2023
    - 9.8K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/query-params-str-validations.md

    !!! note "Observação"
        O FastAPI saberá que o valor de `q` não é obrigatório por causa do valor padrão `= None`.
    
        O `Union` em `Union[str, None]` não é usado pelo FastAPI, mas permitirá que seu editor lhe dê um melhor suporte e detecte erros.
    
    ## Validação adicional
    
    Nós iremos forçar que mesmo o parâmetro `q` seja opcional, sempre que informado, **seu tamanho não exceda 50 caracteres**.
    
    ### Importe `Query`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 9.3K bytes
    - Viewed (0)
  4. docs/en/docs/deployment/docker.md

        The `--upgrade` option tells `pip` to upgrade the packages if they are already installed.
    
        Because the previous step copying the file could be detected by the **Docker cache**, this step will also **use the Docker cache** when available.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 34K bytes
    - Viewed (0)
  5. docs/fr/docs/tutorial/query-params.md

    ```Python hl_lines="9"
    {!../../../docs_src/query_params/tutorial002.py!}
    ```
    
    Ici, le paramètre `q` sera optionnel, et aura `None` comme valeur par défaut.
    
    !!! check "Remarque"
        On peut voir que **FastAPI** est capable de détecter que le paramètre de chemin `item_id` est un paramètre de chemin et que `q` n'en est pas un, c'est donc un paramètre de requête.
    
    !!! note
        **FastAPI** saura que `q` est optionnel grâce au `=None`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Sep 27 20:52:31 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  6. docs/fr/docs/tutorial/body.md

        Le type `Optional` dans `Optional[str]` n'est pas utilisé par **FastAPI**, mais sera utile à votre éditeur pour améliorer le support offert par ce dernier et détecter plus facilement des erreurs de type.
    
    ## Sans Pydantic
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  7. docs/en/docs/fastapi-cli.md

    <font color="#4E9A06">INFO</font>:     Application startup complete.
    ```
    
    </div>
    
    That command line program called `fastapi` is **FastAPI CLI**.
    
    FastAPI CLI takes the path to your Python program and automatically detects the variable with the FastAPI (commonly named `app`) and how to import it, and then serves it.
    
    For production you would use `fastapi run` instead. 🚀
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:16 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  8. README.md

    INFO:     Application startup complete.
    ```
    
    </div>
    
    <details markdown="1">
    <summary>About the command <code>fastapi dev main.py</code>...</summary>
    
    The command `fastapi dev` reads your `main.py` file, detects the **FastAPI** app in it, and starts a server using <a href="https://www.uvicorn.org" class="external-link" target="_blank">Uvicorn</a>.
    
    By default, `fastapi dev` will start with auto-reload enabled for local development.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/path-params-numeric-validations.md

    Mas você pode reordená-los, colocando primeiro o elemento sem o valor padrão (o parâmetro de consulta `q`).
    
    Isso não faz diferença para o **FastAPI**. Ele vai detectar os parâmetros pelos seus nomes, tipos e definições padrão (`Query`, `Path`, etc), sem se importar com a ordem.
    
    Então, você pode declarar sua função assim:
    
    ```Python hl_lines="7"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/body.md

        O FastAPI saberá que o valor de `q` não é obrigatório por causa do valor padrão `= None`.
    
        O `Union` em `Union[str, None]` não é utilizado pelo FastAPI, mas permite ao seu editor de texto lhe dar um suporte melhor e detectar erros.
    
    ## Sem o Pydantic
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.1K bytes
    - Viewed (0)
Back to top