Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 243 for avait (0.03 sec)

  1. docs/ko/docs/tutorial/background-tasks.md

    백그라운드 작업으로 실행할 함수를 정의합니다.
    
    이것은 단순히 매개변수를 받을 수 있는 표준 함수일 뿐입니다.
    
    **FastAPI**는 이것이 `async def` 함수이든, 일반 `def` 함수이든 내부적으로 이를 올바르게 처리합니다.
    
    이 경우, 아래 작업은 파일에 쓰는 함수입니다. (이메일 보내기 시물레이션)
    
    그리고 이 작업은 `async`와 `await`를 사용하지 않으므로 일반 `def` 함수로 선언합니다.
    
    ```Python hl_lines="6-9"
    {!../../docs_src/background_tasks/tutorial001.py!}
    ```
    
    ## 백그라운드 작업 추가
    
    _경로 작동 함수_ 내에서 작업 함수를 `.add_task()` 함수 통해 _백그라운드 작업_ 개체에 전달합니다.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/FastFallbackTest.kt

            var first = true
    
            override fun createSocket(): Socket {
              if (first) {
                first = false
                firstConnectLatch.await()
              }
              return super.createSocket()
            }
          }
    
        client =
          client.newBuilder()
            .protocols(listOf(Protocol.H2_PRIOR_KNOWLEDGE))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  3. docs/fr/docs/tutorial/body.md

    <img src="/img/tutorial/body/image04.png">
    
    Ce n'est pas un hasard, ce framework entier a été bâti avec ce design comme objectif.
    
    Et cela a été rigoureusement testé durant la phase de design, avant toute implémentation, pour s'assurer que cela fonctionnerait avec tous les éditeurs.
    
    Des changements sur Pydantic ont même été faits pour supporter cela.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 17:34:41 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. docs/nl/docs/index.md

        return {"item_id": item_id, "q": q}
    ```
    
    <details markdown="1">
    <summary>Of maak gebruik van <code>async def</code>...</summary>
    
    Als je code gebruik maakt van `async` / `await`, gebruik dan `async def`:
    
    ```Python hl_lines="9  14"
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    async def read_root():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  5. src/bufio/bufio.go

    	}
    
    	if n > len(b.buf) {
    		return b.buf[b.r:b.w], ErrBufferFull
    	}
    
    	// 0 <= n <= len(b.buf)
    	var err error
    	if avail := b.w - b.r; avail < n {
    		// not enough data in buffer
    		n = avail
    		err = b.readErr()
    		if err == nil {
    			err = ErrBufferFull
    		}
    	}
    	return b.buf[b.r : b.r+n], err
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 12 14:39:08 UTC 2023
    - 21.8K bytes
    - Viewed (0)
  6. docs/az/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>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():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  7. docs/em/docs/tutorial/dependencies/index.md

    ⚫️ 🚫 🤔. **FastAPI** 🔜 💭 ⚫️❔.
    
    /// note
    
    🚥 👆 🚫 💭, ✅ [🔁: *"🏃 ❓" *](../../async.md){.internal-link target=_blank} 📄 🔃 `async` &amp; `await` 🩺.
    
    ///
    
    ## 🛠️ ⏮️ 🗄
    
    🌐 📨 📄, 🔬 &amp; 📄 👆 🔗 (&amp; 🎧-🔗) 🔜 🛠️ 🎏 🗄 🔗.
    
    , 🎓 🩺 🔜 ✔️ 🌐 ℹ ⚪️➡️ 👫 🔗 💁‍♂️:
    
    <img src="/img/tutorial/dependencies/image01.png">
    
    ## 🙅 ⚙️
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. docs/fr/docs/features.md

    ///
    
    ### Support d'éditeurs
    
    Tout le framework a été conçu pour être facile et intuitif d'utilisation, toutes les décisions de design ont été testées sur de nombreux éditeurs avant même de commencer le développement final afin d'assurer la meilleure expérience de développement possible.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  9. docs/em/docs/advanced/custom-response.md

        , ⚫️ 🚂 🔢 👈 📨 "🏭" 👷 🕳 🙆 🔘.
    
        🔨 ⚫️ 👉 🌌, 👥 💪 🚮 ⚫️ `with` 🍫, &amp; 👈 🌌, 🚚 👈 ⚫️ 📪 ⏮️ 🏁.
    
    /// tip
    
    👀 👈 📥 👥 ⚙️ 🐩 `open()` 👈 🚫 🐕‍🦺 `async` &amp; `await`, 👥 📣 ➡ 🛠️ ⏮️ 😐 `def`.
    
    ///
    
    ### `FileResponse`
    
    🔁 🎏 📁 📨.
    
    ✊ 🎏 ⚒ ❌ 🔗 🌘 🎏 📨 🆎:
    
    * `path` - 📁 📁 🎏.
    * `headers` - 🙆 🛃 🎚 🔌, 📖.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  10. docs/de/docs/index.md

        return {"item_id": item_id, "q": q}
    ```
    
    <details markdown="1">
    <summary>Oder verwenden Sie <code>async def</code> ...</summary>
    
    Wenn Ihr Code `async` / `await` verwendet, benutzen Sie `async def`:
    
    ```Python hl_lines="9  14"
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    async def read_root():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 21.1K bytes
    - Viewed (0)
Back to top