- Sort Score
- Result 10 results
- Languages All
Results 901 - 910 of 1,094 for Fstr (0.04 sec)
-
docs/em/docs/tutorial/response-model.md
```Python hl_lines="9 11-12" {!> ../../docs_src/response_model/tutorial004_py310.py!} ``` //// * `description: Union[str, None] = None` (โ๏ธ `str | None = None` ๐ 3๏ธโฃ.1๏ธโฃ0๏ธโฃ) โ๏ธ ๐ข `None`. * `tax: float = 10.5` โ๏ธ ๐ข `10.5`. * `tags: List[str] = []` ๐ข ๐ ๐: `[]`. โ๏ธ ๐ ๐ช ๐ ๐ซ ๐ซ โช๏ธโก๏ธ ๐ ๐ฅ ๐ซ ๐ซ ๐ค ๐ช. ๐ผ, ๐ฅ ๐ โ๏ธ ๐ท โฎ๏ธ ๐ ๐ฆ ๐ข โ ๐ฝ, โ๏ธ ๐ ๐ซ ๐ ๐จ ๐ถ ๐ ๐ป ๐จ ๐ ๐ข ๐ฒ.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 15.8K bytes - Viewed (0) -
docs/em/docs/tutorial/path-operation-configuration.md
๐ ๐ช โ๏ธ `from starlette import status`. **FastAPI** ๐ ๐ `starlette.status` `fastapi.status` ๐ช ๐, ๐ฉโ๐ป. โ๏ธ โซ๏ธ ๐ ๐ โช๏ธโก๏ธ ๐. /// ## ๐ ๐ ๐ช ๐ฎ ๐ ๐ *โก ๐ ๏ธ*, ๐ถโโ๏ธ ๐ข `tags` โฎ๏ธ `list` `str` (๐ 1๏ธโฃ `str`): //// tab | ๐ 3๏ธโฃ.6๏ธโฃ & ๐ ```Python hl_lines="17 22 27" {!> ../../docs_src/path_operation_configuration/tutorial002.py!} ``` //// //// tab | ๐ 3๏ธโฃ.9๏ธโฃ & ๐
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.2K bytes - Viewed (0) -
docs/em/docs/tutorial/query-params.md
๐ฅ ๐ ๐ซ ๐ ๐ฎ ๐ฏ ๐ฒ โ๏ธ โ โซ๏ธ ๐ฆ, โ ๐ข `None`. โ๏ธ ๐โ ๐ ๐ โ ๐ข ๐ข โ, ๐ ๐ช ๐ซ ๐ฃ ๐ ๐ข ๐ฒ: ```Python hl_lines="6-7" {!../../docs_src/query_params/tutorial005.py!} ``` ๐ฅ ๐ข ๐ข `needy` โ ๐ข ๐ข ๐ `str`. ๐ฅ ๐ ๐ ๐ ๐ฅ ๐ ๐: ``` http://127.0.0.1:8000/items/foo-item ``` ...๐ต โ โ ๐ข `needy`, ๐ ๐ ๐ โ ๐: ```JSON { "detail": [ { "loc": [
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4.4K bytes - Viewed (0) -
docs/tr/docs/tutorial/query-params.md
Fakat, bir sorgu parametresini zorunlu yapmak istiyorsanฤฑz varsayฤฑlan bir deฤer atamamanฤฑz yeterli olacaktฤฑr: ```Python hl_lines="6-7" {!../../docs_src/query_params/tutorial005.py!} ``` Burada `needy` parametresi `str` tipinden oluลan zorunlu bir sorgu parametresidir. Eฤer tarayฤฑcฤฑnฤฑzda ลu baฤlantฤฑyฤฑ: ``` http://127.0.0.1:8000/items/foo-item ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.9K bytes - Viewed (0) -
configure.py
def write_action_env_to_bazelrc(var_name, var): write_to_bazelrc('build --action_env {}="{}"'.format(var_name, str(var))) def write_repo_env_to_bazelrc(config_name, var_name, var): write_to_bazelrc( 'build:{} --repo_env {}="{}"'.format(config_name, var_name, str(var)) ) def run_shell(cmd, allow_non_zero=False, stderr=None): if stderr is None: stderr = sys.stdout
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Oct 02 22:16:02 UTC 2024 - 48.2K bytes - Viewed (0) -
tests/test_include_router_defaults_overrides.py
callback_router0 = APIRouter() @callback_router0.get("/") async def callback0(level0: str): pass # pragma: nocover callback_router1 = APIRouter() @callback_router1.get("/") async def callback1(level1: str): pass # pragma: nocover callback_router2 = APIRouter() @callback_router2.get("/") async def callback2(level2: str): pass # pragma: nocover callback_router3 = APIRouter()
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 358.6K bytes - Viewed (0) -
docs/pt/docs/tutorial/body-updates.md
Vocรช pode usar `jsonable_encoder` para converter os dados de entrada em dados que podem ser armazenados como JSON (por exemplo, com um banco de dados NoSQL). Por exemplo, convertendo `datetime` em `str`. //// tab | Python 3.10+ ```Python hl_lines="28-33" {!> ../../../docs_src/body_updates/tutorial001_py310.py!} ``` //// //// tab | Python 3.9+ ```Python hl_lines="30-35"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Oct 14 09:16:06 UTC 2024 - 6K bytes - Viewed (0) -
docs/en/docs/tutorial/body-updates.md
You can use the `jsonable_encoder` to convert the input data to data that can be stored as JSON (e.g. with a NoSQL database). For example, converting `datetime` to `str`. //// tab | Python 3.10+ ```Python hl_lines="28-33" {!> ../../docs_src/body_updates/tutorial001_py310.py!} ``` //// //// tab | Python 3.9+ ```Python hl_lines="30-35"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.6K bytes - Viewed (0) -
docs/hu/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 Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 20 19:20:23 UTC 2024 - 20.2K bytes - Viewed (0) -
docs/de/docs/tutorial/body.md
* Wenn der Parameter ein **einfacher Typ** ist (wie `int`, `float`, `str`, `bool`, usw.), wird er als **Query**-Parameter interpretiert. * Wenn der Parameter vom Typ eines **Pydantic-Modells** ist, wird er als Request**body** interpretiert. /// note | "Hinweis" FastAPI weiร, dass der Wert von `q` nicht erforderlich ist, wegen des definierten Defaultwertes `= None`
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8K bytes - Viewed (0)