Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for detected (0.16 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. fastapi/applications.py

            ```python
            from fastapi import FastAPI
    
            app = FastAPI()
    
            @app.delete("/items/{item_id}")
            def delete_item(item_id: str):
                return {"message": "Item deleted"}
            ```
            """
            return self.router.delete(
                path,
                response_model=response_model,
                status_code=status_code,
                tags=tags,
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
  6. docs/pt/docs/python-types.md

    ```Python hl_lines="1 4"
    {!../../../docs_src/python_types/tutorial009.py!}
    ```
    
    O uso de `Opcional [str]` em vez de apenas `str` permitirá que o editor o ajude a detectar erros, onde você pode estar assumindo que um valor é sempre um `str`, quando na verdade também pode ser `None`.
    
    #### Tipos genéricos
    
    Esses tipos que usam parâmetros de tipo entre colchetes, como:
    
    * `List`
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  7. docs/fr/docs/python-types.md

    ```Python hl_lines="1  4"
    {!../../../docs_src/python_types/tutorial009.py!}
    ```
    
    Utiliser `Optional[str]` plutôt que `str` permettra à l'éditeur de vous aider à détecter les erreurs où vous supposeriez qu'une valeur est toujours de type `str`, alors qu'elle pourrait aussi être `None`.
    
    #### Types génériques
    
    Les types qui peuvent contenir des paramètres de types entre crochets, comme :
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  8. 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)
  9. docs/en/docs/deployment/server-workers.md

    You can see that:
    
    * The Gunicorn **process manager** starts with PID `19499` (in your case it will be a different number).
    * Then it starts `Listening at: http://0.0.0.0:80`.
    * Then it detects that it has to use the worker class at `uvicorn.workers.UvicornWorker`.
    * And then it starts **4 workers**, each with its own PID: `19511`, `19513`, `19514`, and `19515`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  10. docs/pt/docs/deployment/docker.md

        A opção `--upgrade` diz ao `pip` para atualizar os pacotes se eles já estiverem instalados.
    
        Por causa do passo anterior de copiar o arquivo, ele pode ser detectado pelo **cache do Docker**, esse passo também **usará o cache do Docker** quando disponível.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 37.4K bytes
    - Viewed (0)
Back to top