- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 487 for str (0.01 sec)
-
docs/uk/docs/tutorial/body-nested-models.md
* Передайте внутрішні типи як "параметри типу", використовуючи квадратні дужки: `[` and `]`. У Python 3.9 це буде виглядати так: ```Python my_list: list[str] ``` У версіях Python до 3.9 це виглядає так: ```Python from typing import List my_list: List[str] ``` Це стандартний синтаксис Python для оголошення типів. Використовуйте той самий стандартний синтаксис для атрибутів моделей з внутрішніми типами.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Fri Feb 28 14:18:01 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/HandleInfoTest.java
HandleInfo info = new HandleInfo("/test/file.txt", testGuid, testFileId, HandleType.PERSISTENT, 0, testLeaseKey); String str = info.toString(); assertTrue(str.contains("/test/file.txt")); assertTrue(str.contains("PERSISTENT")); assertTrue(str.contains(testGuid.toString())); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 4.6K bytes - Viewed (0) -
docs/ru/docs/tutorial/path-params.md
### Создание класса `Enum` Импортируйте `Enum` и создайте подкласс, который наследуется от `str` и `Enum`. Мы наследуемся от `str`, чтобы документация API могла понять, что значения должны быть типа `string` и отображалась правильно. Затем создайте атрибуты класса с фиксированными допустимыми значениями:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 13.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java
String str = cmd.toString(); // toString uses Hexdump.toHexString(informationLevel, 3) assertTrue(str.contains(Hexdump.toHexString(level, 3)), "toString should contain hex level"); assertTrue(str.contains("Trans2QueryFSInformation["), "should start with class name"); assertTrue(str.contains(",informationLevel=0x"), "should contain level field marker"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
docs/ja/docs/index.md
from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str price: float is_offer: bool = None @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: str = None): return {"item_id": item_id, "q": q} @app.put("/items/{item_id}")
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 21.3K bytes - Viewed (0) -
docs/pt/docs/tutorial/dependencies/sub-dependencies.md
```Python hl_lines="1" async def needy_dependency(fresh_value: Annotated[str, Depends(get_value, use_cache=False)]): return {"fresh_value": fresh_value} ``` //// //// tab | Python 3.8+ non-Annotated /// tip | Dica Utilize a versão com `Annotated` se possível. /// ```Python hl_lines="1" async def needy_dependency(fresh_value: str = Depends(get_value, use_cache=False)): return {"fresh_value": fresh_value}
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 4K bytes - Viewed (0) -
docs/en/docs/tutorial/body-nested-models.md
* Pass the internal type(s) as "type parameters" using square brackets: `[` and `]` In Python 3.9 it would be: ```Python my_list: list[str] ``` In versions of Python before 3.9, it would be: ```Python from typing import List my_list: List[str] ``` That's all standard Python syntax for type declarations. Use that same standard syntax for model attributes with internal types.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.3K bytes - Viewed (0) -
docs/ru/docs/tutorial/body-nested-models.md
В Python версии 3.9 это будет выглядеть так: ```Python my_list: list[str] ``` В версиях Python до 3.9 это будет выглядеть так: ```Python from typing import List my_list: List[str] ``` Это всё стандартный синтаксис Python для объявления типов. Используйте этот же стандартный синтаксис для атрибутов модели с внутренними типами.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java
bufferIndex += 24; String str; if (this.unicode) { if (fileNameLength > 0 && buffer[bufferIndex + fileNameLength - 1] == '\0' && buffer[bufferIndex + fileNameLength - 2] == '\0') { fileNameLength -= 2; } str = Strings.fromUNIBytes(buffer, bufferIndex, fileNameLength); } else {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6K bytes - Viewed (0) -
docs/pl/docs/index.md
from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str price: float is_offer: Union[bool, None] = None @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: Union[str, None] = None): return {"item_id": item_id, "q": q} @app.put("/items/{item_id}")
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 19.6K bytes - Viewed (0)