Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 64 for cierre (0.05 seconds)

  1. docs/es/docs/advanced/advanced-dependencies.md

    Si hay casos de uso convincentes para el cierre temprano en dependencias con `yield`, consideraría agregar una nueva forma de optar por el cierre temprano.
    
    ### Dependencias con `yield` y `except`, detalles técnicos { #dependencies-with-yield-and-except-technical-details }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  2. docs/es/docs/advanced/custom-response.md

    1. Esta es la función generadora. Es una "función generadora" porque contiene declaraciones `yield` dentro.
    2. Al usar un bloque `with`, nos aseguramos de que el objeto similar a un archivo se cierre después de que la función generadora termine. Así, después de que termina de enviar el response.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  3. docs/es/docs/advanced/websockets.md

    Cuando una conexión de WebSocket se cierra, el `await websocket.receive_text()` lanzará una excepción `WebSocketDisconnect`, que puedes capturar y manejar como en este ejemplo.
    
    {* ../../docs_src/websockets/tutorial003_py39.py hl[79:81] *}
    
    Para probarlo:
    
    * Abre la aplicación con varias pestañas del navegador.
    * Escribe mensajes desde ellas.
    * Luego cierra una de las pestañas.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  4. docs/es/docs/tutorial/dependencies/dependencies-with-yield.md

    # Dependencias con yield { #dependencies-with-yield }
    
    FastAPI admite dependencias que realizan algunos <abbr title='a veces también llamado "código de salida", "código de limpieza", "código de teardown", "código de cierre", "código de salida del context manager", etc.'>pasos adicionales después de finalizar</abbr>.
    
    Para hacer esto, usa `yield` en lugar de `return`, y escribe los pasos adicionales (código) después.
    
    /// tip | Consejo
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  5. .github/workflows/release-branch-cherrypick.yml

    # input the branch name and paste the cherry-pick commit and click Run. A PR
    # will be created.
    
    name: Release Branch Cherrypick
    on:
      workflow_dispatch:
        inputs:
          # We use this instead of the "run on branch" argument because GitHub looks
          # on that branch for a workflow.yml file, and we'd have to cherry-pick
          # this file into those branches.
          release_branch:
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Mon Dec 01 09:57:00 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  6. tests/test_serialize_response_model.py

    
    @app.get("/items/valid", response_model=Item)
    def get_valid():
        return Item(aliased_name="valid", price=1.0)
    
    
    @app.get("/items/coerce", response_model=Item)
    def get_coerce():
        return Item(aliased_name="coerce", price="1.0")
    
    
    @app.get("/items/validlist", response_model=list[Item])
    def get_validlist():
        return [
            Item(aliased_name="foo"),
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  7. tests/test_serialize_response.py

        owner_ids: Optional[list[int]] = None
    
    
    @app.get("/items/valid", response_model=Item)
    def get_valid():
        return {"name": "valid", "price": 1.0}
    
    
    @app.get("/items/coerce", response_model=Item)
    def get_coerce():
        return {"name": "coerce", "price": "1.0"}
    
    
    @app.get("/items/validlist", response_model=list[Item])
    def get_validlist():
        return [
            {"name": "foo"},
            {"name": "bar", "price": 1.0},
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  8. tests/test_serialize_response_dataclass.py

    @app.get("/items/object", response_model=Item)
    def get_object():
        return Item(
            name="object", date=datetime(2021, 7, 26), price=1.0, owner_ids=[1, 2, 3]
        )
    
    
    @app.get("/items/coerce", response_model=Item)
    def get_coerce():
        return {"name": "coerce", "date": datetime(2021, 7, 26).isoformat(), "price": "1.0"}
    
    
    @app.get("/items/validlist", response_model=list[Item])
    def get_validlist():
        return [
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  9. src/main/resources/fess_message_it.properties

    errors.invalid_query_cannot_process=Impossibile elaborare la query specificata.
    errors.crud_invalid_mode = Modalità non valida. (È {1}, non {0})
    errors.crud_failed_to_create_instance = Impossibile creare nuovi dati.
    errors.crud_failed_to_create_crud_table = Impossibile creare nuovi dati. ({0})
    errors.crud_failed_to_update_crud_table=Impossibile aggiornare i dati. ({0})
    errors.crud_failed_to_delete_crud_table=Impossibile eliminare i dati. ({0})
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 10 04:56:21 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  10. deploy_website.sh

    python3 -m venv venv
    source venv/bin/activate
    pip install mkdocs-material mkdocs-redirects
    mkdocs gh-deploy
    
    # Restore Javadocs from 1.x, 2.x, and 3.x.
    git checkout gh-pages
    git cherry-pick bb229b9dcc9a21a73edbf8d936bea88f52e0a3ff
    git cherry-pick c695732f1d4aea103b826876c077fbfea630e244
    git push --set-upstream origin gh-pages
    
    # Delete our temp folder
    cd ..
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Nov 20 15:26:12 GMT 2023
    - 1.2K bytes
    - Click Count (0)
Back to Top