- Sort Score
- Num 10 results
- Language All
Results 211 - 220 of 769 for scope2 (0.05 seconds)
-
docs/en/docs/advanced/advanced-dependencies.md
### Dependencies with `yield` and `scope` { #dependencies-with-yield-and-scope } In version 0.121.0, FastAPI added support for `Depends(scope="function")` for dependencies with `yield`. Using `Depends(scope="function")`, the exit code after `yield` is executed right after the *path operation function* is finished, before the response is sent back to the client.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 9K bytes - Click Count (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
} @Override public NbtAddress getNbtByName(final String host, final int type, final String scope) throws UnknownHostException { return getNbtByName(host, type, scope, null); } @Override public NbtAddress getNbtByName(final String host, final int type, final String scope, final InetAddress svr) throws UnknownHostException { if (host == null || host.length() == 0) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 38.5K bytes - Click Count (0) -
compat/maven-repository-metadata/pom.xml
<dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.maven.resolver</groupId> <artifactId>maven-resolver-api</artifactId> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin>Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Jun 29 22:37:39 GMT 2025 - 3.5K bytes - Click Count (0) -
tests/chainable_api_test.go
if !ok || len(args) != 2 { t.Fatalf("Preload expected with args, got %v", tx.Statement.Preloads) } // Scopes: just ensure calling Scopes doesn't panic and returns a DB tx = tx.Scopes(func(d *gorm.DB) *gorm.DB { return d.Where("status = ?", "ok") }) if tx == nil { t.Fatalf("Scopes returned nil") } // Unscoped tx = tx.Unscoped() if !tx.Statement.Unscoped {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Jan 31 08:39:40 GMT 2026 - 3.9K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ClasspathTransformation.java
String ROLE = ClasspathTransformation.class.getName(); /** * Transform Graph into a Collection of metadata objects that * could serve as a classpath for a particular scope * * @param dirtyGraph - dependency graph * @param scope - which classpath to extract * @param resolve - whether to resolve artifacts. * @return Collection of metadata objects in the linked subgraph of the graph which
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.7K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 7.4K 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 Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Nov 19 16:50:18 GMT 2025 - 596 bytes - Click Count (0) -
docs/tr/docs/advanced/advanced-dependencies.md
### `yield` ve `scope` ile dependency'ler { #dependencies-with-yield-and-scope } 0.121.0 sürümünde FastAPI, `Depends(scope="function")` desteğini ekledi. `Depends(scope="function")` kullanıldığında, `yield` sonrasındaki çıkış kodu, *path operation function* biter bitmez, response client'a geri gönderilmeden önce çalıştırılır.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 10K 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 Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 14.1K bytes - Click Count (0) -
compat/maven-settings-builder/pom.xml
</dependency> <dependency> <groupId>javax.inject</groupId> <artifactId>javax.inject</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.eclipse.sisu</groupId>Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Jun 29 22:37:39 GMT 2025 - 4.6K bytes - Click Count (0)