- Sort Score
- Result 10 results
- Languages All
Results 791 - 800 of 873 for Python3 (0.05 sec)
-
docs/em/docs/how-to/conditional-openapi.md
* ...โ๏ธ. ๐, ๐ 5๏ธโฃ๐ โ๏ธ ๐ถ ๐ฏ โ๏ธ ๐ผ ๐โ ๐ ๐ค ๐ช โ ๐ ๏ธ ๐ฉบ ๐ (โ ๐ญ) โ๏ธ โ๏ธ ๐ ๐ณ โช๏ธโก๏ธ ๐ ๐ข. ## ๐ฒ ๐ โช๏ธโก๏ธ โ & ๐จ๐ป { ๐ ๐ช ๐ช โ๏ธ ๐ Pydantic โ ๐ ๐ ๐ ๐ & ๐ฉบ โ. ๐ผ: ```Python hl_lines="6 11" {!../../docs_src/conditional_openapi/tutorial001.py!} ``` ๐ฅ ๐ฅ ๐ฃ โ `openapi_url` โฎ๏ธ ๐ ๐ข `"/openapi.json"`. & โคด๏ธ ๐ฅ โ๏ธ โซ๏ธ ๐โ ๐ `FastAPI` ๐ฑ.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2K bytes - Viewed (0) -
docs/ko/docs/advanced/response-change-status-code.md
์ด๋ฐ ๊ฒฝ์ฐ์๋ `Response` ํ๋ผ๋ฏธํฐ๋ฅผ ์ฌ์ฉํ ์ ์์ต๋๋ค. ## `Response` ํ๋ผ๋ฏธํฐ ์ฌ์ฉํ๊ธฐ *๊ฒฝ๋ก ์๋ ํจ์*์ `Response` ํ์ ์ ํ๋ผ๋ฏธํฐ๋ฅผ ์ ์ธํ ์ ์์ต๋๋ค. (์ฟ ํค์ ํค๋์ ๋ํด ์ ์ธํ๋ ๊ฒ๊ณผ ์ ์ฌํ๊ฒ) ๊ทธ๋ฆฌ๊ณ ์ด *์์* ์๋ต ๊ฐ์ฒด์์ `status_code`๋ฅผ ์ค์ ํ ์ ์์ต๋๋ค. ```Python hl_lines="1 9 12" {!../../docs_src/response_change_status_code/tutorial001.py!} ``` ๊ทธ๋ฆฌ๊ณ ํ์์ฒ๋ผ ์ํ๋ ๊ฐ์ฒด(`dict`, ๋ฐ์ดํฐ๋ฒ ์ด์ค ๋ชจ๋ธ ๋ฑ)๋ฅผ ๋ฐํํ ์ ์์ต๋๋ค. `response_model`์ ์ ์ธํ๋ค๋ฉด ๋ฐํ๋ ๊ฐ์ฒด๋ ์ฌ์ ํ ํํฐ๋ง๋๊ณ ๋ณํ๋ฉ๋๋ค.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 22:01:39 UTC 2024 - 1.8K bytes - Viewed (0) -
docs/en/docs/tutorial/response-status-code.md
/// The `status_code` parameter receives a number with the HTTP status code. /// info `status_code` can alternatively also receive an `IntEnum`, such as Python's <a href="https://docs.python.org/3/library/http.html#http.HTTPStatus" class="external-link" target="_blank">`http.HTTPStatus`</a>. /// It will: * Return that status code in the response.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Oct 28 11:13:18 UTC 2024 - 3.9K bytes - Viewed (0) -
docs/em/docs/tutorial/cors.md
* โ ๐ โ ๐จ๐ณ (๐ป). * ๐ฎ โซ๏ธ "๐ ๏ธ" ๐ **FastAPI** ๐ธ. ๐ ๐ช โ ๐ฅ ๐ ๐ฉโ๐ป โ: * ๐ (โ ๐, ๐ช, โ๏ธ). * ๐ฏ ๐บ๐ธ๐ ๐ฉโ๐ฌ (`POST`, `PUT`) โ๏ธ ๐ ๐ซ โฎ๏ธ ๐ `"*"`. * ๐ฏ ๐บ๐ธ๐ ๐ โ๏ธ ๐ ๐ซ โฎ๏ธ ๐ `"*"`. ```Python hl_lines="2 6-11 13-19" {!../../docs_src/cors/tutorial001.py!} ``` ๐ข ๐ข โ๏ธ `CORSMiddleware` ๐ ๏ธ ๐ซ ๐ข, ๐ ๐ ๐ช ๐ฏ ๐ ๏ธ ๐ฏ ๐จ๐ณ, ๐ฉโ๐ฌ, โ๏ธ ๐, โ ๐ฅ โ โ๏ธ ๐ซ โ๏ธ-๐ ๐. ๐ โ ๐โ๐ฆบ:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4.1K bytes - Viewed (0) -
docs/pl/docs/tutorial/first-steps.md
<span style="color: green;">INFO</span>: Application startup complete. ``` </div> /// note Polecenie `uvicorn main:app` odnosi siฤ do: * `main`: plik `main.py` ("moduล" Python). * `app`: obiekt utworzony w pliku `main.py` w lini `app = FastAPI()`. * `--reload`: sprawia, ลผe serwer uruchamia siฤ ponownie po zmianie kodu. Uลผywany tylko w trakcie tworzenia oprogramowania. ///
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 16:51:30 UTC 2024 - 9.6K bytes - Viewed (0) -
docs/de/docs/advanced/openapi-webhooks.md
Wenn Sie eine **FastAPI**-Anwendung erstellen, gibt es ein `webhooks`-Attribut, mit dem Sie *Webhooks* definieren kรถnnen, genauso wie Sie *Pfadoperationen* definieren wรผrden, zum Beispiel mit `@app.webhooks.post()`. ```Python hl_lines="9-13 36-53" {!../../docs_src/openapi_webhooks/tutorial001.py!} ``` Die von Ihnen definierten Webhooks landen im **OpenAPI**-Schema und der automatischen **Dokumentations-Oberflรคche**. /// info
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.3K bytes - Viewed (0) -
docs/en/docs/advanced/using-request-directly.md
## Use the `Request` object directly Let's imagine you want to get the client's IP address/host inside of your *path operation function*. For that you need to access the request directly. ```Python hl_lines="1 7-8" {!../../docs_src/using_request_directly/tutorial001.py!} ``` By declaring a *path operation function* parameter with the type being the `Request` **FastAPI** will know to pass the `Request` in that parameter.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.3K bytes - Viewed (0) -
docs/pt/docs/tutorial/index.md
Ele tambรฉm foi feito como referรชncia futura. Entรฃo vocรช poderรก voltar e ver exatamente o que precisar. ## Rode o cรณdigo Todos os blocos de cรณdigo podem ser copiados e utilizados diretamente (eles sรฃo, na verdade, arquivos Python testados). Para rodar qualquer um dos exemplos, copie o codigo para um arquivo `main.py`, e inicie o `uvivorn` com: <div class="termy"> ```console $ uvicorn main:app --reload
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 2.7K bytes - Viewed (0) -
fastapi/_compat.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 12 09:36:32 UTC 2024 - 23.4K bytes - Viewed (0) -
docs/ru/docs/tutorial/cors.md
* ะฃัััะฝัั ะดะฐะฝะฝัั (ะฒะบะปััะฐั ะทะฐะณะพะปะพะฒะบะธ Authorization, ะบัะบะธ ะธ ั.ะฟ.). * ะัะดะตะปัะฝัั HTTP-ะผะตัะพะดะพะฒ (`POST`, `PUT`) ะธะปะธ ะฒัะตั ะฒะผะตััะต, ะธัะฟะพะปัะทัั `"*"`. * ะัะดะตะปัะฝัั HTTP-ะทะฐะณะพะปะพะฒะบะพะฒ ะธะปะธ ะฒัะตั ะฒะผะตััะต, ะธัะฟะพะปัะทัั `"*"`. ```Python hl_lines="2 6-11 13-19" {!../../docs_src/cors/tutorial001.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.3K bytes - Viewed (0)