- Sort Score
- Result 10 results
- Languages All
Results 5521 - 5530 of 8,388 for isclass (0.09 sec)
-
docs_src/schema_extra_example/tutorial004_py310.py
from fastapi import Body, FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None @app.put("/items/{item_id}") async def update_item( *, item_id: int, item: Item = Body( examples=[ { "name": "Foo", "description": "A very nice Item",
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Jul 01 16:43:29 UTC 2023 - 786 bytes - Viewed (0) -
docs_src/dependencies/tutorial002_py310.py
from fastapi import Depends, FastAPI app = FastAPI() fake_items_db = [{"item_name": "Foo"}, {"item_name": "Bar"}, {"item_name": "Baz"}] class CommonQueryParams: def __init__(self, q: str | None = None, skip: int = 0, limit: int = 100): self.q = q self.skip = skip self.limit = limit @app.get("/items/") async def read_items(commons: CommonQueryParams = Depends(CommonQueryParams)): response = {}
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 624 bytes - Viewed (0) -
docs_src/dependencies/tutorial004_py310.py
from fastapi import Depends, FastAPI app = FastAPI() fake_items_db = [{"item_name": "Foo"}, {"item_name": "Bar"}, {"item_name": "Baz"}] class CommonQueryParams: def __init__(self, q: str | None = None, skip: int = 0, limit: int = 100): self.q = q self.skip = skip self.limit = limit @app.get("/items/") async def read_items(commons: CommonQueryParams = Depends()): response = {}
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 607 bytes - Viewed (0) -
docs_src/openapi_webhooks/tutorial001_py39.py
from datetime import datetime from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Subscription(BaseModel): username: str monthly_fee: float start_date: datetime @app.webhooks.post("new-subscription") def new_subscription(body: Subscription): """ When a new user subscribes to your service we'll send you a POST request with this
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 550 bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java
import com.google.common.annotations.J2ktIncompatible; import com.google.common.math.LongMath; import java.util.concurrent.TimeUnit; @J2ktIncompatible @GwtIncompatible abstract class SmoothRateLimiter extends RateLimiter { /* * How is the RateLimiter designed, and why? * * The primary feature of a RateLimiter is its "stable rate", the maximum rate that it shouldRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 19.3K bytes - Viewed (0) -
docs/de/docs/python-types.md
Es bedeutet nicht: „`one_person` ist die **Klasse** genannt `Person`“. ## Pydantic-Modelle { #pydantic-models } <a href="https://docs.pydantic.dev/" class="external-link" target="_blank">Pydantic</a> ist eine Python-Bibliothek für die Validierung von Daten. Sie deklarieren die „Form“ der Daten als Klassen mit Attributen. Und jedes Attribut hat einen Typ.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 17.9K bytes - Viewed (1) -
src/test/java/org/codelibs/core/convert/LongConversionUtilTest.java
* governing permissions and limitations under the License. */ package org.codelibs.core.convert; import junit.framework.TestCase; /** * @author higa * */ public class LongConversionUtilTest extends TestCase { /** * @throws Exception */ public void testToLong() throws Exception { assertEquals(Long.valueOf("1000"), LongConversionUtil.toLong("1,000")); }Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 1.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/DownloadForm.java
import org.lastaflute.web.validation.Required; /** * The download form for protected words dictionary. * This form is used for downloading protected words dictionary files from the admin interface. * */ public class DownloadForm { /** * Dictionary ID for identifying the protected words dictionary to download. */ @Required public String dictId; /** * Default constructor. */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/NullArgumentException.java
/** * Exception thrown when an argument is null. * * Intended to be used instead of throwing {@link NullPointerException}. * * @author wyukawa */ public class NullArgumentException extends ClIllegalArgumentException { /** * */ private static final long serialVersionUID = 1L; /** * Creates a {@link NullArgumentException}. *Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 1.3K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BitString.kt
* limitations under the License. */ package okhttp3.tls.internal.der import okio.ByteString /** * Like a [ByteString], but whose bits are not necessarily a strict multiple of 8. */ internal data class BitString( val byteString: ByteString, /** 0-7 unused bits in the last byte. */ val unusedBitsCount: Int, ) { // Avoid Long.hashCode(long) which isn't available on Android 5. override fun hashCode(): Int {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.1K bytes - Viewed (0)