Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for RuntimeError (0.08 sec)

  1. docs/ru/docs/advanced/async-tests.md

    /// tip | Подсказка
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Jan 27 15:36:13 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  2. docs/pt/docs/advanced/async-tests.md

    /// tip | Dica
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. docs/es/docs/advanced/async-tests.md

    /// tip | Consejo
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. docs/ko/docs/advanced/async-tests.md

    /// tip | 팁
    
    테스트에 비동기 함수 호출을 통합할 때 (예: <a href="https://stackoverflow.com/questions/41584243/runtimeerror-task-attached-to-a-different-loop" class="external-link" target="_blank">MongoDB의 MotorClient</a>를 사용할 때) `RuntimeError: Task attached to a different loop` 오류가 발생한다면, 이벤트 루프가 필요한 객체는 반드시 비동기 함수 내에서만 인스턴스화해야 한다는 점을 주의하세요!
    예를 들어 `@app.on_event("startup")` 콜백 내에서 인스턴스화하는 것이 좋습니다.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Dec 10 11:03:16 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. docs/em/docs/advanced/async-tests.md

    ## 🎏 🔁 🔢 🤙
    
    🔬 🔢 🔜 🔁, 👆 💪 🔜 🤙 (&amp; `await`) 🎏 `async` 🔢 ↖️ ⚪️➡️ 📨 📨 👆 FastAPI 🈸 👆 💯, ⚫️❔ 👆 🔜 🤙 👫 🙆 🙆 👆 📟.
    
    /// tip
    
    🚥 👆 ⚔ `RuntimeError: Task attached to a different loop` 🕐❔ 🛠️ 🔁 🔢 🤙 👆 💯 (✅ 🕐❔ ⚙️ <a href="https://stackoverflow.com/questions/41584243/runtimeerror-task-attached-to-a-different-loop" class="external-link" target="_blank">✳ MotorClient</a>) 💭 🔗 🎚 👈 💪 🎉 ➰ 🕴 🏞 🔁 🔢, ✅ `'@app.on_event("startup")` ⏲.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/async-tests.md

    /// tip
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  7. docs/de/docs/advanced/async-tests.md

    /// tip | Tipp
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.3K bytes
    - Viewed (1)
  8. docs/zh/docs/advanced/async-tests.md

    ## 其他异步函数调用
    
    由于测试函数现在是异步的,因此除了在测试中向 FastAPI 应用程序发送请求之外,您现在还可以调用(和使用 `await` 等待)其他 `async` 异步函数,就和您在代码中的其他任何地方调用它们的方法一样。
    
    /// tip
    
    如果您在测试程序中集成异步函数调用的时候遇到一个 `RuntimeError: Task attached to a different loop` 的报错(例如,使用 <a href="https://stackoverflow.com/questions/41584243/runtimeerror-task-attached-to-a-different-loop" class="external-link" target="_blank">MongoDB 的 MotorClient</a> 时),请记住,只能在异步函数中实例化需要事件循环的对象,例如通过 `'@app.on_event("startup")` 回调函数进行初始化。
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Dec 17 21:49:06 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. api/go1.21.txt

    pkg regexp, method (*Regexp) MarshalText() ([]uint8, error) #46159
    pkg regexp, method (*Regexp) UnmarshalText([]uint8) error #46159
    pkg runtime, method (*PanicNilError) Error() string #25448
    pkg runtime, method (*PanicNilError) RuntimeError() #25448
    pkg runtime, method (*Pinner) Pin(interface{}) #46787
    pkg runtime, method (*Pinner) Unpin() #46787
    pkg runtime, type PanicNilError struct #25448
    pkg runtime, type Pinner struct #46787
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Aug 07 09:39:17 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  10. RELEASE.md

                global random seed has not yet been set (via `tf.random.set_seed`).
                Throws `RuntimeError` from Python or `InvalidArgument` from C++
            *   `tf.compat.v1.get_seed` if the global random seed has not yet been
                set (via `tf.random.set_seed`). Throws `RuntimeError` from Python or
                `InvalidArgument` from C++
    
    ## Security
    
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Aug 18 20:54:38 UTC 2025
    - 740K bytes
    - Viewed (1)
Back to top