- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for define (0.17 sec)
-
docs/em/docs/async.md
🕐❔ 👆 💚 🤙 `async def` 🔢, 👆 ✔️ "⌛" ⚫️. , 👉 🏆 🚫 👷: ```Python # This won't work, because get_burgers was defined with: async def burgers = get_burgers(2) ``` --- , 🚥 👆 ⚙️ 🗃 👈 💬 👆 👈 👆 💪 🤙 ⚫️ ⏮️ `await`, 👆 💪 ✍ *➡ 🛠️ 🔢* 👈 ⚙️ ⚫️ ⏮️ `async def`, 💖: ```Python hl_lines="2-3" @app.get('/burgers')
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 18.7K bytes - Viewed (0) -
docs/en/docs/async.md
return burgers ``` ### More technical details You might have noticed that `await` can only be used inside of functions defined with `async def`. But at the same time, functions defined with `async def` have to be "awaited". So, functions with `async def` can only be called inside of functions defined with `async def` too. So, about the egg and the chicken, how do you call the first `async` function?
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 23K bytes - Viewed (0) -
docs/ko/docs/async.md
`async def`f 함수를 호출하고자 할 때, "대기"해야합니다. 따라서, 아래는 동작하지 않습니다. ```Python # This won't work, because get_burgers was defined with: async def burgers = get_burgers(2) ``` --- 따라서, `await`f를 사용해서 호출할 수 있는 라이브러리를 사용한다면, 다음과 같이 `async def`를 사용하는 *경로 작동 함수*를 생성해야 합니다: ```Python hl_lines="2-3" @app.get('/burgers')
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 26.7K bytes - Viewed (0) -
docs/zh/docs/async.md
return burgers ``` 使用 `async def`,Python 就知道在该函数中,它将遇上 `await`,并且它可以"暂停" ⏸ 执行该函数,直至执行其他操作 🔀 后回来。 当你想调用一个 `async def` 函数时,你必须"等待"它。因此,这不会起作用: ```Python # This won't work, because get_burgers was defined with: async def burgers = get_burgers(2) ``` --- 因此,如果您使用的库告诉您可以使用 `await` 调用它,则需要使用 `async def` 创建路径操作函数 ,如: ```Python hl_lines="2-3" @app.get('/burgers') async def read_burgers():
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 21.1K bytes - Viewed (0)