- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 1,074 for Str (0.03 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/em/docs/tutorial/body-nested-models.md
* ๐ฝ ๐ ๏ธ * ๐ฝ ๐ฌ * ๐ง ๐งพ ## ๐ ๐ & ๐ฌ โ๏ธ โช๏ธโก๏ธ ๐ โญ ๐ ๐ `str`, `int`, `float`, โ๏ธ. ๐ ๐ช โ๏ธ ๐ ๐ โญ ๐ ๐ ๐ โช๏ธโก๏ธ `str`. ๐ ๐ ๐ ๐ โ๏ธ, ๐ ๐ฉบ <a href="https://docs.pydantic.dev/latest/concepts/types/" class="external-link" target="_blank">Pydantic ๐ ๐</a>. ๐ ๐ ๐ ๐ผ โญ ๐. ๐ผ, `Image` ๐ท ๐ฅ โ๏ธ `url` ๐, ๐ฅ ๐ช ๐ฃ โซ๏ธ โฉ๏ธ `str`, Pydantic `HttpUrl`: //// tab | ๐ 3๏ธโฃ.6๏ธโฃ & ๐ ```Python hl_lines="4 10"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.1K bytes - Viewed (0) -
docs_src/extra_models/tutorial002_py310.py
app = FastAPI() class UserBase(BaseModel): username: str email: EmailStr full_name: str | None = None class UserIn(UserBase): password: str class UserOut(UserBase): pass class UserInDB(UserBase): hashed_password: str def fake_password_hasher(raw_password: str): return "supersecret" + raw_password def fake_save_user(user_in: UserIn):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 792 bytes - Viewed (0) -
docs_src/extra_models/tutorial003.py
from typing import Union from fastapi import FastAPI from pydantic import BaseModel 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": {
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 644 bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/Utils.java
public static String stripLeadingAndTrailingQuotes(String str) { requireNonNull(str, "str"); final int length = str.length(); if (length > 1 && str.startsWith("\"") && str.endsWith("\"") && str.substring(1, length - 1).indexOf('"') == -1) { str = str.substring(1, length - 1); } return str; } @Nonnull
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6K bytes - Viewed (0) -
docs_src/settings/app01/config.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 183 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) -
fastapi/applications.py
def api_route( self, path: str, *, response_model: Any = Default(None), status_code: Optional[int] = None, tags: Optional[List[Union[str, Enum]]] = None, dependencies: Optional[Sequence[Depends]] = None, summary: Optional[str] = None, description: Optional[str] = None, response_description: str = "Successful Response",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 17 04:52:31 UTC 2024 - 172.2K 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) -
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)