- Sort Score
- Result 10 results
- Languages All
Results 1041 - 1050 of 3,253 for classof (0.06 sec)
-
docs/en/docs/reference/uploadfile.md
# `UploadFile` class You can define *path operation function* parameters to be of the type `UploadFile` to receive files from the request. You can import it directly from `fastapi`: ```python from fastapi import UploadFile ``` ::: fastapi.UploadFile options: members: - file - filename - size - headers - content_type - read
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 472 bytes - Viewed (0) -
docs_src/body_multiple_params/tutorial005_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(embed=True)): results = {"item_id": item_id, "item": item}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 369 bytes - Viewed (0) -
docs_src/body_nested_models/tutorial002_py310.py
from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str | None = None price: float tax: 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: Fri Jan 07 14:11:31 UTC 2022 - 369 bytes - Viewed (0) -
docs_src/body_nested_models/tutorial003_py310.py
from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None tags: set[str] = set() @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: Fri Jan 07 14:11:31 UTC 2022 - 371 bytes - Viewed (0) -
docs/em/docs/advanced/custom-response.md
π π’ π¨ βοΈ **FastAPI**, π β π. ### `ORJSONResponse` β© π π» π¨ βοΈ <a href="https://github.com/ijl/orjson" class="external-link" target="_blank">`orjson`</a>, π β π. ### `UJSONResponse` π π» π¨ βοΈ <a href="https://github.com/ultrajson/ultrajson" class="external-link" target="_blank">`ujson`</a>. /// warning `ujson` π π π π π-π οΈ β β«οΈ π΅ π-πΌ. ///
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.7K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java
request.setModelSource(new StringModelSource(BASE1)); request.setModelResolver(new CycleInImportsResolver()); assertThrows(ModelBuildingException.class, () -> builder.build(request)); } static class CycleInImportsResolver extends BaseModelResolver { @Override public ModelSource resolveModel(org.apache.maven.model.Dependency dependency)
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformerTest.java
import org.codelibs.fess.crawler.entity.TestEntity; import org.codelibs.fess.crawler.exception.CrawlerSystemException; import org.dbflute.utflute.core.PlainTestCase; /** * @author shinsuke * */ public class XmlTransformerTest extends PlainTestCase { public XmlTransformer xmlTransformer; public XmlTransformer xmlNsTransformer; public XmlTransformer xmlMapTransformer;
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 13.5K bytes - Viewed (0) -
tests/test_invalid_sequence_param.py
with pytest.raises(AssertionError): app = FastAPI() class Item(BaseModel): title: str @app.get("/items/") def read_items(q: List[Item] = Query(default=None)): pass # pragma: no cover def test_invalid_tuple(): with pytest.raises(AssertionError): app = FastAPI() class Item(BaseModel): title: str @app.get("/items/")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 1.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java
} public void testDecodeIntFails() { assertThrows(NumberFormatException.class, () -> UnsignedInts.decode("0xfffffffff")); assertThrows(NumberFormatException.class, () -> UnsignedInts.decode("-5")); assertThrows(NumberFormatException.class, () -> UnsignedInts.decode("-0x5")); assertThrows(NumberFormatException.class, () -> UnsignedInts.decode("-05")); } public void testToString() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 12.5K bytes - Viewed (0) -
docs/zh/docs/index.md
<div class="termy"> ```console $ pip install fastapi ---> 100% ``` </div> δ½ θΏδΌιθ¦δΈδΈͺ ASGI ζε‘ε¨οΌηδΊ§η―ε’ε―δ»₯δ½Ώη¨ <a href="https://www.uvicorn.org" class="external-link" target="_blank">Uvicorn</a> ζθ <a href="https://github.com/pgjones/hypercorn" class="external-link" target="_blank">Hypercorn</a>γ <div class="termy"> ```console $ pip install "uvicorn[standard]" ---> 100% ``` </div>
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 20 19:20:23 UTC 2024 - 18.2K bytes - Viewed (0)