- Sort Score
- Result 10 results
- Languages All
Results 1451 - 1460 of 7,590 for CLASS (0.02 sec)
-
guava-testlib/test/com/google/common/testing/RelationshipTesterTest.java
import junit.framework.TestCase; /** * Tests for {@link RelationshipTester}. * * @author Ben Yu */ public class RelationshipTesterTest extends TestCase { public void testNulls() { new ClassSanityTester() .setDefault(ItemReporter.class, new ItemReporter()) .testNulls(RelationshipTester.class); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Sep 15 13:47:32 UTC 2016 - 1K 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 Nov 03 07:19:11 UTC 2024 - Last Modified: Sat May 14 11:59:59 UTC 2022 - 407 bytes - Viewed (0) -
docs_src/header_param_models/tutorial001_an.py
from typing import List, Union from fastapi import FastAPI, Header from pydantic import BaseModel from typing_extensions import Annotated app = FastAPI() class CommonHeaders(BaseModel): 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 Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 446 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 Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 422 bytes - Viewed (0) -
docs/tr/docs/index.md
## Kurulum <div class="termy"> ```console $ pip install fastapi ---> 100% ``` </div>
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Aug 16 16:50:01 UTC 2024 - 21.9K bytes - Viewed (0) -
src/test/java/jcifs/tests/OplockTests.java
.unwrap(SmbTransportInternal.class); SmbSession sess = trans.unwrap(SmbTransportInternal.class).getSmbSession(c, getTestServer(), null); SmbTreeInternal tree = sess.unwrap(SmbSessionInternal.class).getSmbTree(getTestShare(), null).unwrap(SmbTreeInternal.class) ) { if ( trans.isSMB2() ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 6.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
/** * This class encapsulates the logic for switching tree connections * * Switching trees can occur either when the tree has been disconnected by failure or idle-timeout - as well as on * DFS referrals. * * @author mbechler * */ class SmbTreeConnection { private static final Logger log = LoggerFactory.getLogger(SmbTreeConnection.class); private final CIFSContext ctx;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 10:50:16 UTC 2020 - 31K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractorTest.java
container.singleton("pdfExtractor", PdfExtractor.class)// .singleton("pdfExtractorForPdfPassword", PdfExtractor.class)// .singleton("mimeTypeHelper", MimeTypeHelperImpl.class)// .singleton("tikaExtractor", TikaExtractor.class)// .<ExtractorFactory> singleton("extractorFactory", ExtractorFactory.class, factory -> {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 7.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt
socket?.closeQuietly() serverSocket?.closeQuietly() } override fun toString(): String = "MockHttp2Peer[$port]" private class OutFrame( val sequence: Int, val start: Long, val truncated: Boolean, ) class InFrame(val sequence: Int, val reader: Http2Reader) : Http2Reader.Handler { @JvmField var type = -1 var clearPrevious = false
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 8.7K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java
import junit.framework.TestCase; /** * Unit test for IteratorTester. * * @author Mick Killianey */ @GwtCompatible @SuppressWarnings("serial") // No serialization is used in this test public class IteratorTesterTest extends TestCase { public void testCanCatchDifferentLengthOfIteration() { IteratorTester<Integer> tester = new IteratorTester<Integer>(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 10.3K bytes - Viewed (0)