Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for prima (0.12 sec)

  1. docs/es/docs/index.md

    @app.get("/items/{item_id}")
    async def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    **Nota**:
    
    Si no lo sabes, revisa la sección _"¿Con prisa?"_ sobre <a href="https://fastapi.tiangolo.com/es/async/#con-prisa" target="_blank">`async` y `await` en la documentación</a>.
    
    </details>
    
    ### Córrelo
    
    Corre el servidor con:
    
    <div class="termy">
    
    ```console
    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/es/docs/tutorial/first-steps.md

    ```Python hl_lines="7"
    {!../../../docs_src/first_steps/tutorial003.py!}
    ```
    
    !!! note "Nota"
        Si no sabes la diferencia, revisa el [Async: *"¿Tienes prisa?"*](../async.md#tienes-prisa){.internal-link target=_blank}.
    
    ### Paso 5: devuelve el contenido
    
    ```Python hl_lines="8"
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  3. fastapi/encoders.py

        This is useful when we use ConstrainedDecimal to represent Numeric(x,0)
        where a integer (but not int typed) is used. Encoding this as a float
        results in failed round-tripping between encode and parse.
        Our Id type is a prime example of this.
    
        >>> decimal_encoder(Decimal("1.0"))
        1.0
    
        >>> decimal_encoder(Decimal("1"))
        1
        """
        if dec_value.as_tuple().exponent >= 0:  # type: ignore[operator]
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  4. docs/es/docs/async.md

    # Concurrencia y async / await
    
    Detalles sobre la sintaxis `async def` para *path operation functions* y un poco de información sobre código asíncrono, concurrencia y paralelismo.
    
    ## ¿Tienes prisa?
    
    <abbr title="too long; didn't read"><strong>TL;DR:</strong></abbr>
    
    Si estás utilizando libraries de terceros que te dicen que las llames con `await`, del tipo:
    
    ```Python
    results = await some_library()
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 24.9K bytes
    - Viewed (0)
Back to top