Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 132 for funciona (0.78 sec)

  1. docs/pt/docs/async.md

    Quando você quiser chamar uma função `async def`, você tem que "esperar" ela. Então, isso não funcionará:
    
    ```Python
    # Isso não irá funcionar, porquê get_burgers foi definido com: async def
    burgers = get_burgers(2)
    ```
    
    ---
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  2. docs/es/docs/async.md

        return burgers
    ```
    
    Con `async def`, Python sabe que, dentro de esa función, tiene que estar atento a las expresiones `await`, y que puede "pausar" ⏸ la ejecución de esa función e ir a hacer algo más 🔀 antes de regresar.
    
    Cuando deseas llamar a una función `async def`, tienes que "await" dicha función. Así que, esto no funcionará:
    
    ```Python
    # Esto no funcionará, porque get_burgers fue definido con: async def
    burgers = get_burgers(2)
    ```
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  3. docs/pt/docs/index.md

        * Verifica que tem um atributo obrigatório `price` que deve ser `float`.
        * Verifica que tem an atributo opcional `is_offer`, que deve ser `bool`, se presente.
        * Tudo isso também funciona para objetos JSON profundamente aninhados.
    * Converter de e para JSON automaticamente.
    * Documentar tudo com OpenAPI, que poderá ser usado por:
        * Sistemas de documentação interativos.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  4. docs/es/docs/index.md

    * Proporcionará 2 interfaces web de documentación interactiva directamente.
    
    ---
    
    Solo tocamos los conceptos básicos, pero ya te haces una idea de cómo funciona todo.
    
    Intenta cambiar la línea con:
    
    ```Python
        return {"item_name": item.name, "item_id": item_id}
    ```
    
    ...desde:
    
    ```Python
            ... "item_name": item.name ...
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  5. docs/es/docs/tutorial/security/oauth2-jwt.md

    Si quieres jugar con tokens JWT y ver cómo funcionan, revisa <a href="https://jwt.io/" class="external-link" target="_blank">https://jwt.io</a>.
    
    ## Instalar `PyJWT`
    
    Necesitamos instalar `PyJWT` para generar y verificar los tokens JWT en Python.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. docs/es/docs/advanced/security/oauth2-scopes.md

    En este caso, pasamos una función de dependencia `get_current_active_user` a `Security` (de la misma manera que haríamos con `Depends`).
    
    Pero también pasamos una `list` de scopes, en este caso con solo un scope: `items` (podría tener más).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  7. docs/es/docs/tutorial/query-params.md

    # Parámetros de Query
    
    Cuando declaras otros parámetros de función que no son parte de los parámetros de path, son automáticamente interpretados como parámetros de "query".
    
    {* ../../docs_src/query_params/tutorial001.py hl[9] *}
    
    La query es el conjunto de pares clave-valor que van después del `?` en una URL, separados por caracteres `&`.
    
    Por ejemplo, en la URL:
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  8. docs/es/docs/tutorial/path-params.md

    El valor del parámetro de path `item_id` se pasará a tu función como el argumento `item_id`.
    
    Así que, si ejecutas 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 un response de:
    
    ```JSON
    {"item_id":"foo"}
    ```
    
    ## Parámetros de path con tipos
    
    Puedes declarar el tipo de un parámetro de path en la función, usando anotaciones de tipos estándar de Python:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/background-tasks.md

    {* ../../docs_src/background_tasks/tutorial001.py hl[1,13] *}
    
    **FastAPI** will create the object of type `BackgroundTasks` for you and pass it as that parameter.
    
    ## Create a task function { #create-a-task-function }
    
    Create a function to be run as the background task.
    
    It is just a standard function that can receive parameters.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java

        /**
         * Function code to retrieve DFS referrals
         */
        public static final int FSCTL_DFS_GET_REFERRALS = 0x0060194;
        /**
         * Function code to peek at named pipe data without removing it
         */
        public static final int FSCTL_PIPE_PEEK = 0x0011400C;
        /**
         * Function code to wait for a named pipe to become available
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top