- Sort Score
- Num 10 results
- Language All
Results 371 - 380 of 1,383 for defs (0.02 seconds)
-
impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java
MojoExecution exec = newMojoExecution(); Artifact depArtifact = createArtifact("group", "artifact", "1"); List<Artifact> deps = new ArrayList<>(); deps.add(depArtifact); exec.getMojoDescriptor().getPluginDescriptor().setArtifacts(deps); MavenSession session = newMavenSession(); @SuppressWarnings("unchecked") List<Artifact> depResults =
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Mar 26 19:31:34 GMT 2025 - 19.4K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild.binary-compatibility.gradle
// is the "main" one that is also shown in HTML report def apiChangesJsonDirectory = layout.projectDirectory.dir("src/changes/accepted-changes") def compatibilityBaselineVersion = gradleModule.identity.releasedVersions.get().mostRecentRelease.version def ARTIFACT_TYPE = Attribute.of('artifactType', String) def RUNTIME_ATTRIBUTE = objects.named(Usage, Usage.JAVA_RUNTIME) def DOCUMENTATION_ATTRIBUTE = objects.named(Category, Category.DOCUMENTATION)
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Dec 30 10:14:25 GMT 2025 - 8.9K bytes - Click Count (0) -
docs/ko/docs/async.md
```Python hl_lines="2" @app.get('/') def results(): results = some_library() return results ``` --- 만약 당신의 응용프로그램이 (어째서인지) 다른 무엇과 의사소통하고 그것이 응답하기를 기다릴 필요가 없다면 `async def`를 사용하십시오. --- 모르겠다면, 그냥 `def`를 사용하십시오. ---
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 09:56:21 GMT 2025 - 26.7K bytes - Click Count (0) -
ci/official/containers/ml_build/builder.devtoolset/glibc2.17-inline.patch
--- /dt9/usr/include/x86_64-linux-gnu/sys/cdefs.h 2013-09-30 13:58:17.000000000 +0000 +++ /dt9/usr/include/x86_64-linux-gnu/sys/cdefs.new.h 2022-11-04 17:17:31.727061220 +0000 @@ -320,7 +320,7 @@ /* GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99 inline semantics, unless -fgnu89-inline is used. */ -#if (!defined __cplusplus || __GNUC_PREREQ (4,3)) && defined __GNUC__Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Tue Sep 24 20:45:58 GMT 2024 - 663 bytes - Click Count (0) -
tests/test_tutorial/test_additional_responses/test_tutorial003.py
from docs_src.additional_responses.tutorial003_py39 import app client = TestClient(app) def test_path_operation(): response = client.get("/items/foo") assert response.status_code == 200, response.text assert response.json() == {"id": "foo", "value": "there goes my hero"} def test_path_operation_not_found(): response = client.get("/items/bar") assert response.status_code == 404, response.text
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4.6K bytes - Click Count (0) -
tests/test_tutorial/test_response_directly/test_tutorial001.py
pytest.param("tutorial001_py39"), pytest.param("tutorial001_py310", marks=needs_py310), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.response_directly.{request.param}") client = TestClient(mod.app) return client def test_path_operation(client: TestClient): response = client.put( "/items/1", json={
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 5.1K bytes - Click Count (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy
def propertiesSection = withCategories { content.section.find { it.title[0].text().trim() == 'Properties' } } def propertyDetailsSection = withCategories { content.section.find { it.title[0].text().trim() == 'Property details' } } def propertiesTable = withCategories { propertiesSection ? propertiesSection.table[0] : parse('<table/>')}Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 40.8K bytes - Click Count (0) -
docs/es/docs/tutorial/dependencies/index.md
Puedes usar `async def` o `def` normal. Y puedes declarar dependencias con `async def` dentro de *path operation functions* normales `def`, o dependencias `def` dentro de *path operation functions* `async def`, etc. No importa. **FastAPI** sabrá qué hacer. /// note | Nota
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 16:33:45 GMT 2025 - 10.1K bytes - Click Count (0) -
tests/test_invalid_sequence_param.py
from fastapi import FastAPI, Query from pydantic import BaseModel def test_invalid_sequence(): with pytest.raises(AssertionError): app = FastAPI() class Item(BaseModel): title: str @app.get("/items/") def read_items(q: list[Item] = Query(default=None)): pass # pragma: no cover def test_invalid_tuple(): with pytest.raises(AssertionError):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 1.2K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java
.map(profile -> profile.child(DEPENDENCY_MANAGEMENT) .flatMap(dm -> dm.child(DEPENDENCIES)) .map(deps -> removeManagedDependenciesFromSection( context, deps, allGAVs, "profile dependencyManagement")) .orElse(false)) .reduce(false, Boolean::logicalOr); hasChanges |= profileChanges;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 27.6K bytes - Click Count (0)