- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 151 for node_name (0.08 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/pt/docs/tutorial/path-params.md
Você pode compará-lo com o *membro de enumeração* no seu enum `ModelName` criado: {* ../../docs_src/path_params/tutorial005_py39.py hl[17] *} #### Obtenha o valor da enumeração { #get-the-enumeration-value } Você pode obter o valor real (um `str` neste caso) usando `model_name.value`, ou, em geral, `your_enum_member.value`: {* ../../docs_src/path_params/tutorial005_py39.py hl[20] *}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 9.8K bytes - Click Count (0) -
cmd/admin-server-info.go
} nodeName := endpoint.Host if nodeName == "" { nodeName = addr } if endpoint.IsLocal { // Only proceed for local endpoints network[nodeName] = string(madmin.ItemOnline) continue } _, present := network[nodeName] if !present { if err := isServerResolvable(endpoint, 5*time.Second); err == nil { network[nodeName] = string(madmin.ItemOnline) } else {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 24 23:05:23 GMT 2024 - 4.9K bytes - Click Count (1) -
docs/ja/docs/tutorial/path-params.md
### *パスパラメータ*の宣言 次に、作成したenumクラスである`ModelName`を使用した型アノテーションをもつ*パスパラメータ*を作成します: {* ../../docs_src/path_params/tutorial005.py hl[16] *} ### ドキュメントの確認 *パスパラメータ*の利用可能な値が事前に定義されているので、対話的なドキュメントで適切に表示できます: <img src="/img/tutorial/path-params/image03.png"> ### Python*列挙型*の利用 *パスパラメータ*の値は*列挙型メンバ*となります。 #### *列挙型メンバ*の比較 これは、作成した列挙型 `ModelName` の*列挙型メンバ*と比較できます:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 10.4K bytes - Click Count (0) -
cmd/http-tracer.go
for k, v := range reqHeaders { inputBytes += len(k) + len(v) } // Calculate node name nodeName := r.Host if globalIsDistErasure { nodeName = globalLocalNodeName } if host, port, err := net.SplitHostPort(nodeName); err == nil { if port == "443" || port == "80" { nodeName = host } } // Calculate reqPath reqPath := r.URL.RawPath if reqPath == "" {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Sep 24 17:13:00 GMT 2024 - 6K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomNodeIterator.java
private boolean testNode(XmlNode node) { if (test == null) { return true; } if (test instanceof NodeNameTest nodeNameTest) { String nodeName = node.name(); if (nodeName == null || nodeName.isEmpty()) { return false; } String namespaceURI = nodeNameTest.getNamespaceURI(); boolean wildcard = nodeNameTest.isWildcard();
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 4.4K bytes - Click Count (0) -
cmd/consolelogger.go
func (sys *HTTPConsoleLoggerSys) Send(ctx context.Context, entry any) error { var lg log.Info switch e := entry.(type) { case log.Entry: lg = log.Info{Entry: e, NodeName: sys.nodeName} case string: lg = log.Info{ConsoleMsg: e, NodeName: sys.nodeName} } atomic.AddInt64(&sys.totalMessages, 1) sys.pubsub.Publish(lg) sys.Lock() // add log to ring buffer sys.logBuf.Value = lg
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 5.4K bytes - Click Count (0) -
tests/test_tutorial/test_settings/test_app01.py
main_mod = importlib.import_module(mod_name) return TestClient(main_mod.app) def test_settings_validation_error(mod_name: str, monkeypatch: MonkeyPatch): monkeypatch.delenv("ADMIN_EMAIL", raising=False) if mod_name in sys.modules: del sys.modules[mod_name] # pragma: no cover with pytest.raises(ValidationError) as exc_info: importlib.import_module(mod_name) assert exc_info.value.errors() == [
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 2.2K bytes - Click Count (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:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 7.9K bytes - Click Count (0) -
tests/test_tutorial/test_custom_response/test_tutorial002_tutorial003_tutorial004.py
@pytest.fixture( name="mod_name", params=[ pytest.param("tutorial002_py39"), pytest.param("tutorial003_py39"), pytest.param("tutorial004_py39"), ], ) def get_mod_name(request: pytest.FixtureRequest) -> str: return request.param @pytest.fixture(name="client") def get_client(mod_name: str) -> TestClient:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 1.8K bytes - Click Count (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",
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 7K bytes - Click Count (0)