- Sort Score
- Result 10 results
- Languages All
Results 1961 - 1970 of 2,165 for retorno (0.03 sec)
-
docs/en/docs/tutorial/testing.md
│ ├── main.py │ └── test_main.py ``` Let's say that now the file `main.py` with your **FastAPI** app has some other **path operations**. It has a `GET` operation that could return an error. It has a `POST` operation that could return several errors. Both *path operations* require an `X-Token` header. {* ../../docs_src/app_testing/app_b_an_py310/main.py *} ### Extended testing file { #extended-testing-file }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 6.1K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial004.py
mod = importlib.import_module(f"docs_src.security.{request.param}") return mod def get_access_token(*, username="johndoe", password="secret", client: TestClient): data = {"username": username, "password": password} response = client.post("/token", data=data) content = response.json() access_token = content.get("access_token") return access_token def test_login(mod: ModuleType):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 13.3K bytes - Viewed (0) -
cmd/metrics-v2_test.go
} // Deterministic ordering slices.SortFunc(capitalPutObjects, func(a MetricV2, b MetricV2) int { le1 := a.VariableLabels["le"] le2 := a.VariableLabels["le"] return strings.Compare(le1, le2) }) if le := capitalPutObjects[0].VariableLabels["le"]; le != "0.500" { t.Errorf("Expected le='0.050' api=PutObject metrics but got '%v'", le) }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 6.8K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolator.java
.setException(e)); } cache.put(value, c); } return c; } return value; } }; } @SuppressWarnings("StringEquality") private static final class ModelVisitor { private final InnerInterpolator interpolator;
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 43.1K bytes - Viewed (0) -
docs/pt/docs/advanced/openapi-callbacks.md
Nesse caso, você poderia querer documentar como essa API externa *deveria* ser. Que *operação de rota* ela deveria ter, que corpo ela deveria esperar, que resposta ela deveria retornar, etc. ## Um aplicativo com callbacks { #an-app-with-callbacks } Vamos ver tudo isso com um exemplo. Imagine que você desenvolve um aplicativo que permite criar faturas.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 16 20:32:40 UTC 2025 - 8.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/CloseableUtilTest.java
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetFeature.java
* backing multiset. */ ENTRIES_ARE_VIEWS; @Override public Set<Feature<? super Multiset>> getImpliedFeatures() { return emptySet(); } @Retention(RetentionPolicy.RUNTIME) @Inherited @TesterAnnotation public @interface Require { MultisetFeature[] value() default {}; MultisetFeature[] absent() default {};
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jan 30 16:59:10 UTC 2025 - 1.7K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/SetIterationBenchmark.java
} @Benchmark int iteration(int reps) { int x = 0; for (int i = 0; i < reps; i++) { for (Element y : setToTest) { x ^= System.identityHashCode(y); } } return x; }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/NearestConflictResolver.java
* org.apache.maven.artifact.resolver.ResolutionNode) */ @Override public ResolutionNode resolveConflict(ResolutionNode node1, ResolutionNode node2) { return node1.getDepth() <= node2.getDepth() ? node1 : node2; }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 1.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/AndArtifactFilterTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; /** * Tests {@link AndArtifactFilter}. * */ class AndArtifactFilterTest { private ArtifactFilter newSubFilter() { return artifact -> false; } @Test void testEquals() { AndArtifactFilter filter1 = new AndArtifactFilter(); AndArtifactFilter filter2 = new AndArtifactFilter(Arrays.asList(newSubFilter()));Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 1.9K bytes - Viewed (0)