- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 38 for connected (0.29 sec)
-
docs/en/docs/deployment/concepts.md
In that case, you wouldn't have to worry about any of this. ๐คท ### Examples of Previous Steps Strategies This will **depend heavily** on the way you **deploy your system**, and it would probably be connected to the way you start programs, handling restarts, etc. Here are some possible ideas: * An "Init Container" in Kubernetes that runs before your app container
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 18K bytes - Viewed (0) -
docs/en/docs/advanced/events.md
So, we declare the event handler function with standard `def` instead of `async def`. ### `startup` and `shutdown` together There's a high chance that the logic for your *startup* and *shutdown* is connected, you might want to start something and then finish it, acquire a resource and then release it, etc.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 7.8K bytes - Viewed (0) -
docs/en/docs/tutorial/testing.md
!!! info Note that the `TestClient` receives data that can be converted to JSON, not Pydantic models.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 6.2K bytes - Viewed (0) -
tests/test_typing_python39.py
@needs_py310 def test_typing(): types = { list[int]: [1, 2, 3], dict[str, list[int]]: {"a": [1, 2, 3], "b": [4, 5, 6]}, set[int]: [1, 2, 3], # `set` is converted to `list` tuple[int, ...]: [1, 2, 3], # `tuple` is converted to `list` } for test_type, expect in types.items(): app = FastAPI() @app.post("/", response_model=test_type) def post_endpoint(input: test_type):
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 709 bytes - Viewed (0) -
docs/ko/docs/deployment/docker.md
์ปจํ ์ด๋๋ฅผ ์ฌ์ฉํ์ง ์๊ณ ์๋, ์ดํ๋ฆฌ์ผ์ด์ ์ ๊ตฌ๋ํ๊ณ ์ฌ์์ํ๋ ๊ฒ์ด ๋งค์ฐ ๋ฒ๊ฑฐ๋กญ๊ณ ์ด๋ ค์ธ ์ ์์ต๋๋ค. ํ์ง๋ง **์ปจํ ์ด๋๋ฅผ ์ฌ์ฉํ๋ค๋ฉด** ๋๋ถ๋ถ์ ๊ฒฝ์ฐ์ ์ด๋ฐ ๊ธฐ๋ฅ์ ๊ธฐ๋ณธ์ ์ผ๋ก ํฌํจ๋์ด ์์ต๋๋ค. โจ ## ๋ณต์ - ํ๋ก์ธ์ค ๊ฐ์ ๋ง์ฝ ์ฌ๋ฌ๋ถ์ด **์ฟ ๋ฒ๋คํฐ์ค**์ ๋จธ์ <abbr title="A group of machines that are configured to be connected and work together in some way.">ํด๋ฌ์คํฐ</abbr>, ๋์ปค ์ค์ ๋ชจ๋, ๋ ธ๋ง๋, ๋๋ ๋ค๋ฅธ ์ฌ๋ฌ ๋จธ์ ์์ ๋ถ์ฐ ์ปจํ ์ด๋๋ฅผ ๊ด๋ฆฌํ๋ ๋ณต์กํ ์์คํ ์ ๋ค๋ฃจ๊ณ ์๋ค๋ฉด, ์ฌ๋ฌ๋ถ์ ๊ฐ ์ปจํ ์ด๋์์ (์์ปค์ ํจ๊ป ์ฌ์ฉํ๋ Gunicorn ๊ฐ์) **ํ๋ก์ธ์ค ๋งค๋์ ** ๋์ **ํด๋ฌ์คํฐ ๋ ๋ฒจ**์์ **๋ณต์ ๋ฅผ ๋ค๋ฃจ**๊ณ ์ถ์ ๊ฒ์ ๋๋ค.
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) -
tests/test_tutorial/test_schema_extra_example/test_tutorial005_an.py
"tax": 3.2, }, }, "converted": { "summary": "An example with converted data", "description": "FastAPI can convert price `strings` to actual `numbers` automatically",
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Aug 26 18:03:13 GMT 2023 - 6.7K bytes - Viewed (0) -
docs/en/docs/advanced/dataclasses.md
You can also use `dataclasses` in the `response_model` parameter: ```Python hl_lines="1 7-13 19" {!../../../docs_src/dataclasses/tutorial002.py!} ``` The dataclass will be automatically converted to a Pydantic dataclass. This way, its schema will show up in the API docs user interface: <img src="/img/tutorial/dataclasses/image01.png"> ## Dataclasses in Nested Data Structures
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 4.1K bytes - Viewed (0) -
fastapi/security/oauth2.py
""" This is a dependency class to collect the `username` and `password` as form data for an OAuth2 password flow. The OAuth2 specification dictates that for a password flow the data should be collected using form data (instead of JSON) and that it should have the specific fields `username` and `password`. All the initialization parameters are extracted from the request. Read more about it in the
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Apr 02 02:48:51 GMT 2024 - 21.1K bytes - Viewed (1) -
docs/em/docs/advanced/path-operation-advanced-configuration.md
๐ ๐ช ๐ โฎ๏ธ `openapi_extra`: ```Python hl_lines="20-37 39-40" {!../../../docs_src/path_operation_advanced_configuration/tutorial006.py!} ``` ๐ ๐ผ, ๐ฅ ๐ซ ๐ฃ ๐ Pydantic ๐ท. ๐, ๐จ ๐ช ๐ซ <abbr title="converted from some plain format, like bytes, into Python objects">๐ป</abbr> ๐ป, โซ๏ธ โ ๐ `bytes`, & ๐ข `magic_data_reader()` ๐ ๐ ๐ป โซ๏ธ ๐. ๐, ๐ฅ ๐ช ๐ฃ ๐ ๐ ๐จ ๐ช. ### ๐ ๐ ๐ ๐
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 5.7K bytes - Viewed (0) -
docs/en/docs/tutorial/path-params.md
#### Return *enumeration members* You can return *enum members* from your *path operation*, even nested in a JSON body (e.g. a `dict`). They will be converted to their corresponding values (strings in this case) before returning them to the client: ```Python hl_lines="18 21 23" {!../../../docs_src/path_params/tutorial005.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 9.1K bytes - Viewed (0)