Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Dependencias (0.06 sec)

  1. fastapi/routing.py

                    if dependencies:
                        current_dependencies.extend(dependencies)
                    if route.dependencies:
                        current_dependencies.extend(route.dependencies)
                    self.add_api_websocket_route(
                        prefix + route.path,
                        route.endpoint,
                        dependencies=current_dependencies,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 174.6K bytes
    - Viewed (0)
  2. pyproject.toml

        "W191",  # indentation contains tabs
    ]
    
    [tool.ruff.lint.per-file-ignores]
    "__init__.py" = ["F401"]
    "docs_src/dependencies/tutorial007_py39.py" = ["F821"]
    "docs_src/dependencies/tutorial008_py39.py" = ["F821"]
    "docs_src/dependencies/tutorial009_py39.py" = ["F821"]
    "docs_src/dependencies/tutorial010_py39.py" = ["F821"]
    "docs_src/custom_response/tutorial007_py39.py" = ["B007"]
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. docs/en/docs/release-notes.md

        * <a href="https://fastapi.tiangolo.com/tutorial/dependencies/dependencies-in-path-operation-decorators/" class="external-link" target="_blank">Tutorial - Dependencies - Dependencies in path operation decorators</a>.
        * <a href="https://fastapi.tiangolo.com/tutorial/dependencies/global-dependencies/" class="external-link" target="_blank">Tutorial - Dependencies - Global Dependencies</a>.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:06:15 UTC 2025
    - 586.7K bytes
    - Viewed (0)
  4. fastapi/dependencies/utils.py

        )
        for sub_dependant in dependant.dependencies:
            if skip_repeats and sub_dependant.cache_key in visited:
                continue
            flat_sub = get_flat_dependant(
                sub_dependant,
                skip_repeats=skip_repeats,
                visited=visited,
                parent_oauth_scopes=flat_dependant.oauth_scopes,
            )
            flat_dependant.dependencies.append(flat_sub)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 37.6K bytes
    - Viewed (3)
  5. .github/workflows/translate.yml

          - name: Setup uv
            uses: astral-sh/setup-uv@v7
            with:
              cache-dependency-glob: |
                requirements**.txt
                pyproject.toml
          - name: Install Dependencies
            run: uv pip install -r requirements-github-actions.txt -r requirements-translations.txt
          - name: Export Language Codes
            id: show-langs
            run: |
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:48:45 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  6. tests/test_dependency_overrides.py

    
    @app.get("/decorator-depends/", dependencies=[Depends(common_parameters)])
    async def decorator_depends():
        return {"in": "decorator-depends"}
    
    
    @router.get("/router-depends/")
    async def router_depends(commons: dict = Depends(common_parameters)):
        return {"in": "router-depends", "params": commons}
    
    
    @router.get("/router-decorator-depends/", dependencies=[Depends(common_parameters)])
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_dependencies/test_tutorial006.py

        params=[
            pytest.param("tutorial006_py39"),
            pytest.param("tutorial006_an_py39"),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.dependencies.{request.param}")
    
        client = TestClient(mod.app)
        return client
    
    
    def test_get_no_headers(client: TestClient):
        response = client.get("/items/")
        assert response.status_code == 422, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_dependencies/test_tutorial012.py

        params=[
            pytest.param("tutorial012_py39"),
            pytest.param("tutorial012_an_py39"),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.dependencies.{request.param}")
    
        client = TestClient(mod.app)
        return client
    
    
    def test_get_no_headers_items(client: TestClient):
        response = client.get("/items/")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  9. fastapi/param_functions.py

        It takes a single "dependable" callable (like a function).
    
        Don't call it directly, FastAPI will call it for you.
    
        Read more about it in the
        [FastAPI docs for Dependencies](https://fastapi.tiangolo.com/tutorial/dependencies/).
    
        **Example**
    
        ```python
        from typing import Annotated
    
        from fastapi import Depends, FastAPI
    
        app = FastAPI()
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 63K bytes
    - Viewed (0)
  10. fastapi/openapi/utils.py

        get_compat_model_name_map,
        get_definitions,
        get_schema_from_model_field,
        lenient_issubclass,
    )
    from fastapi.datastructures import DefaultPlaceholder
    from fastapi.dependencies.models import Dependant
    from fastapi.dependencies.utils import (
        _get_flat_fields_from_params,
        get_flat_dependant,
        get_flat_params,
        get_validation_alias,
    )
    from fastapi.encoders import jsonable_encoder
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 23.2K bytes
    - Viewed (0)
Back to top