- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for module_name (0.05 sec)
-
tests/test_tutorial/test_python_types/test_tutorial001_tutorial002.py
import runpy from unittest.mock import patch import pytest @pytest.mark.parametrize( "module_name", [ "tutorial001_py39", "tutorial002_py39", ], ) def test_run_module(module_name: str): with patch("builtins.print") as mock_print: runpy.run_module(f"docs_src.python_types.{module_name}", run_name="__main__")
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 398 bytes - Viewed (0) -
tests/test_tutorial/test_response_model/test_tutorial003_04.py
from ...utils import needs_py310 @pytest.mark.parametrize( "module_name", [ pytest.param("tutorial003_04_py39"), pytest.param("tutorial003_04_py310", marks=needs_py310), ], ) def test_invalid_response_model(module_name: str) -> None: with pytest.raises(FastAPIError):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 453 bytes - Viewed (0) -
tests/test_tutorial/test_python_types/test_tutorial011.py
from ...utils import needs_py310 @pytest.mark.parametrize( "module_name", [ pytest.param("tutorial011_py39"), pytest.param("tutorial011_py310", marks=needs_py310), ], ) def test_run_module(module_name: str): with patch("builtins.print") as mock_print: runpy.run_module(f"docs_src.python_types.{module_name}", run_name="__main__") assert mock_print.call_count == 2
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 691 bytes - Viewed (0) -
docs_src/path_params/tutorial005_py39.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 546 bytes - Viewed (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/SourceRootTest.java
import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; public class SourceRootTest implements SourceRoot { private ProjectScope scope; private Language language; private String moduleName; @Override public ProjectScope scope() { return (scope != null) ? scope : SourceRoot.super.scope(); } @Override public Language language() {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sun Oct 26 17:22:14 UTC 2025 - 2.9K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PomDiscovery.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 4.8K bytes - Viewed (0) -
tests/test_tutorial/test_path_params/test_tutorial005.py
response = client.get("/models/alexnet") assert response.status_code == 200 assert response.json() == {"model_name": "alexnet", "message": "Deep Learning FTW!"} def test_get_enums_lenet(): response = client.get("/models/lenet") assert response.status_code == 200 assert response.json() == {"model_name": "lenet", "message": "LeCNN all the images"} def test_get_enums_resnet():
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 4.1K bytes - Viewed (0) -
buildSrc/src/main/kotlin/JavaModules.kt
import org.gradle.api.tasks.compile.JavaCompile import org.gradle.kotlin.dsl.configure import org.gradle.kotlin.dsl.named import org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile fun Project.applyJavaModules( moduleName: String, defaultVersion: Int = 8, javaModuleVersion: Int = 9, enableValidation: Boolean = true, ) { plugins.apply("me.champeau.mrjar") configure<MultiReleaseExtension> {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Sep 21 06:22:22 UTC 2025 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/query/StoredLtrQueryBuilder.java
/** The name of the query. */ public static final String NAME = "sltr"; /** The parse field for the model name. */ public static final ParseField MODEL_NAME = new ParseField("model"); /** The parse field for the featureset name. */ public static final ParseField FEATURESET_NAME = new ParseField("featureset"); /** The parse field for the store name. */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.6K bytes - Viewed (0) -
docs/ko/docs/tutorial/path-params.md
### 파이썬 *열거형*으로 작업하기 *경로 매개변수*의 값은 *열거형 멤버*가 됩니다. #### *열거형 멤버* 비교 열거형 `ModelName`의 *열거형 멤버*를 비교할 수 있습니다: {* ../../docs_src/path_params/tutorial005.py hl[17] *} #### *열거형 값* 가져오기 `model_name.value` 또는 일반적으로 `your_enum_member.value`를 이용하여 실제 값(위 예시의 경우 `str`)을 가져올 수 있습니다: {* ../../docs_src/path_params/tutorial005.py hl[20] *} /// tip | 팁 `ModelName.lenet.value`로도 값 `"lenet"`에 접근할 수 있습니다.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 9.6K bytes - Viewed (0)