@anatomyarthub · Post #5116 · 15.05.2025 г., 04:25
#лицо#face @anatomyarthub
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
Пребарај: #face
@anatomyarthub · Post #5116 · 15.05.2025 г., 04:25
#лицо#face @anatomyarthub
@libreware · Post #1048 · 22.02.2022 г., 03:21
Random Face Generator A Cross-Platform app to Generate Faces of (non-existing) People Random Face Generator is a flutter app to generate random faces. The Generated faces do not actually exist in real life.This app uses the thispersondoesnotexist and the fakeface API. Each image has been pre-analyzed by an AI algorithm called pypy-agender to identify the gender and age. Download - https://github.com/adityar224/Random-Face-Generator/releases https://github.com/adityar224/Random-Face-Generator #Face#Generator#AI @foss_Android
Hashtags
@AloneSnowflake · Post #192 · 15.11.2023 г., 00:50
๛ᴀᴘᴘʟʏ ᴛʜᴇᴍᴇ🤍 ๛ᴀᴘᴘʟʏ ᴛʜᴇᴍᴇ ᴛɢx ๛sᴇᴛ ᴡᴀʟʟᴘᴀᴘᴇʀ ๛ᴊᴏɪɴ ᴄʜᴀɴɴᴇʟ🩶 #Girl#Gray#Face#Aesthetic
Hashtags
@googlefactss · Post #40579 · 23.01.2026 г., 23:05
The glabella is the smooth area of skin between your eyebrows and above your nose. It helps show facial expressions like frowning. 👁️🗨️🙂 @googlefactss #Glabella#Face#BodyFacts
Hashtags
@blackwallp · Post #68098 · 04.04.2026 г., 05:35
#девчата#лицо#girls#face 🎥Videowallpaper |😀Emoji |🎼Ringtone
@anatomyarthub · Post #5228 · 16.06.2025 г., 10:38
#референсы#лицо#references#face @anatomyarthub
Hashtags
@anatomyarthub · Post #2945 · 15.04.2024 г., 10:25
#лицо#референсы#face#references @anatomyarthub
Hashtags
@anatomyarthub · Post #2798 · 17.03.2024 г., 11:51
#референсы#лицо#references#face @anatomyarthub
Hashtags
@anatomyarthub · Post #2788 · 16.03.2024 г., 11:43
#референсы#лицо#references#face @anatomyarthub
Hashtags
@anatomyarthub · Post #2712 · 01.03.2024 г., 06:10
#референсы#references#лицо#face @anatomyarthub
Hashtags
@testflightynoti · Post #37945 · 09.05.2026 г., 19:52
#Aww#That#Face Join the Aww… That Face beta on ✈️#TestFlight 🔗 Link: https://testflight.apple.com/join/XXjasct4 Shared by Dimitri
Hashtags
@googlefactss · Post #40692 · 22.02.2026 г., 15:02
The nasion is the point where the frontal bone and the two nasal bones meet, located right between your eyes at the top of your nose bridge. It’s a key landmark in facial anatomy and measurements. 👃📏 [Source picture] @googlefactss #Nasion#Face#AnatomyFacts
Hashtags