- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 42 for model_name (0.05 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java
*/ @Nonnull private final String moduleName; /** * Creates a new path type for the specified module. * * @param moduleName name of the module for which a path is specified */ private Modular(@Nonnull String moduleName) { this.moduleName = Objects.requireNonNull(moduleName); } /**Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Dec 15 11:13:42 UTC 2025 - 15.7K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/score/LtrQueryRescorer.java
final FessConfig fessConfig = ComponentUtil.getFessConfig(); final String modelName = fessConfig.getLtrModelName(); if (StringUtil.isBlank(modelName)) { return null; } return new QueryRescorerBuilder(new StoredLtrQueryBuilder().modelName(modelName).params(params)) .windowSize(fessConfig.getLtrWindowSize()); }
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.7K bytes - Viewed (0) -
tests/test_tutorial/test_path_operation_configurations/test_tutorial003_tutorial004.py
"description": "Item description", "price": 42.0, "tax": 3.2, "tags": IsList("bar", "baz", check_order=False), } def test_openapi_schema(client: TestClient, mod_name: str): mod_name = mod_name[:11] response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == { "openapi": "3.1.0",
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 7K bytes - Viewed (0) -
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) -
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) -
tests/test_tutorial/test_debugging/test_tutorial001.py
import pytest from fastapi.testclient import TestClient MOD_NAME = "docs_src.debugging.tutorial001_py39" @pytest.fixture(name="client") def get_client(): mod = importlib.import_module(MOD_NAME) client = TestClient(mod.app) return client def test_uvicorn_run_is_not_called_on_import(): if sys.modules.get(MOD_NAME): del sys.modules[MOD_NAME] # pragma: no cover
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 1.8K bytes - Viewed (0) -
cmd/veeam-sos-api.go
var globalVeeamForceSC = os.Getenv("_MINIO_VEEAM_FORCE_SC") type systemInfo struct { XMLName xml.Name `xml:"SystemInfo" json:"-"` ProtocolVersion string `xml:"ProtocolVersion"` ModelName string `xml:"ModelName"` ProtocolCapabilities struct { CapacityInfo bool `xml:"CapacityInfo"` UploadSessions bool `xml:"UploadSessions"` IAMSTS bool `xml:"IAMSTS"` } `mxl:"ProtocolCapabilities"`
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Aug 15 00:34:56 UTC 2024 - 8.8K bytes - Viewed (0) -
tests/test_tutorial/test_body_nested_models/test_tutorial001_tutorial002_tutorial003.py
return request.param @pytest.fixture(name="client") def get_client(mod_name: str): mod = importlib.import_module(f"docs_src.body_nested_models.{mod_name}") client = TestClient(mod.app) return client def test_put_all(client: TestClient, mod_name: str): if mod_name.startswith("tutorial003"): tags_expected = IsList("foo", "bar", check_order=False) else:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 7.9K bytes - Viewed (0)