- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 583 for DEPENDENCIES (0.14 sec)
-
docs/pt/docs/tutorial/bigger-applications.md
Então, as colocamos em seu próprio módulo de `dependencies` (`app/dependencies.py`). Agora usaremos uma dependência simples para ler um cabeçalho `X-Token` personalizado: //// tab | Python 3.9+ ```Python hl_lines="3 6-8" title="app/dependencies.py" {!> ../../docs_src/bigger_applications/app_an_py39/dependencies.py!} ``` //// //// tab | Python 3.8+
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 19.6K bytes - Viewed (0) -
docs/de/docs/tutorial/bigger-applications.md
Also fügen wir sie in ihr eigenes `dependencies`-Modul (`app/dependencies.py`) ein. Wir werden nun eine einfache Abhängigkeit verwenden, um einen benutzerdefinierten `X-Token`-Header zu lesen: //// tab | Python 3.9+ ```Python hl_lines="3 6-8" title="app/dependencies.py" {!> ../../docs_src/bigger_applications/app_an_py39/dependencies.py!} ``` //// //// tab | Python 3.8+
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 21K bytes - Viewed (0) -
build-logic/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts
// We only need "failureaccess" of Guava's dependencies withLibraryDependencies<KeepDependenciesByNameRule>("com.google.guava:guava", setOf("failureaccess")) // We only need a few utility classes of this module withLibraryDependencies<DependencyRemovalByNameRule>("jcifs:jcifs", setOf("servlet-api")) // Test dependencies - minify: remove unused transitive dependencies
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Jun 05 20:15:18 UTC 2024 - 9.7K bytes - Viewed (0) -
docs_src/bigger_applications/app/main.py
from fastapi import Depends, FastAPI from .dependencies import get_query_token, get_token_header from .internal import admin from .routers import items, users app = FastAPI(dependencies=[Depends(get_query_token)]) app.include_router(users.router) app.include_router(items.router) app.include_router( admin.router, prefix="/admin", tags=["admin"], dependencies=[Depends(get_token_header)],
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Nov 29 17:32:18 UTC 2020 - 552 bytes - Viewed (0) -
compat/maven-compat/src/test/resources/inheritance-repo/t06/p0/p1/pom.xml
</dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>maven-test</groupId> <artifactId>t06-a</artifactId> <version>1.0</version> </dependency> <dependency> <groupId>maven-test</groupId> <artifactId>t06-c</artifactId> <version>1.0</version> </dependency> </dependencies> <build> <plugins>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.3K bytes - Viewed (0) -
pyproject.toml
"W191", # indentation contains tabs ] [tool.ruff.lint.per-file-ignores] "__init__.py" = ["F401"] "docs_src/dependencies/tutorial007.py" = ["F821"] "docs_src/dependencies/tutorial008.py" = ["F821"] "docs_src/dependencies/tutorial009.py" = ["F821"] "docs_src/dependencies/tutorial010.py" = ["F821"] "docs_src/custom_response/tutorial007.py" = ["B007"] "docs_src/dataclasses/tutorial003.py" = ["I001"]
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 22 14:19:56 UTC 2024 - 7.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ArtifactMetadata.java
this.artifactExists = artifactExists; } public Collection<ArtifactMetadata> getDependencies() { return dependencies; } public void setDependencies(Collection<ArtifactMetadata> dependencies) { this.dependencies = dependencies; } public String getArtifactUri() { return artifactUri; } public void setArtifactUri(String artifactUri) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.6K bytes - Viewed (0) -
docs/pt/docs/tutorial/dependencies/index.md
//// tab | Python 3.10+ ```Python hl_lines="8-9" {!> ../../docs_src/dependencies/tutorial001_an_py310.py!} ``` //// //// tab | Python 3.9+ ```Python hl_lines="8-11" {!> ../../docs_src/dependencies/tutorial001_an_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="9-12" {!> ../../docs_src/dependencies/tutorial001_an.py!} ``` //// //// tab | Python 3.10+ non-Annotated
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 12.6K bytes - Viewed (0) -
docs_src/sql_databases_peewee/sql_app/main.py
@app.post("/users/", response_model=schemas.User, dependencies=[Depends(get_db)]) def create_user(user: schemas.UserCreate): db_user = crud.get_user_by_email(email=user.email) if db_user: raise HTTPException(status_code=400, detail="Email already registered") return crud.create_user(user=user) @app.get("/users/", response_model=List[schemas.User], dependencies=[Depends(get_db)])
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 2.2K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/TestMetadataSource.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.7K bytes - Viewed (0)