Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 68 for dep (0.01 seconds)

  1. tests/test_stringified_annotations_simple.py

    from fastapi.testclient import TestClient
    
    from .utils import needs_py310
    
    
    class Dep:
        def __call__(self, request: Request):
            return "test"
    
    
    @needs_py310
    def test_stringified_annotations():
        app = FastAPI()
    
        client = TestClient(app)
    
        @app.get("/test/")
        def call(test: Annotated[str, Depends(Dep())]):
            return {"test": test}
    
        response = client.get("/test")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 545 bytes
    - Click Count (0)
  2. docs/ru/docs/tutorial/dependencies/dependencies-with-yield.md

    participant client as Client
    participant handler as Exception handler
    participant dep as Dep with yield
    participant operation as Path Operation
    participant tasks as Background tasks
    
        Note over client,operation: Can raise exceptions, including HTTPException
        client ->> dep: Start request
        Note over dep: Run code up to yield
        opt raise Exception
            dep -->> handler: Raise Exception
            handler -->> client: HTTP error response
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  3. docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md

    participant client as Client
    participant handler as Exception handler
    participant dep as Dep with yield
    participant operation as Path Operation
    participant tasks as Background tasks
    
        Note over client,operation: Can raise exceptions, including HTTPException
        client ->> dep: Start request
        Note over dep: Run code up to yield
        opt raise Exception
            dep -->> handler: Raise Exception
            handler -->> client: HTTP error response
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 11.3K bytes
    - Click Count (0)
  4. src/cmd/api/testdata/src/issue21181/dep/p_amd64.go

    package dep...
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Oct 05 17:53:43 GMT 2018
    - 12 bytes
    - Click Count (0)
  5. docs/de/docs/tutorial/dependencies/dependencies-with-yield.md

    participant handler as Exceptionhandler
    participant dep as Abhängigkeit mit yield
    participant operation as Pfadoperation
    participant tasks as Hintergrundtasks
    
        Note over client,operation: Kann Exceptions auslösen, inklusive HTTPException
        client ->> dep: Startet den Request
        Note over dep: Führt den Code bis zum yield aus
        opt Löst Exception aus
            dep -->> handler: Löst Exception aus
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  6. .teamcity/src/main/kotlin/projects/CheckProject.kt

                    allowEmpty = true,
                    description = "The extra gradle parameters you want to pass to this build, e.g. `-PrerunAllTests` or `--no-build-cache`",
                )
                text(
                    "reverse.dep.*.additional.gradle.parameters",
                    "",
                    display = ParameterDisplay.NORMAL,
                    allowEmpty = true,
                    description =
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Feb 12 09:12:03 GMT 2025
    - 3.9K bytes
    - Click Count (1)
  7. docs/pt/docs/tutorial/dependencies/dependencies-with-yield.md

    participant handler as Manipulador de exceções
    participant dep as Dep com yield
    participant operation as Operação de Rota
    participant tasks as Tarefas de Background
    
        Note over client,operation: pode lançar exceções, incluindo HTTPException
        client ->> dep: Iniciar requisição
        Note over dep: Executar código até o yield
        opt lançar Exceção
            dep -->> handler: lançar Exceção
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  8. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    participant client as Client
    participant handler as Exception handler
    participant dep as Dep with yield
    participant operation as Path Operation
    participant tasks as Background tasks
    
        Note over client,operation: Can raise exceptions, including HTTPException
        client ->> dep: Start request
        Note over dep: Run code up to yield
        opt raise Exception
            dep -->> handler: Raise Exception
            handler -->> client: HTTP error response
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 12.9K bytes
    - Click Count (0)
  9. fastapi/dependencies/models.py

            assert isinstance(unwrapped, SecurityBase)
            return unwrapped
    
        @cached_property
        def _security_dependencies(self) -> list["Dependant"]:
            security_deps = [dep for dep in self.dependencies if dep._is_security_scheme]
            return security_deps
    
        @cached_property
        def is_gen_callable(self) -> bool:
            if self.call is None:
                return False  # pragma: no cover
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  10. migrator/migrator.go

    		if _, ok := parsedSchemas[dep.Statement.Schema]; ok {
    			return
    		}
    		parsedSchemas[dep.Statement.Schema] = true
    
    		if !m.DB.IgnoreRelationshipsWhenMigrating {
    			for _, rel := range dep.Schema.Relationships.Relations {
    				if rel.Field.IgnoreMigration {
    					continue
    				}
    				if c := rel.ParseConstraint(); c != nil && c.Schema == dep.Statement.Schema && c.Schema != c.ReferenceSchema {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Oct 26 12:31:09 GMT 2025
    - 29.7K bytes
    - Click Count (0)
Back to Top