- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 320 for Kirsty (0.16 sec)
-
docs/ru/docs/tutorial/first-steps.md
```Python hl_lines="7" {!../../../docs_src/first_steps/tutorial001.py!} ``` Это обычная Python функция. **FastAPI** будет вызывать её каждый раз при получении `GET` запроса к URL "`/`". В данном случае это асинхронная функция. --- Вы также можете определить ее как обычную функцию вместо `async def`: ```Python hl_lines="7" {!../../../docs_src/first_steps/tutorial003.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 13.1K bytes - Viewed (0) -
docs/de/docs/tutorial/first-steps.md
```Python hl_lines="7" {!../../../docs_src/first_steps/tutorial003.py!} ``` !!! note "Hinweis" Wenn Sie den Unterschied nicht kennen, lesen Sie [Async: *„In Eile?“*](../async.md#in-eile){.internal-link target=_blank}. ### Schritt 5: den Inhalt zurückgeben ```Python hl_lines="8" {!../../../docs_src/first_steps/tutorial001.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Jan 13 12:16:22 GMT 2024 - 10.5K 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 $ <font color="#4E9A06">fastapi</font> dev <u style="text-decoration-style:single">main.py</u> <font color="#3465A4">INFO </font> Using path <font color="#3465A4">main.py</font>
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 12K bytes - Viewed (0) -
docs/em/docs/tutorial/first-steps.md
```Python hl_lines="1" {!../../../docs_src/first_steps/tutorial001.py!} ``` `FastAPI` 🐍 🎓 👈 🚚 🌐 🛠️ 👆 🛠️. !!! note "📡 ℹ" `FastAPI` 🎓 👈 😖 🔗 ⚪️➡️ `Starlette`. 👆 💪 ⚙️ 🌐 <a href="https://www.starlette.io/" class="external-link" target="_blank">💃</a> 🛠️ ⏮️ `FastAPI` 💁♂️. ### 🔁 2️⃣: ✍ `FastAPI` "👐" ```Python hl_lines="3" {!../../../docs_src/first_steps/tutorial001.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 8.1K bytes - Viewed (0) -
docs/ja/docs/tutorial/first-steps.md
```Python hl_lines="1" {!../../../docs_src/first_steps/tutorial001.py!} ``` `FastAPI`は、APIのすべての機能を提供するPythonクラスです。 !!! note "技術詳細" `FastAPI`は`Starlette`を直接継承するクラスです。 `FastAPI`でも<a href="https://www.starlette.io/" class="external-link" target="_blank">Starlette</a>のすべての機能を利用可能です。 ### Step 2: `FastAPI`の「インスタンス」を生成 ```Python hl_lines="3" {!../../../docs_src/first_steps/tutorial001.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 11.2K bytes - Viewed (0) -
docs_src/python_types/tutorial001.py
def get_full_name(first_name, last_name): full_name = first_name.title() + " " + last_name.title() return full_name
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Mar 26 19:09:53 GMT 2020 - 162 bytes - Viewed (0) -
fastapi/utils.py
def get_value_or_default( first_item: Union[DefaultPlaceholder, DefaultType], *extra_items: Union[DefaultPlaceholder, DefaultType], ) -> Union[DefaultPlaceholder, DefaultType]: """ Pass items or `DefaultPlaceholder`s by descending priority. The first one to _not_ be a `DefaultPlaceholder` will be returned. Otherwise, the first item (a `DefaultPlaceholder`) will be returned. """
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 7.8K bytes - Viewed (0) -
docs_src/sql_databases/sql_app_py39/crud.py
from . import models, schemas def get_user(db: Session, user_id: int): return db.query(models.User).filter(models.User.id == user_id).first() def get_user_by_email(db: Session, email: str): return db.query(models.User).filter(models.User.email == email).first() def get_users(db: Session, skip: int = 0, limit: int = 100): return db.query(models.User).offset(skip).limit(limit).all()
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 1K bytes - Viewed (0) -
docs/ru/docs/python-types.md
```Python first_name, last_name ``` на: ```Python first_name: str, last_name: str ``` Вот и все. Это аннотации типов: ```Python hl_lines="1" {!../../../docs_src/python_types/tutorial002.py!} ``` Это не то же самое, что объявление значений по умолчанию, например: ```Python first_name="john", last_name="doe" ``` Это другая вещь.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 14.6K bytes - Viewed (0) -
docs/uk/docs/python-types.md
```Python first_name, last_name ``` на: ```Python first_name: str, last_name: str ``` Ось і все. Це "type hints": ```Python hl_lines="1" {!../../../docs_src/python_types/tutorial002.py!} ``` Це не те саме, що оголошення значень за замовчуванням, як це було б з: ```Python first_name="john", last_name="doe" ``` Це зовсім інше.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 19.7K bytes - Viewed (0)