Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 462 for hero (0.02 seconds)

  1. docs/ja/docs/tutorial/sql-databases.md

    ### Hero の取得 { #read-heroes }
    
    `select()` を使ってデータベースから `Hero` を取得できます。結果のページネーションのために `limit` と `offset` を含められます。
    
    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[48:55] hl[51:52,54] *}
    
    ### 単一の Hero を取得 { #read-one-hero }
    
    単一の `Hero` を取得できます。
    
    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[58:63] hl[60] *}
    
    ### Hero の削除 { #delete-a-hero }
    
    `Hero` を削除することもできます。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 18K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/sql-databases.md

    {* ../../docs_src/sql_databases/tutorial002_an_py310.py ln[65:72] hl[65] *}
    
    ### Read One Hero with `HeroPublic` { #read-one-hero-with-heropublic }
    
    We can **read** a single hero:
    
    {* ../../docs_src/sql_databases/tutorial002_an_py310.py ln[75:80] hl[77] *}
    
    ### Update a Hero with `HeroUpdate` { #update-a-hero-with-heroupdate }
    
    We can **update a hero**. For this we use an HTTP `PATCH` operation.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 15.3K bytes
    - Click Count (0)
  3. docs/zh-hant/docs/tutorial/sql-databases.md

    我們可以用 `select()` 從資料庫「讀取」多個 `Hero`。可以加入 `limit` 與 `offset` 來分頁。
    
    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[48:55] hl[51:52,54] *}
    
    ### 讀取單一 Hero { #read-one-hero }
    
    我們可以「讀取」單一的 `Hero`。
    
    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[58:63] hl[60] *}
    
    ### 刪除 Hero { #delete-a-hero }
    
    我們也可以「刪除」一個 `Hero`。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 14.8K bytes
    - Click Count (0)
  4. docs/zh/docs/tutorial/sql-databases.md

    ### 读取 Hero { #read-heroes }
    
    我们可以使用 `select()` 从数据库中**读取** `Hero`,并利用 `limit` 和 `offset` 来对结果进行分页。
    
    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[48:55] hl[51:52,54] *}
    
    ### 读取单个 Hero { #read-one-hero }
    
    我们可以**读取**单个 `Hero`。
    
    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[58:63] hl[60] *}
    
    ### 删除单个 Hero { #delete-a-hero }
    
    我们也可以**删除**一个 `Hero`。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 15.4K bytes
    - Click Count (0)
  5. docs_src/additional_responses/tutorial001_py310.py

    app = FastAPI()
    
    
    @app.get("/items/{item_id}", response_model=Item, responses={404: {"model": Message}})
    async def read_item(item_id: str):
        if item_id == "foo":
            return {"id": "foo", "value": "there goes my hero"}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 506 bytes
    - Click Count (0)
  6. docs_src/extra_models/tutorial004_py310.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str
    
    
    items = [
        {"name": "Foo", "description": "There comes my hero"},
        {"name": "Red", "description": "It's my aeroplane"},
    ]
    
    
    @app.get("/items/", response_model=list[Item])
    async def read_items():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 356 bytes
    - Click Count (0)
  7. docs_src/additional_responses/tutorial003_py310.py

                    }
                },
            },
        },
    )
    async def read_item(item_id: str):
        if item_id == "foo":
            return {"id": "foo", "value": "there goes my hero"}
        else:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 837 bytes
    - Click Count (0)
  8. docs/uk/docs/tutorial/sql-databases.md

    #### `Hero` - «таблична модель» { #hero-the-table-model }
    
    Потім створімо `Hero`, фактичну «табличну модель», з **додатковими полями**, яких немає в інших моделях завжди:
    
    * `id`
    * `secret_name`
    
    Оскільки `Hero` успадковується від `HeroBase`, вона **також** містить **поля**, оголошені в `HeroBase`, тож усі поля `Hero` такі:
    
    * `id`
    * `name`
    * `age`
    * `secret_name`
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  9. docs/en/docs/help-fastapi.md

    ### Ask to close { #ask-to-close }
    
    If they reply, there's a high chance you would have solved their problem, congrats, **you're a hero**! 🦸
    
    * Now, if that solved their problem, you can ask them to:
    
        * In GitHub Discussions: mark the comment as the **answer**.
        * In GitHub Issues: **close** the issue.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  10. docs/es/docs/tutorial/sql-databases.md

    ### Leer Un Hero { #read-one-hero }
    
    Podemos **leer** un único `Hero`.
    
    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[58:63] hl[60] *}
    
    ### Eliminar un Hero { #delete-a-hero }
    
    También podemos **eliminar** un `Hero`.
    
    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[66:73] hl[71] *}
    
    ### Ejecutar la App { #run-the-app }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 16.6K bytes
    - Click Count (0)
Back to Top