@Inspiringthoughts · Post #10574 · 26.02.2025 г., 13:35
800 People Work in Proper Sync... Amazing 👏👏👏👏👏 #Cricket
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #401 · 15 дек.
Функция asyncio.wait() это еще один способ вызвать множество асинхронных задач. Она работает в нескольких режимах. 1. Самый простой - ждем завершения всех задач async def main(): tasks = [asyncio.create_task(do_it(i)) for i in range(10)] done, pending = await asyncio.wait( tasks, return_when=asyncio.ALL_COMPLETED ) for task in done: try: print(task.result()) except Exception as e: print(e) Очень похоже на gather, но работает не так. ▫️возвращает не результаты, а два сета с объектами Task у которых можно забрать результат через task.result() если они в списке done ▫️не гарантирует порядок результатов так как оба объекта это set ▫️не выбрасывает исключение когда оно появляется, а сохраняет его в Task. Исключение появится когда попробуете забрать резултьтат. 2. Ждем завершения первой задачи, даже если там ошибка. async def main(): tasks = [asyncio.create_task(do_it(i)) for i in range(3)] done, pending = await asyncio.wait( tasks, return_when=asyncio.FIRST_COMPLETED ) # в done может быть несколько задач! for task in done: try: print(task.result()) except Exception as e: print(f"Fail: {e}") # Оставшиеся задачи в pending, как правило, нужно отменить, иначе они будут продолжать работать for task in pending: task.cancel() В сете done будут таски которые успели завершится, причем как успешно так и нет. 3. До первой ошибки. Тоже самое, но с аргументом FIRST_EXCEPTION done, pending = await asyncio.wait( tasks, return_when=asyncio.FIRST_EXCEPTION ) Функция завершается как только первая задача упадет с ошибкой. Учтите, что в любом случае done вы можете обранужить несколько задач, как с ошибками так и успешные. ↗️ Полный листинг примеров здесь #async
Hashtags
Пребарај: #cricket
@Inspiringthoughts · Post #10574 · 26.02.2025 г., 13:35
800 People Work in Proper Sync... Amazing 👏👏👏👏👏 #Cricket
Hashtags
@TFGames · Post #1562 · 17.12.2023 г., 18:55
#SPIN#CRICKET#GAMES https://testflight.apple.com/join/evSNfx6v
@TFGames · Post #1343 · 06.12.2023 г., 19:23
#SPIN#CRICKET#GAMES https://testflight.apple.com/join/P56QewIg
@edgemarketai · Post #8128 · 24.04.2026 г., 07:54
🚨 NEW EDGE MARKET LIVE Will Chennai Super Kings win 3 matches before May 28, 2026? This is not guessing. This is signal. Trade the outcome Validate results Earn BETON for truth The crowd sees patterns before headlines do. Join now 👇 https://edgemarket.ai/bnb/cricket/will-chennai-super-kings-win-3-matches-before-may-28-2026/statistics/69e5fea2dcd75d8e462361b8 ⚡ Powered by AI + community validation ⚡ Built on dual token system ⚡ Real outcomes. Real rewards. #EdgeMarket#BETON#SIGNAL#Cricket#PredictionMarkets
@testflightynoti · Post #38089 · 12.05.2026 г., 18:35
#MyCric#Fantasy#Cricket Join the MyCric Fantasy Cricket beta on ✈️#TestFlight 🔗 Link: https://testflight.apple.com/join/ppUvC7mk Shared by Dimitri
@desi_memes_funny_jokes · Post #4689 · 02.06.2024 г., 07:34
#Babar ajam 😂🤣💯💯✅... #Pakistan#India#cricket
@edgemarketai · Post #8124 · 22.04.2026 г., 17:31
EdgeMarket 🏏 Event Live Will Kolkata Knight Riders win 3 matches before May 27, 2026? Enter the market https://edgemarket.ai/bnb/validate-results #EdgeMarket#Validation#AIOracle#Cricket#Web3
@vision11official · Post #1199 · 17.04.2023 г., 12:30
Sirf Meh kyu? Khelo sabke sath only on #Vision11! Kyuki Iski Jhalak, Sabse Alag… Download the App & make your team now. https://vision11.in/APK/vision11.apk #IskiJhalakSabseAlag#Vision11#Ipl#Cricket#Fantasy
@edgemarketai · Post #8143 · 29.04.2026 г., 09:42
RCB vs Gujarat Titans is live on EdgeMarket. You are not just watching the game You can take a position before it ends YES if RCB wins NO if Gujarat Titans win Stake. Earn. Truth. Enter the market 👇 https://edgemarket.ai/bnb/cricket/will-royal-challengers-bengaluru-defeat-gujarat-titans/statistics/69e89c14a9870bbf09e2450a #EdgeMarket#RCB#GujaratTitans#Cricket#PredictionMarkets
@testflightynoti · Post #38178 · 12.05.2026 г., 19:18
#crease#Your#Cricket#Circle Join the crease: Your Cricket Circle beta on ✈️#TestFlight 🔗 Link: https://testflight.apple.com/join/69Ssg9fJ Shared by Dimitri
@DESI_MEMES_Funny_Jokes · Post #6622 · 06.03.2025 г., 11:46
💔 . #memes#reelitfeelit#fyp#foreyoupage#davidmiller#cricket#viratkohli#trendingreels
@djangoproject · Post #447 · 18.09.2017 г., 10:35
https://pybee.org/news/buzz/2017-google-summer-of-code-final-report-dayanne-fernandes/ After almost 4 months of work on Google Summer of Code 2017, finally I'm completing my proposal. Every widget migration and every commit/PR/issue/discussion with my mentors about Cricket , Toga and rubicon-objc were detailed on the Issue 58. "Eating your own dog food" The best way to show that a product is reliable to the customers is use it. So, the way to show that #Toga is an effective tool to build a #GUI is to build a complete application using it. #Cricket is a graphical tool that helps you run your #test suites. Its current version is implemented using #Tkinter as the main GUI framework. So, why not test Toga inside of another product from #BeeWare? That's what I have acomplished during my GSoC work.