- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,305 for first (0.17 sec)
-
docs/zh/docs/tutorial/first-steps.md
### 步骤 1:导入 `FastAPI` ```Python hl_lines="1" {!../../../docs_src/first_steps/tutorial001.py!} ``` `FastAPI` 是一个为你的 API 提供了所有功能的 Python 类。 !!! note "技术细节" `FastAPI` 是直接从 `Starlette` 继承的类。 你可以通过 `FastAPI` 使用所有的 Starlette 的功能。 ### 步骤 2:创建一个 `FastAPI`「实例」 ```Python hl_lines="3" {!../../../docs_src/first_steps/tutorial001.py!} ``` 这里的变量 `app` 会是 `FastAPI` 类的一个「实例」。
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu May 12 00:06:16 GMT 2022 - 9.2K bytes - Viewed (0) -
docs/en/docs/tutorial/security/first-steps.md
# Security - First Steps Let's imagine that you have your **backend** API in some domain. And you have a **frontend** in another domain or in a different path of the same domain (or in a mobile application). And you want to have a way for the frontend to authenticate with the backend, using a **username** and **password**. We can use **OAuth2** to build that with **FastAPI**.
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Wed Mar 13 19:02:19 GMT 2024 - 8.9K bytes - Viewed (0) -
docs/pl/docs/tutorial/first-steps.md
```Python hl_lines="7" {!../../../docs_src/first_steps/tutorial003.py!} ``` !!! note Jeśli nie znasz różnicy, sprawdź [Async: *"In a hurry?"*](../async.md#in-a-hurry){.internal-link target=_blank}. ### Krok 5: zwróć zawartość ```Python hl_lines="8" {!../../../docs_src/first_steps/tutorial001.py!} ```
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 9.8K bytes - Viewed (0) -
docs/vi/docs/tutorial/first-steps.md
```Python hl_lines="7" {!../../../docs_src/first_steps/tutorial003.py!} ``` !!! note Nếu bạn không biết sự khác nhau, kiểm tra [Async: *"Trong khi vội vàng?"*](../async.md#in-a-hurry){.internal-link target=_blank}. ### Bước 5: Nội dung trả về ```Python hl_lines="8" {!../../../docs_src/first_steps/tutorial001.py!} ```
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Sep 02 15:44:17 GMT 2023 - 11.2K bytes - Viewed (0) -
docs/pt/docs/tutorial/first-steps.md
```Python hl_lines="7" {!../../../docs_src/first_steps/tutorial003.py!} ``` !!! note "Nota" Se você não sabe a diferença, verifique o [Async: *"Com pressa?"*](../async.md#com-pressa){.internal-link target=_blank}. ### Passo 5: retorne o conteúdo ```Python hl_lines="8" {!../../../docs_src/first_steps/tutorial001.py!} ```
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 9.6K bytes - Viewed (0) -
docs/ko/docs/tutorial/first-steps.md
```Python hl_lines="7" {!../../../docs_src/first_steps/tutorial001.py!} ``` 이것은 파이썬 함수입니다. URL "`/`"에 대한 `GET` 작동을 사용하는 요청을 받을 때마다 **FastAPI**에 의해 호출됩니다. 위의 예시에서 이 함수는 `async`(비동기) 함수입니다. --- `async def`을 이용하는 대신 일반 함수로 정의할 수 있습니다: ```Python hl_lines="7" {!../../../docs_src/first_steps/tutorial003.py!} ``` !!! note "참고"
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 10.5K bytes - Viewed (0) -
docs/tr/docs/tutorial/first-steps.md
```Python hl_lines="7" {!../../../docs_src/first_steps/tutorial003.py!} ``` !!! note "Not" Eğer farkı bilmiyorsanız, [Async: *"Aceleniz mi var?"*](../async.md#in-a-hurry){.internal-link target=_blank} sayfasını kontrol edebilirsiniz. ### Adım 5: İçeriği Geri Döndürün ```Python hl_lines="8" {!../../../docs_src/first_steps/tutorial001.py!} ```
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Feb 08 13:10:55 GMT 2024 - 10.6K bytes - Viewed (0) -
docs/es/docs/tutorial/first-steps.md
```Python hl_lines="7" {!../../../docs_src/first_steps/tutorial003.py!} ``` !!! note "Nota" Si no sabes la diferencia, revisa el [Async: *"¿Tienes prisa?"*](../async.md#tienes-prisa){.internal-link target=_blank}. ### Paso 5: devuelve el contenido ```Python hl_lines="8" {!../../../docs_src/first_steps/tutorial001.py!} ```
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 9.9K bytes - Viewed (0) -
docs/fr/docs/tutorial/first-steps.md
```Python hl_lines="7" {!../../../docs_src/first_steps/tutorial003.py!} ``` !!! note Si vous ne connaissez pas la différence, allez voir la section [Concurrence : *"Vous êtes pressés ?"*](../async.md#vous-etes-presses){.internal-link target=_blank}. ### Étape 5 : retourner le contenu ```Python hl_lines="8" {!../../../docs_src/first_steps/tutorial001.py!} ```
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Wed Sep 27 20:52:31 GMT 2023 - 10.3K bytes - Viewed (0) -
docs/en/docs/tutorial/first-steps.md
# First Steps The simplest FastAPI file could look like this: ```Python {!../../../docs_src/first_steps/tutorial001.py!} ``` Copy that to a file `main.py`. Run the live server: <div class="termy"> ```console $ uvicorn main:app --reload <span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) <span style="color: green;">INFO</span>: Started reloader process [28720]
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 9.2K bytes - Viewed (0)