Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 99 for hawaii (0.24 sec)

  1. docs/bn/docs/index.md

    def read_item(item_id: int, q: Union[str, None] = None):
        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():
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/dependencies/index.md

    Es spielt keine Rolle. **FastAPI** weiß, was zu tun ist.
    
    !!! note "Hinweis"
        Wenn Ihnen das nichts sagt, lesen Sie den [Async: *„In Eile?“*](../../async.md#in-eile){.internal-link target=_blank}-Abschnitt über `async` und `await` in der Dokumentation.
    
    ## Integriert in OpenAPI
    
    Alle Requestdeklarationen, -validierungen und -anforderungen Ihrer Abhängigkeiten (und Unterabhängigkeiten) werden in dasselbe OpenAPI-Schema integriert.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:01:10 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  3. docs/ja/docs/tutorial/dependencies/index.md

    それは重要ではありません。**FastAPI** は何をすべきかを知っています。
    
    !!! note "備考"
        わからない場合は、ドキュメントの[Async: *"In a hurry?"*](../../async.md){.internal-link target=_blank}の中の`async`と`await`についてのセクションを確認してください。
    
    ## OpenAPIとの統合
    
    依存関係(およびサブ依存関係)のすべてのリクエスト宣言、検証、および要件は、同じOpenAPIスキーマに統合されます。
    
    つまり、対話型ドキュメントにはこれらの依存関係から得られる全ての情報も含まれているということです:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jan 15 16:08:16 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/sql-databases.md

    ### 🔃 `def` 🆚 `async def`
    
    📥 👥 ⚙️ 🇸🇲 📟 🔘 *➡ 🛠️ 🔢* &amp; 🔗, &amp;, 🔄, ⚫️ 🔜 🚶 &amp; 🔗 ⏮️ 🔢 💽.
    
    👈 💪 ⚠ 🚚 "⌛".
    
    ✋️ 🇸🇲 🚫 ✔️ 🔗 ⚙️ `await` 🔗, 🔜 ⏮️ 🕳 💖:
    
    ```Python
    user = await db.query(User).first()
    ```
    
    ...&amp; ↩️ 👥 ⚙️:
    
    ```Python
    user = db.query(User).first()
    ```
    
    ⤴️ 👥 🔜 📣 *➡ 🛠️ 🔢* &amp; 🔗 🍵 `async def`, ⏮️ 😐 `def`,:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 25.2K bytes
    - Viewed (1)
  5. docs/en/docs/release-notes.md

    * Fix typos in Async docs. PR [#1423](https://github.com/tiangolo/fastapi/pull/1423).
    
    ## 0.54.2
    
    * Add translation to Spanish for [Concurrency and async / await - Concurrencia y async / await](https://fastapi.tiangolo.com/es/async/). PR [#1290](https://github.com/tiangolo/fastapi/pull/1290) by [@alvaropernas](https://github.com/alvaropernas).
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:42 GMT 2024
    - 388.1K bytes
    - Viewed (1)
  6. tests/test_datastructures.py

        stream = io.BytesIO(b"data")
        file = UploadFile(filename="file", file=stream, size=4)
        assert await file.read() == b"data"
        assert file.size == 4
        await file.write(b" and more data!")
        assert await file.read() == b""
        assert file.size == 19
        await file.seek(0)
        assert await file.read() == b"data and more data!"
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Oct 18 12:36:40 GMT 2023
    - 2K bytes
    - Viewed (0)
  7. docs/tr/docs/async.md

    # Concurrency ve async / await
    
    *path operasyon fonksiyonu* için `async def `sözdizimi,  asenkron kod, eşzamanlılık ve paralellik hakkında bazı ayrıntılar.
    
    ## Aceleniz mi var?
    
    <abbr title="too long; didn't read"><strong>TL;DR:</strong></abbr>
    
    Eğer `await` ile çağrılması gerektiğini belirten üçüncü taraf kütüphaneleri kullanıyorsanız, örneğin:
    
    ```Python
    results = await some_library()
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 21.9K bytes
    - Viewed (0)
  8. .github/workflows/label-approved.yml

          with:
            token: ${{ secrets.FASTAPI_LABEL_APPROVED }}
            config: >
              {
                "approved-1":
                  {
                    "number": 1,
                    "await_label": "awaiting-review"
                  }
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jan 22 18:43:10 GMT 2024
    - 610 bytes
    - Viewed (0)
  9. docs_src/path_operation_advanced_configuration/tutorial007_pv1.py

            "requestBody": {
                "content": {"application/x-yaml": {"schema": Item.schema()}},
                "required": True,
            },
        },
    )
    async def create_item(request: Request):
        raw_body = await request.body()
        try:
            data = yaml.safe_load(raw_body)
        except yaml.YAMLError:
            raise HTTPException(status_code=422, detail="Invalid YAML")
        try:
            item = Item.parse_obj(data)
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 789 bytes
    - Viewed (0)
  10. docs/en/docs/advanced/websockets.md

        **FastAPI** provides the same `WebSocket` directly just as a convenience for you, the developer. But it comes directly from Starlette.
    
    ## Await for messages and send messages
    
    In your WebSocket route you can `await` for messages and send messages.
    
    ```Python hl_lines="48-52"
    {!../../../docs_src/websockets/tutorial001.py!}
    ```
    
    You can receive and send binary, text, and JSON data.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 6.2K bytes
    - Viewed (0)
Back to top