- Sort Score
- Result 10 results
- Languages All
Results 521 - 530 of 580 for url_lines (0.06 sec)
-
docs/pt/docs/tutorial/cors.md
* Credenciais (Cabeçalhos de autorização, Cookies, etc). * Métodos HTTP específicos (`POST`, `PUT`) ou todos eles com o curinga `"*"`. * Cabeçalhos HTTP específicos ou todos eles com o curinga `"*"`. ```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 - 5.5K bytes - Viewed (0) -
docs/nl/docs/environment-variables.md
Je kunt omgevingsvariabelen **buiten** Python aanmaken, in de terminal (of met een andere methode) en ze vervolgens **in Python uitlezen**. Je kunt bijvoorbeeld een bestand `main.py` hebben met: ```Python hl_lines="3" import os name = os.getenv("MY_NAME", "World") print(f"Hello {name} from Python") ``` /// tip
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Sep 20 11:13:32 UTC 2024 - 8.6K bytes - Viewed (0) -
docs/en/docs/environment-variables.md
You could also create environment variables **outside** of Python, in the terminal (or with any other method), and then **read them in Python**. For example you could have a file `main.py` with: ```Python hl_lines="3" import os name = os.getenv("MY_NAME", "World") print(f"Hello {name} from Python") ``` /// tip
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Sep 08 20:36:53 UTC 2024 - 7.9K bytes - Viewed (0) -
docs/ko/docs/async.md
`await`가 동작하기 위해, 이것은 비동기를 지원하는 함수 내부에 있어야 합니다. 이를 위해서 함수를 `async def`를 사용해 정의하기만 하면 됩니다: ```Python hl_lines="1" async def get_burgers(number: int): # Do some asynchronous stuff to create the burgers return burgers ``` ...`def`를 사용하는 대신: ```Python hl_lines="2" # This is not asynchronous def get_sequential_burgers(number: int): # Do some sequential stuff to create the burgers
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 26.7K bytes - Viewed (0) -
docs/ja/docs/tutorial/security/first-steps.md
その場合、**FastAPI**はそれを構築するためのツールも提供します。 /// `OAuth2PasswordBearer` クラスのインスタンスを作成する時に、パラメーター`tokenUrl`を渡します。このパラメーターには、クライアント (ユーザーのブラウザで動作するフロントエンド) がトークンを取得するために`ユーザー名`と`パスワード`を送信するURLを指定します。 ```Python hl_lines="6" {!../../docs_src/security/tutorial001.py!} ``` /// tip | "豆知識" ここで、`tokenUrl="token"`は、まだ作成していない相対URL`token`を指します。相対URLなので、`./token`と同じです。
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.5K bytes - Viewed (0) -
docs/ru/docs/index.md
``` <details markdown="1"> <summary>Или используйте <code>async def</code>...</summary> Если ваш код использует `async` / `await`, используйте `async def`: ```Python hl_lines="9 14" from typing import Union from fastapi import FastAPI app = FastAPI() @app.get("/") async def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 20 19:20:23 UTC 2024 - 25.8K bytes - Viewed (0) -
docs/en/docs/tutorial/cors.md
* Credentials (Authorization headers, Cookies, etc). * Specific HTTP methods (`POST`, `PUT`) or all of them with the wildcard `"*"`. * Specific HTTP headers or all of them with the wildcard `"*"`. ```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 - 5.1K bytes - Viewed (0) -
docs/vi/docs/index.md
``` <details markdown="1"> <summary>Hoặc sử dụng <code>async def</code>...</summary> Nếu code của bạn sử dụng `async` / `await`, hãy sử dụng `async def`: ```Python hl_lines="9 14" from typing import Union from fastapi import FastAPI app = FastAPI() @app.get("/") async def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 20 19:20:23 UTC 2024 - 21.9K bytes - Viewed (0) -
docs/zh/docs/index.md
return {"item_id": item_id, "q": q} ``` <details markdown="1"> <summary>或者使用 <code>async def</code>...</summary> 如果你的代码里会出现 `async` / `await`,请使用 `async def`: ```Python hl_lines="9 14" from typing import Union from fastapi import FastAPI app = FastAPI() @app.get("/") async def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 20 19:20:23 UTC 2024 - 18.2K bytes - Viewed (0) -
docs/az/docs/index.md
``` <details markdown="1"> <summary>Və ya <code>async def</code>...</summary> Əgər kodunuzda `async` və ya `await` vardırsa `async def` istifadə edə bilərik: ```Python hl_lines="9 14" from typing import Union from fastapi import FastAPI app = FastAPI() @app.get("/") async def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 20 19:20:23 UTC 2024 - 22.8K bytes - Viewed (0)