- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 68 for Junior (0.18 sec)
-
docs/em/docs/tutorial/body-multiple-params.md
} ``` ๐, โซ๏ธ ๐ ๐ ๐ ๐, โ, ๐, โ๏ธ. ## ๐ ๐ช = & ๐ข โ๏ธ, ๐ ๐ช ๐ฃ ๐ ๐ข ๐ข ๐โ ๐ ๐ช, ๐ ๐ ๐ช ๐ข. , ๐ข, โญ ๐ฒ ๐ฌ ๐ข ๐ข, ๐ ๐ซ โ๏ธ ๐ฏ ๐ฎ `Query`, ๐ ๐ช: ```Python q: Union[str, None] = None ``` โ๏ธ ๐ 3๏ธโฃ.1๏ธโฃ0๏ธโฃ & ๐: ```Python q: str | None = None ``` ๐ผ: === "๐ 3๏ธโฃ.6๏ธโฃ & ๐" ```Python hl_lines="27"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Apr 01 09:26:04 GMT 2023 - 5K bytes - Viewed (0) -
docs/en/docs/tutorial/body-multiple-params.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Oct 17 05:59:11 GMT 2023 - 7.7K bytes - Viewed (0) -
docs/em/docs/tutorial/response-model.md
### โ ๐จ ๐ โ โ๏ธ ๐โ ๐ ๐จ ๐ โ ๐ ๐ ๐ซ โ Pydantic ๐ (โ ๐ฝ ๐) & ๐ โ โซ๏ธ ๐ ๐ ๐ข, FastAPI ๐ ๐ โ Pydantic ๐จ ๐ท โช๏ธโก๏ธ ๐ ๐ โ, & ๐ โ. ๐ ๐ ๐จ ๐ฅ ๐ โ๏ธ ๐ณ ๐ <abbr title='A union between multiple types means "any of these types".'>๐ช๐บ</abbr> ๐ ๐ ๐ ๐โ 1๏ธโฃ โ๏ธ ๐ ๐ซ ๐ซ โ Pydantic ๐, ๐ผ ๐ ๐ โ ๐ถ: === "๐ 3๏ธโฃ.6๏ธโฃ & ๐" ```Python hl_lines="10"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 16K bytes - Viewed (0) -
docs/ko/docs/deployment/docker.md
* ๋น ํ์ผ `__init__.py`์ ์์ฑํฉ๋๋ค. * ๋ค์๊ณผ ๊ฐ์ `main.py`์ ์์ฑํฉ๋๋ค: ```Python from typing import Union from fastapi import FastAPI app = FastAPI() @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} ``` ### ๋์ปคํ์ผ
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 42.6K bytes - Viewed (0) -
docs/en/docs/release-notes.md
```Python from typing import Union from fastapi import Cookie, FastAPI, Header, Path, Query app = FastAPI() @app.get("/items/{item_id}") def main( item_id: int = Path(gt=0), query: Union[str, None] = Query(default=None, max_length=10), session: Union[str, None] = Cookie(default=None, min_length=3), x_trace: Union[str, None] = Header(default=None, title="Tracing header"),
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri May 03 23:25:42 GMT 2024 - 388.1K bytes - Viewed (1) -
docs/ru/docs/tutorial/extra-models.md
``` ## `Union` ะธะปะธ `anyOf` ะั ะผะพะถะตัะต ะพะฟัะตะดะตะปะธัั ะพัะฒะตั ะบะฐะบ `Union` ะธะท ะดะฒัั ัะธะฟะพะฒ. ะญัะพ ะพะทะฝะฐัะฐะตั, ััะพ ะพัะฒะตั ะดะพะปะถะตะฝ ัะพะพัะฒะตัััะฒะพะฒะฐัั ะพะดะฝะพะผั ะธะท ะฝะธั . ะะฝ ะฑัะดะตั ะพะฟัะตะดะตะปัะฝ ะฒ OpenAPI ะบะฐะบ `anyOf`. ะะปั ััะพะณะพ ะธัะฟะพะปัะทัะนัะต ััะฐะฝะดะฐััะฝัะต ะฐะฝะฝะพัะฐัะธะธ ัะธะฟะพะฒ ะฒ Python <a href="https://docs.python.org/3/library/typing.html#typing.Union" class="external-link" target="_blank">`typing.Union`</a>: !!! note "ะัะธะผะตัะฐะฝะธะต"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 11.6K bytes - Viewed (0) -
docs/en/docs/tutorial/extra-models.md
``` ## `Union` or `anyOf` You can declare a response to be the `Union` of two types, that means, that the response would be any of the two. It will be defined in OpenAPI with `anyOf`. To do that, use the standard Python type hint <a href="https://docs.python.org/3/library/typing.html#typing.Union" class="external-link" target="_blank">`typing.Union`</a>: !!! note
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 7.7K bytes - Viewed (1) -
docs/em/docs/python-types.md
``` #### โ๏ธ `Union` โ๏ธ `Optional` ๐ฅ ๐ โ๏ธ ๐ โฌ ๐ 3๏ธโฃ.1๏ธโฃ0๏ธโฃ, ๐ฅ ๐โโ โช๏ธโก๏ธ ๐ ๐ถ **๐ค** โ ๐: * ๐ถ โ โ๏ธ `Optional[SomeType]` * โฉ๏ธ ๐ถ **โ๏ธ `Union[SomeType, None]`** ๐ถ. ๐ฏโโ๏ธ ๐ & ๐ ๐ซ ๐, โ๏ธ ๐ค ๐ ๐ `Union` โฉ๏ธ `Optional` โฉ๏ธ ๐ค "**๐ฆ**" ๐ ๐ ๐ ๐ ๐ฒ ๐ฆ, & โซ๏ธ ๐ค โ "โซ๏ธ ๐ช `None`", ๐ฅ โซ๏ธ ๐ซ ๐ฆ & โ. ๐ค ๐ญ `Union[SomeType, None]` ๐ ๐ ๐ โซ๏ธโ โซ๏ธ โ.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 13.6K bytes - Viewed (0) -
docs/en/docs/tutorial/query-params-str-validations.md
``` The query parameter `q` is of type `Union[str, None]` (or `str | None` in Python 3.10), that means that it's of type `str` but could also be `None`, and indeed, the default value is `None`, so FastAPI will know it's not required. !!! note FastAPI will know that the value of `q` is not required because of the default value `= None`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 25.7K bytes - Viewed (0) -
docs/pt/docs/index.md
## Exemplo ### Crie * Crie um arquivo `main.py` com: ```Python from typing import Union from fastapi import FastAPI app = FastAPI() @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} ``` <details markdown="1">
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 18.6K bytes - Viewed (0)