@testflightynoti · Post #37667 · 07.05.2026 г., 06:24
#Temple#AI Join the Temple AI beta on ✈️#TestFlight 🔗 Link: https://testflight.apple.com/join/qZDDMhyK Shared by Dimitri
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
Пребарај: #temple
@testflightynoti · Post #37667 · 07.05.2026 г., 06:24
#Temple#AI Join the Temple AI beta on ✈️#TestFlight 🔗 Link: https://testflight.apple.com/join/qZDDMhyK Shared by Dimitri
Hashtags
@AloneSnowflake · Post #500 · 09.05.2025 г., 21:32
⊹ 𝐀pply 𝐓heme ˓ 🛕 ˒ ༄ 𝐉oin 𝐂hannel ˙˚• #Temple#Light#Gray#Red#Theme
@Wallpaper_INT · Post #47570 · 01.01.2026 г., 05:31
#PaperArt#Mountains#Temple#4K @Wallpaper_INT
Hashtags
@voir_yeux · Post #12632 · 23.04.2026 г., 15:33
🇹🇭 Le temple Wat Phra Dhammakaya en Thaïlande a accueilli une méditation collective à l’occasion de la Journée de la Terre. #thaïlande#méditation#temple
Hashtags
@TestFlightX · Post #34533 · 08.11.2024 г., 04:20
#TEMPLE#RUN#ADVENTURE https://testflight.apple.com/join/8c2K8z2s
Hashtags
@voir_yeux · Post #12350 · 31.03.2026 г., 13:23
🇮🇳 Au moins huit personnes sont mortes lors d'une bousculade dans l'enceinte du temple dans le district de Nalanda de l'État du Bihar, dans le nord-est de l'Inde, rapporte la police. #inde#temple#bousculade#victimes
Hashtags
@arch_shovel · Post #868 · 03.12.2022 г., 07:30
Melbourne-based architects Adam Newman and Kelvin Tsang have installed a small scale of The Parthenon clad in different hues of colors and murals within the Grollo Equiset Garden at Melbourne’s National Gallery of Victoria (NGV), Australia. The installation, called Temple of Boom, emerges as "an evocative reimagination of The Parthenon", a global architectural icon and an Ancient Greek temple located on the Acropolis, Athens. Newman and Tsang draw inspiration from the colourful and artistic embellishments that once covered the original building over two- thousand years ago. Based on these historical references, dynamic and eye-catching floral motifs and optical illusions, designed by contemporary artists Drez, Manda Lane and David Lee Pereira wrap the installation. Images 1-2-3-4 📸 seanfennessy Image 5 📸 NGV #design#temple#parthenon#installation#intervention#arch_shovel
@blackwallp · Post #68085 · 03.04.2026 г., 05:42
#природа#река#храм#утро#nature#river#temple#morning 🎥Videowallpaper |😀Emoji |🎼Ringtone