- Sort Score
- Result 10 results
- Languages All
Results 731 - 740 of 1,449 for leader (0.05 sec)
-
docs_src/header_param_models/tutorial002_an_py310.py
from fastapi import FastAPI, Header from pydantic import BaseModel app = FastAPI() class CommonHeaders(BaseModel): model_config = {"extra": "forbid"} host: str save_data: bool if_modified_since: str | None = None traceparent: str | None = None x_tag: list[str] = [] @app.get("/items/") async def read_items(headers: Annotated[CommonHeaders, Header()]):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 432 bytes - Viewed (0) -
docs_src/header_param_models/tutorial002_py39.py
from fastapi import FastAPI, Header from pydantic import BaseModel app = FastAPI() class CommonHeaders(BaseModel): model_config = {"extra": "forbid"} host: str save_data: bool if_modified_since: Union[str, None] = None traceparent: Union[str, None] = None x_tag: list[str] = [] @app.get("/items/") async def read_items(headers: CommonHeaders = Header()):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 430 bytes - Viewed (0) -
impl/maven-core/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
Stream, int) throws java.io.IOException; public static void copy(java.io.Reader, java.io.OutputStream) throws java.io.IOException; public static void copy(java.io.Reader, java.io.OutputStream, int) throws java.io.IOException; public static String toString(java.io.Reader) throws java.io.IOException; public static String toString(java.io.Reader, int) throws java.io.IOException; public static byte[] toByteArray(java.io.Reader) throws java.io.IOException; public static byte[] toByteArray(java.io.Reader,...
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 164.6K bytes - Viewed (0) -
docs_src/header_param_models/tutorial002_an_py39.py
from fastapi import FastAPI, Header from pydantic import BaseModel app = FastAPI() class CommonHeaders(BaseModel): model_config = {"extra": "forbid"} host: str save_data: bool if_modified_since: Union[str, None] = None traceparent: Union[str, None] = None x_tag: list[str] = [] @app.get("/items/") async def read_items(headers: Annotated[CommonHeaders, Header()]):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 451 bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CertificateChainCleanerTest.kt
.Builder() .serialNumber(1L) .build() val cleaner = get(root.certificate) assertThat(cleaner.clean(list(root), "hostname")).isEqualTo(list(root)) } @Test fun normalizeUnknownSelfSignedCertificate() { val root = HeldCertificate .Builder() .serialNumber(1L) .build() val cleaner = get() assertFailsWith<SSLPeerUnverifiedException> {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 9.5K bytes - Viewed (1) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Request.java
* modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 5.2K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/settings/PomConstructionWithSettingsTest.java
try (InputStream is = Files.newInputStream(settingsFile.toPath())) { SettingsStaxReader reader = new SettingsStaxReader(); InputSource source = InputSource.of(settingsFile.toString()); return new Settings(reader.read(is, true, source)); } }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 5.5K bytes - Viewed (0) -
README.md
// Index suggestions from existing Elasticsearch documents DocumentReader reader = new ESSourceReader( client, suggester.settings(), "content-index", // source index "document" // document type ); suggester.indexer() .indexFromDocument(reader, 2, 100) // threads=2, batch=100 .getResponse(); ``` ### Index from Query Logs ```java
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Sun Aug 31 03:31:14 UTC 2025 - 12.1K bytes - Viewed (1) -
src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java
@Override int readHeaderWireFormat(byte[] buffer, int bufferIndex) { // Simulate fixed-size header parsing return 33; } }; byte[] buf = new byte[128]; // After header at 0..32 buf[33] = 4; // wordCount buf[34] = (byte) 0xFF; // andxCommand // andxOffset (ignored when 0xFF)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
internal/logger/message/audit/entry.go
for k, v := range q { reqQuery[k] = strings.Join(v, ",") } entry.ReqQuery = reqQuery reqHeader := make(map[string]string, len(r.Header)) for k, v := range r.Header { reqHeader[k] = strings.Join(v, ",") } entry.ReqHeader = reqHeader wh := w.Header() entry.RequestID = wh.Get(xhttp.AmzRequestID) respHeader := make(map[string]string, len(wh)) for k, v := range wh { respHeader[k] = strings.Join(v, ",")Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 2.2K bytes - Viewed (0)