- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 570 for scope (0.07 seconds)
-
docs/es/docs/advanced/advanced-dependencies.md
### Dependencias con `yield` y `scope` { #dependencies-with-yield-and-scope } En la versión 0.121.0, FastAPI agregó soporte para `Depends(scope="function")` para dependencias con `yield`.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) -
compat/maven-model-builder/src/test/resources/poms/depmgmt/distant-import.xml
<dependency> <groupId>org.junit</groupId> <artifactId>bom</artifactId> <version>0.1</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 768 bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java
} return projectKeys; } private Collection<String> negate(Collection<String> scopes) { Collection<String> result = new HashSet<>(); Collections.addAll(result, "system", "compile", "provided", "runtime", "test"); for (String scope : scopes) { if ("compile".equals(scope)) { result.remove("compile"); result.remove("system");Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 15.6K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTestSupport.java
<artifactId>junit-bom</artifactId> <version>5.11.1</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Oct 21 12:17:55 GMT 2025 - 6.8K bytes - Click Count (0) -
docs/ru/docs/advanced/advanced-dependencies.md
### Зависимости с `yield` и `scope` { #dependencies-with-yield-and-scope } В версии 0.121.0 FastAPI добавил поддержку `Depends(scope="function")` для зависимостей с `yield`. При использовании `Depends(scope="function")` код после `yield` выполняется сразу после завершения *функции-обработчика пути*, до отправки ответа клиенту.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Thu Dec 11 21:25:03 GMT 2025 - 14.1K bytes - Click Count (0) -
tests/test_depends_hashable.py
from fastapi import Depends, Security def dep(): pass def test_depends_hashable(): dep() # just for coverage d1 = Depends(dep) d2 = Depends(dep) d3 = Depends(dep, scope="function") d4 = Depends(dep, scope="function") s1 = Security(dep) s2 = Security(dep) assert hash(d1) == hash(d2) assert hash(s1) == hash(s2) assert hash(d1) != hash(d3)
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Nov 19 16:50:18 GMT 2025 - 596 bytes - Click Count (0) -
compat/maven-compat/src/test/resources/inheritance-repo/t10/p0/p1/pom.xml
<dependency> <groupId>maven-test</groupId> <artifactId>t10-a</artifactId> </dependency> <dependency> <groupId>maven-test</groupId> <artifactId>t10-c</artifactId> <scope>runtime</scope> </dependency> </dependencies> <build> <plugins> <plugin> <artifactId>maven-antrun-plugin</artifactId> <configuration>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 877 bytes - Click Count (0) -
compat/maven-compat/src/test/resources/inheritance-repo/t08/p0/pom.xml
<version>1.0</version> </dependency> <dependency> <groupId>maven-test</groupId> <artifactId>t08-d</artifactId> <version>1.2</version> <scope>test</scope> <optional>false</optional> </dependency> </dependencies> </dependencyManagement>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 992 bytes - Click Count (0) -
cmd/signature-v4.go
func getScope(t time.Time, region string) string { scope := strings.Join([]string{ t.Format(yyyymmdd), region, string(serviceS3), "aws4_request", }, SlashSeparator) return scope } // getStringToSign a string based on selected query values. func getStringToSign(canonicalRequest string, t time.Time, scope string) string {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Dec 13 22:19:12 GMT 2024 - 12.4K bytes - Click Count (0) -
docs/en/docs/how-to/custom-request-and-route.md
/// note | Technical Details A `Request` has a `request.scope` attribute, that's just a Python `dict` containing the metadata related to the request. A `Request` also has a `request.receive`, that's a function to "receive" the body of the request. The `scope` `dict` and `receive` function are both part of the ASGI specification. And those two things, `scope` and `receive`, are what is needed to create a new `Request` instance.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 10 08:55:32 GMT 2025 - 4.6K bytes - Click Count (0)