- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 1,086 for str (0.02 sec)
-
docs/em/docs/tutorial/encoder.md
{!> ../../docs_src/encoder/tutorial001_py310.py!} ``` //// ๐ ๐ผ, โซ๏ธ ๐ ๐ Pydantic ๐ท `dict`, & `datetime` `str`. ๐ ๐ค โซ๏ธ ๐ณ ๐ ๐ช ๐ โฎ๏ธ ๐ ๐ฉ <a href="https://docs.python.org/3/library/json.html#json.dumps" class="external-link" target="_blank">`json.dumps()`</a>. โซ๏ธ ๐ซ ๐จ โญ `str` โ ๐ฝ ๐ป ๐ (๐ป). โซ๏ธ ๐จ ๐ ๐ฉ ๐ฝ ๐ (โ `dict`) โฎ๏ธ ๐ฒ & ๐ง-๐ฒ ๐ ๐ ๐ โฎ๏ธ ๐ป. /// note
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.5K bytes - Viewed (0) -
docs/ja/docs/tutorial/encoder.md
ๅๆงใซใใใฎใใผใฟใใผในใฏPydanticใขใใซ๏ผๅฑๆงใๆใคใชใใธใงใฏใ๏ผใๅใๅใใใ`dict`ใ ใใๅใๅใใพใใ ใใฎใใใซ`jsonable_encoder`ใไฝฟ็จใใใใจใใงใใพใใ PydanticใขใใซใฎใใใชใชใใธใงใฏใใๅใๅใใJSONไบๆ็ใ่ฟใใพใ: ```Python hl_lines="5 22" {!../../docs_src/encoder/tutorial001.py!} ``` ใใฎไพใงใฏใPydanticใขใใซใ`dict`ใซใ`datetime`ใ`str`ใซๅคๆใใพใใ
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.9K bytes - Viewed (0) -
tests/test_enforce_once_required_parameter.py
app = FastAPI() def _get_client_key(client_id: str = Query(...)) -> str: return f"{client_id}_key" def _get_client_tag(client_id: Optional[str] = Query(None)) -> Optional[str]: if client_id is None: return None return f"{client_id}_tag" @app.get("/foo") def foo_handler( client_key: str = Depends(_get_client_key), client_tag: Optional[str] = Depends(_get_client_tag), ):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 3.4K bytes - Viewed (0) -
docs_src/settings/app03/config.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 204 bytes - Viewed (0) -
docs_src/query_params/tutorial002.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat May 14 11:59:59 UTC 2022 - 251 bytes - Viewed (0) -
docs_src/request_forms/tutorial001.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 173 bytes - Viewed (0) -
docs_src/body/tutorial001_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):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 271 bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.cc
tensorflow::unwrap(ctx)->HostCPUParsedName()); auto str = tensorflow::DeviceNameUtils::ParsedNameToString(address_space); void* data = tensorflow::port::Malloc(str.length()); str.copy(static_cast<char*>(data), str.length(), 0); buf->data = data; buf->length = str.length(); buf->data_deallocator = [](void* data, size_t length) { tensorflow::port::Free(data); }; }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 35.9K bytes - Viewed (0) -
scripts/mkdocs_hooks.py
"management.md", ] @lru_cache def get_missing_translation_content(docs_dir: str) -> str: docs_dir_path = Path(docs_dir) missing_translation_path = docs_dir_path.parent.parent / "missing-translation.md" return missing_translation_path.read_text(encoding="utf-8") @lru_cache def get_mkdocs_material_langs() -> List[str]: material_path = Path(material.__file__).parent
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 17 21:20:31 UTC 2024 - 5.2K bytes - Viewed (0) -
docs_src/schema_extra_example/tutorial005_an.py
from typing import Union from fastapi import Body, FastAPI from pydantic import BaseModel from typing_extensions import Annotated app = FastAPI() class Item(BaseModel): name: str description: Union[str, None] = None price: float tax: Union[float, None] = None @app.put("/items/{item_id}") async def update_item( *, item_id: int, item: Annotated[ Item, Body(
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 26 18:03:13 UTC 2023 - 1.5K bytes - Viewed (0)