Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for Soares (0.2 sec)

  1. docs/es/docs/tutorial/path-params.md

    ```Python hl_lines="6-7"
    {!../../../docs_src/path_params/tutorial001.py!}
    ```
    
    El valor del parámetro de path `item_id` será pasado a tu función como el argumento `item_id`.
    
    Entonces, si corres este ejemplo y vas a <a href="http://127.0.0.1:8000/items/foo" class="external-link" target="_blank">http://127.0.0.1:8000/items/foo</a>, verás una respuesta de:
    
    ```JSON
    {"item_id":"foo"}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  2. docs/en/docs/deployment/server-workers.md

    When deploying applications you will probably want to have some **replication of processes** to take advantage of **multiple cores** and to be able to handle more requests.
    
    As you saw in the previous chapter about [Deployment Concepts](concepts.md){.internal-link target=_blank}, there are multiple strategies you can use.
    
    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)
  3. docs/en/docs/deployment/docker.md

    process** (e.g. a Uvicorn process running your FastAPI application). They would all be **identical containers**, running the same thing, but each with its own process, memory, etc. That way you would take advantage of **parallelization** in **different cores** of the CPU, or even in **different machines**.
    
    And the distributed container system with the **load balancer** would **distribute the requests** to each one of the containers with your app **in turns**. So, each request could be handled...
    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)
  4. docs/es/docs/tutorial/query-params.md

    ```Python hl_lines="9"
    {!../../../docs_src/query_params/tutorial001.py!}
    ```
    
    El query es el conjunto de pares de key-value que van después del `?` en la URL, separados por caracteres `&`.
    
    Por ejemplo, en la URL:
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    ...los parámetros de query son:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/path-params-numeric-validations.md

    Passe `*`, como o primeiro parâmetro da função.
    
    O Python não vai fazer nada com esse `*`, mas ele vai saber que a partir dali os parâmetros seguintes deverão ser chamados argumentos nomeados (pares chave-valor), também conhecidos como <abbr title="Do inglês: K-ey W-ord Arg-uments"><code>kwargs</code></abbr>. Mesmo que eles não possuam um valor padrão.
    
    ```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)
  6. docs/pt/docs/tutorial/query-params.md

    ```Python hl_lines="9"
    {!../../../docs_src/query_params/tutorial001.py!}
    ```
    
    A consulta é o conjunto de pares chave-valor que vai depois de `?` na URL, separado pelo caractere `&`.
    
    Por exemplo, na URL:
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    ...os parâmetros da consulta são:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  7. docs/pt/docs/advanced/templates.md

    ```Python hl_lines="4  11  15-18"
    {!../../../docs_src/templates/tutorial001.py!}
    ```
    
    !!! note
        Antes do FastAPI 0.108.0, Starlette 0.29.0, `name` era o primeiro parâmetro.
    
        Além disso, em versões anteriores, o objeto `request` era passado como parte dos pares chave-valor no "context" dict para o Jinja2.
    
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Mar 28 04:05:17 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  8. docs/en/docs/deployment/concepts.md

    ### Multiple Processes - Workers
    
    If you have more clients than what a single process can handle (for example if the virtual machine is not too big) and you have **multiple cores** in the server's CPU, then you could have **multiple processes** running with the same application at the same time, and distribute all the requests among them.
    
    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)
  9. docs/en/docs/tutorial/bigger-applications.md

    Now, let's imagine your organization gave you the `app/internal/admin.py` file.
    
    It contains an `APIRouter` with some admin *path operations* that your organization shares between several projects.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  10. docs/pt/docs/async.md

    Por exemplo:
    
    * **Processamento de áudio** ou **imagem**
    * **Visão do Computador**: uma imagem é composta por milhões de pixels, cada pixel tem 3 valores (cores, processamento que normalmente exige alguma computação em todos esses pixels ao mesmo tempo)
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 22.2K bytes
    - Viewed (0)
Back to top