- Sort Score
- Result 10 results
- Languages All
Results 4161 - 4170 of 7,602 for Glass (0.03 sec)
-
docs_src/dependencies/tutorial002_an_py310.py
from typing import Annotated 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/")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 664 bytes - Viewed (0) -
docs/em/docs/advanced/testing-websockets.md
๐, ๐ โ๏ธ `TestClient` `with` ๐, ๐*๏ธโฃ: ```Python hl_lines="27-31" {!../../docs_src/app_testing/tutorial002.py!} ``` /// note ๐ โน, โ ๐ ๐งพ <a href="https://www.starlette.io/testclient/#testing-websocket-sessions" class="external-link" target="_blank">๐ฌ *๏ธโฃ </a>.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 371 bytes - Viewed (0) -
docs/en/docs/reference/httpconnection.md
# `HTTPConnection` class When you want to define dependencies that should be compatible with both HTTP and WebSockets, you can define a parameter that takes an `HTTPConnection` instead of a `Request` or a `WebSocket`. You can import it from `fastapi.requests`: ```python from fastapi.requests import HTTPConnection ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 359 bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
: this.transportContext.getConfig().getWinsServers()[ this.nbnsIndex ]; } static class Sem { Sem ( int count ) { this.count = count; } int count; } static class QueryThread extends Thread { private Sem sem; private String host, scope; private int type;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Aug 14 14:26:22 UTC 2022 - 38.2K bytes - Viewed (0) -
docs_src/request_form_models/tutorial002_an.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Sep 06 17:31:18 UTC 2024 - 317 bytes - Viewed (0) -
docs_src/request_form_models/tutorial002_an_py39.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Sep 06 17:31:18 UTC 2024 - 307 bytes - Viewed (0) -
src/main/java/jcifs/util/transport/Transport.java
/** * This class simplifies communication for protocols that support * multiplexing requests. It encapsulates a stream and some protocol * knowledge (provided by a concrete subclass) so that connecting, * disconnecting, sending, and receiving can be syncronized * properly. Apparatus is provided to send and receive requests * concurrently. */ public abstract class Transport implements Runnable, AutoCloseable {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Nov 01 18:12:21 UTC 2020 - 24.1K bytes - Viewed (0) -
docs_src/body/tutorial002_py310.py
from fastapi import FastAPI from pydantic import BaseModel class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None app = FastAPI() @app.post("/items/") async def create_item(item: Item): item_dict = item.dict() if item.tax: price_with_tax = item.price + item.tax item_dict.update({"price_with_tax": price_with_tax})
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 429 bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/CrawlerStatsHelperTest.java
import org.codelibs.fess.unit.UnitFessTestCase; import org.codelibs.fess.util.ComponentUtil; public class CrawlerStatsHelperTest extends UnitFessTestCase { private static final Logger logger = LogManager.getLogger(CrawlerStatsHelperTest.class); private CrawlerStatsHelper crawlerStatsHelper; private ThreadLocal<String> localLogMsg = new ThreadLocal<>(); @Override
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-ResponseCommon.kt
import okhttp3.internal.http.HTTP_PERM_REDIRECT import okhttp3.internal.http.HTTP_TEMP_REDIRECT import okio.Buffer import okio.IOException import okio.Source import okio.Timeout import okio.buffer internal class UnreadableResponseBody( private val mediaType: MediaType?, private val contentLength: Long, ) : ResponseBody(), Source { override fun contentType() = mediaType override fun contentLength() = contentLength
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 13:24:48 UTC 2024 - 5.2K bytes - Viewed (0)