Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for exists (0.15 sec)

  1. docs/es/docs/index.md

        * ReDoc.
    
    ---
    
    Volviendo al ejemplo de código anterior, **FastAPI** va a:
    
    * Validar que existe un `item_id` en el path para requests usando `GET` y `PUT`.
    * Validar que el `item_id` es del tipo `int` para requests de tipo `GET` y `PUT`.
        * Si no lo es, el cliente verá un mensaje de error útil y claro.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 19K bytes
    - Viewed (0)
  2. docs/en/docs/deployment/concepts.md

    I'll tell you a bit more about these **concepts** here, and that would hopefully give you the **intuition** you would need to decide how to deploy your API in very different environments, possibly even in **future** ones that don't exist yet.
    
    By considering these concepts, you will be able to **evaluate and design** the best way to deploy **your own APIs**.
    
    In the next chapters, I'll give you more **concrete recipes** to deploy FastAPI applications.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 18K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/settings.md

    ```console
    // Create an env var MY_NAME in line for this program call
    $ MY_NAME="Wade Wilson" python main.py
    
    // Now it can read the environment variable
    
    Hello Wade Wilson from Python
    
    // The env var no longer exists afterwards
    $ python main.py
    
    Hello World from Python
    ```
    
    </div>
    
    !!! tip
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  4. docs/pt/docs/index.md

        * ReDoc.
    
    ---
    
    Voltando ao código do exemplo anterior, **FastAPI** irá:
    
    * Validar que existe um `item_id` na rota para requisições `GET` e `PUT`.
    * Validar que `item_id` é do tipo `int` para requisições `GET` e `PUT`.
        * Se não é validado, o cliente verá um útil, claro erro.
    * Verificar se existe um parâmetro de _query_ opcional nomeado como `q` (como em `http://127.0.0.1:8000/items/foo?q=somequery`) para requisições `GET`.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  5. docs/fr/docs/index.md

    ---
    
    Pour revenir à l'exemple de code précédent, **FastAPI** permet de :
    
    * Valider que `item_id` existe dans le chemin des requêtes `GET` et `PUT`.
    * Valider que `item_id` est de type `int` pour les requêtes `GET` et `PUT`.
        * Si ce n'est pas le cas, le client voit une erreur utile et claire.
    * Vérifier qu'il existe un paramètre de requête facultatif nommé `q` (comme dans `http://127.0.0.1:8000/items/foo?q=somequery`) pour les requêtes `GET`.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 22K bytes
    - Viewed (0)
  6. docs/en/docs/deployment/docker.md

    When the **container** is started and running (started from a **container image**) it could create or change files, environment variables, etc. Those changes will exist only in that container, but would not persist in the underlying container image (would not be saved to disk).
    
    A container image is comparable to the **program** file and contents, e.g. `python` and some file `main.py`.
    
    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)
Back to top