- Sort Score
- Result 10 results
- Languages All
Results 1781 - 1790 of 4,837 for classic (0.06 sec)
-
docs_src/header_param_models/tutorial002_an_py39.py
from typing import Annotated, Union 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/")
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 451 bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/BloomFilterTest.java
public void testPreconditions() { assertThrows( IllegalArgumentException.class, () -> BloomFilter.create(Funnels.unencodedCharsFunnel(), -1)); assertThrows( IllegalArgumentException.class, () -> BloomFilter.create(Funnels.unencodedCharsFunnel(), -1, 0.03)); assertThrows( IllegalArgumentException.class, () -> BloomFilter.create(Funnels.unencodedCharsFunnel(), 1, 0.0));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 22.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorFactory.java
* extracts the data. * </p> * * <p> * The class uses a {@link CrawlerContainer} for managing crawler components and * supports dependency injection via the {@link Resource} annotation. * </p> */ public class ExtractorFactory { /** Logger instance for this class */ private static final Logger logger = LogManager.getLogger(ExtractorFactory.class); /** Container for managing crawler components */Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Nov 23 12:19:14 UTC 2025 - 7.4K bytes - Viewed (0) -
guava/src/com/google/common/eventbus/Dispatcher.java
* controls the order in which events are dispatched, while the executor controls how (i.e. on which * thread) the subscriber is actually called when an event is dispatched to it. * * @author Colin Decker */ abstract class Dispatcher { /** * Returns a dispatcher that queues events that are posted reentrantly on a thread that is already * dispatching an event, guaranteeing that all events posted on a single thread are dispatched to
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.4K bytes - Viewed (0) -
docs_src/body_nested_models/tutorial002_py39.py
from typing import Union from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: Union[str, None] = None price: float tax: Union[float, None] = None tags: list[str] = [] @app.put("/items/{item_id}") async def update_item(item_id: int, item: Item): results = {"item_id": item_id, "item": item}
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat May 14 11:59:59 UTC 2022 - 407 bytes - Viewed (0) -
docs_src/query_param_models/tutorial001_py310.py
from typing import Literal from fastapi import FastAPI, Query from pydantic import BaseModel, Field app = FastAPI() class FilterParams(BaseModel): limit: int = Field(100, gt=0, le=100) offset: int = Field(0, ge=0) order_by: Literal["created_at", "updated_at"] = "created_at" tags: list[str] = [] @app.get("/items/") async def read_items(filter_query: FilterParams = Query()):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 422 bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java
import org.mockito.Mock; import org.mockito.MockitoAnnotations; import jcifs.Configuration; import jcifs.internal.SMBProtocolDecodingException; import jcifs.smb.FileEntry; /** * Test class for SmbComTransactionResponse */ class SmbComTransactionResponseTest { @Mock private Configuration mockConfig; @Mock private FileEntry mockFileEntry1; @Mock private FileEntry mockFileEntry2;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.4K bytes - Viewed (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt
* [application interceptor][OkHttpClient.interceptors] or as a [OkHttpClient.networkInterceptors]. * * The format of the logs created by this class should not be considered stable and may * change slightly between releases. If you need a stable logging format, use your own interceptor. */ class HttpLoggingInterceptor @JvmOverloads constructor( private val logger: Logger = Logger.DEFAULT, ) : Interceptor {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Nov 07 02:57:33 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/QueryCommand.java
/** * Gets the class name of the query this command handles. * @return The query class name. */ protected abstract String getQueryClassName(); /** * Registers this query command with the query processor. * Associates this command with its query class name in the processor. */ public void register() {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sun Nov 23 11:39:05 UTC 2025 - 11.6K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type1MessageTest.java
import jcifs.CIFSContext; import jcifs.Configuration; import jcifs.NameServiceClient; import jcifs.NetbiosAddress; /** * Test class for NTLMSSP Type 1 Message functionality */ @ExtendWith(MockitoExtension.class) @DisplayName("Type1Message Tests") class Type1MessageTest { @Mock private CIFSContext mockContext; @Mock private Configuration mockConfig; @MockRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0)