- Sort Score
- Result 10 results
- Languages All
Results 1711 - 1720 of 2,878 for int3 (0.02 sec)
-
docs_src/body_fields/tutorial001_an_py39.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 582 bytes - Viewed (0) -
docs_src/extra_models/tutorial003.py
app = FastAPI() class BaseItem(BaseModel): description: str type: str class CarItem(BaseItem): type: str = "car" class PlaneItem(BaseItem): type: str = "plane" size: int items = { "item1": {"description": "All my friends drive a low rider", "type": "car"}, "item2": { "description": "Music is my aeroplane, it's my aeroplane", "type": "plane",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 644 bytes - Viewed (0) -
docs_src/handling_errors/tutorial004.py
@app.exception_handler(RequestValidationError) async def validation_exception_handler(request, exc): return PlainTextResponse(str(exc), status_code=400) @app.get("/items/{item_id}") async def read_item(item_id: int): if item_id == 3: raise HTTPException(status_code=418, detail="Nope! I don't like 3.")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 762 bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/TestBiMapGenerator.java
@GwtCompatible @ElementTypesAreNonnullByDefault public interface TestBiMapGenerator<K extends @Nullable Object, V extends @Nullable Object> extends TestContainerGenerator<BiMap<K, V>, Entry<K, V>> { K[] createKeyArray(int length); V[] createValueArray(int length);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 1.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrLong.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb1.dcerpc.ndr; public class NdrLong extends NdrObject { public int value; public NdrLong(int value) { this.value = value; } public void encode(NdrBuffer dst) throws NdrException { dst.enc_ndr_long(value); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 1.3K bytes - Viewed (0) -
docs_src/dependency_testing/tutorial001_an_py39.py
from typing import Annotated, Union from fastapi import Depends, FastAPI from fastapi.testclient import TestClient app = FastAPI() async def common_parameters( q: Union[str, None] = None, skip: int = 0, limit: int = 100 ): return {"q": q, "skip": skip, "limit": limit} @app.get("/items/") async def read_items(commons: Annotated[dict, Depends(common_parameters)]): return {"message": "Hello Items!", "params": commons}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 1.5K bytes - Viewed (0) -
docs/fr/docs/python-types.md
C'est le même fonctionnement pour déclarer un `tuple` ou un `set` : {*../../docs_src/python_types/tutorial007.py hl[1,4] *} Dans cet exemple : * La variable `items_t` est un `tuple` avec 3 éléments, un `int`, un deuxième `int`, et un `str`. * La variable `items_s` est un `set`, et chacun de ses éléments est de type `bytes`. #### `Dict` Pour définir un `dict`, il faut lui passer 2 paramètres, séparés par une virgule (`,`).
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 15:21:34 UTC 2024 - 10K bytes - Viewed (0) -
docs/zh/docs/tutorial/body-nested-models.md
## 任意 `dict` 构成的请求体 你也可以将请求体声明为使用某类型的键和其他类型值的 `dict`。 无需事先知道有效的字段/属性(在使用 Pydantic 模型的场景)名称是什么。 如果你想接收一些尚且未知的键,这将很有用。 --- 其他有用的场景是当你想要接收其他类型的键时,例如 `int`。 这也是我们在接下来将看到的。 在下面的例子中,你将接受任意键为 `int` 类型并且值为 `float` 类型的 `dict`: //// tab | Python 3.9+ ```Python hl_lines="7" {!> ../../docs_src/body_nested_models/tutorial009_py39.py!} ``` ////
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java
} } LogStream.setInstance(new PrintStream(new OutputStream() { private static final int MAX_LEN = 1000; private final ByteArrayOutputStream buf = new ByteArrayOutputStream(MAX_LEN); @Override public void write(final int b) throws IOException { if (b == '\n' || b == '\r' || buf.size() >= MAX_LEN) { try {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 18.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java
} @Override public int count(@Nullable Object element) { return standardCount(element); } @Override public boolean equals(@Nullable Object object) { return standardEquals(object); } @Override public int hashCode() { return standardHashCode(); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 6.4K bytes - Viewed (0)