Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 1,555 for depend (0.12 seconds)

  1. docs/es/docs/tutorial/dependencies/sub-dependencies.md

    {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[13] *}
    
    Centrémonos en los parámetros declarados:
    
    * Aunque esta función es una dependencia ("dependable") en sí misma, también declara otra dependencia (depende de algo más).
        * Depende del `query_extractor`, y asigna el valor que devuelve al parámetro `q`.
    * También declara una `last_query` cookie opcional, como un `str`.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  2. internal/ioutil/append-file_nix.go

    Harshavardhana <******@****.***> 1641143706 -0800
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 1.3K bytes
    - Click Count (0)
  3. CHANGELOG/CHANGELOG-1.4.md

    * Federation can now be deployed using the `federation/deploy/deploy.sh` script. This script does not depend on any of the development environment shell library/scripts. This is an alternative to the current `federation-up.sh`/`federation-down.sh` scripts. Both the scripts are going to co-exist in this release, but the `federation-up.sh`/`federation-down.sh`...
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Thu Dec 24 02:28:26 GMT 2020
    - 133.5K bytes
    - Click Count (0)
  4. docs/pt/docs/tutorial/dependencies/sub-dependencies.md

    Vamos focar nos parâmetros declarados:
    
    * Mesmo que essa função seja uma dependência ("dependable") por si mesma, ela também declara uma outra dependência (ela "depende" de outra coisa).
        * Ela depende do `query_extractor`, e atribui o valor retornado pela função ao parâmetro `q`.
    * Ela também declara um cookie opcional `last_query`, do tipo `str`.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  5. CHANGELOG/CHANGELOG-1.11.md

    ([#64706](https://github.com/kubernetes/kubernetes/pull/64706), [@liztio](https://github.com/liztio))
    * The `PersistentVolumeLabel` admission controller is now disabled by default. If you depend on this feature (AWS/GCE) then ensure it is added to the `--enable-admission-plugins` flag on the kube-apiserver. ([#64326](https://github.com/kubernetes/kubernetes/pull/64326), [@andrewsykim](https://github.com/andrewsykim))
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Thu Feb 06 06:04:15 GMT 2020
    - 328.4K bytes
    - Click Count (0)
  6. tests/test_dependency_contextmanager.py

    
    @app.get("/async")
    async def get_async(state: str = Depends(asyncgen_state)):
        return state
    
    
    @app.get("/sync")
    async def get_sync(state: str = Depends(generator_state)):
        return state
    
    
    @app.get("/async_raise")
    async def get_async_raise(state: str = Depends(asyncgen_state_try)):
        assert state == "asyncgen raise started"
        raise AsyncDependencyError()
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  7. docs/es/docs/advanced/advanced-dependencies.md

    En la versión 0.121.0, FastAPI agregó soporte para `Depends(scope="function")` para dependencias con `yield`.
    
    Usando `Depends(scope="function")`, el código de salida después de `yield` se ejecuta justo después de que la *path operation function* termina, antes de que la response se envíe de vuelta al cliente.
    
    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)
  8. tests/test_ws_dependencies.py

    import json
    from typing import Annotated
    
    from fastapi import APIRouter, Depends, FastAPI, WebSocket
    from fastapi.testclient import TestClient
    
    
    def dependency_list() -> list[str]:
        return []
    
    
    DepList = Annotated[list[str], Depends(dependency_list)]
    
    
    def create_dependency(name: str):
        def fun(deps: DepList):
            deps.append(name)
    
        return Depends(fun)
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  9. CHANGELOG/CHANGELOG-1.22.md

    The merged fix enforces validation against the proxying address for a Node. In some cases, the fix can break clients that depend on the `nodes/proxy` subresource, specifically if a kubelet advertises a localhost or link-local address to the Kubernetes control plane. Configuring an egress proxy for egress to the cluster network can also mitigate this vulnerability.
    
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Tue Dec 13 12:43:45 GMT 2022
    - 454.1K bytes
    - Click Count (0)
  10. tests/test_ws_router.py

    
    @router.websocket("/depends-err/")
    async def router_ws_depends_err(websocket: WebSocket, data=Depends(ws_dependency_err)):
        pass  # pragma: no cover
    
    
    async def ws_dependency_validate(x_missing: str = Header()):
        pass  # pragma: no cover
    
    
    @router.websocket("/depends-validate/")
    async def router_ws_depends_validate(
        websocket: WebSocket, data=Depends(ws_dependency_validate)
    ):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Jun 11 19:08:14 GMT 2023
    - 7.5K bytes
    - Click Count (0)
Back to Top