@Dogdata · Post #2394 · 14.08.2020 г., 11:08
DogData community🐾 Support us and vote for DogData🙏🐾 Please tag 👇 @FaceBook4Dog#ethbn#bone#dogdata https://twitter.com/gate_io/status/1293863802019119105?s=09 👆👆👆
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #402 · 22 дек.
Отдельно разберём TaskGroup, который пришел на замену gather в Python 3.11. Ключевые отличия ▫️create_task() возвращает объект asyncio.Task, у которого есть соответствюущие методы управления. То есть у нас больше контроля ▫️это контекстный менеджер, который гарантирует что все таски будут остановлены по выходу из контекста ▫️ошибка автоматически отменяет незавершенные задачи, ▫️except* передает нам ExceptionGroup, в котором каждую ошибку можно обработать отдельно import asyncio import random async def do_it() -> str: if random.random() < 0.1: raise ValueError('Oops') delay = random.uniform(0.5, 1.5) await asyncio.sleep(delay) return delay async def main(): try: async with asyncio.TaskGroup() as tg: for _ in range(10): tasks.append(tg.create_task(do_it())) for t in tasks: print(t.result()) except *ValueError as e: for err in e.exceptions: print(err) asyncio.run(main()) Рекомендую изучить страницу Coroutines and Tasks из документации, где представлено больше интересных примеров и механизмов - таймауты - отмена задач - создание задач из другого потока #async
Hashtags
Пребарај: #ethbn
@Dogdata · Post #2394 · 14.08.2020 г., 11:08
DogData community🐾 Support us and vote for DogData🙏🐾 Please tag 👇 @FaceBook4Dog#ethbn#bone#dogdata https://twitter.com/gate_io/status/1293863802019119105?s=09 👆👆👆
@Dogdata · Post #2392 · 13.08.2020 г., 19:17
DogData community🐾 Everyone should be interested in getting this. Let's show that we are big, let's show that our community is huge ❗️❗️ Support us and vote for DogData🙏🐾 Please tag 👇 @FaceBook4Dog#ethbn#bone#dogdata https://twitter.com/gate_io/status/1293863802019119105?s=09 👆👆👆
@Dogdata · Post #2434 · 19.08.2020 г., 05:32
This is the first of the articles on DogData👏👏 #ETHBN#dogdata#publish0x 👉https://www.publish0x.com/dogdata/mydogdata-xnlwvqz Please rate this article👍🐾
Hashtags
@Dogdata · Post #2658 · 18.10.2020 г., 10:28
🌹 Another Dog Cared for 😍😘 👉 Another BoneDrop 🦴= 💰👈 👉 Another Street Dog Feeding Good Job 👈👈👏👏👏 From DogData Https://MyDogData.com🐾 https://t.me/DogDataICO👈 👉 Feed a Street Dog Table food Today ‼️‼️‼️‼️ 👉 Post 20 seconds video 🎥 into DogData Global Group 👉 Mention DogData BoneDrop 👉🤩 Get Paid and Trade now Today 👉🤩 1000 ETHBN 🤩👈 #DogData#Dogs#Help#Care#Feeding#ETHBN#Reward
@Dogdata · Post #2490 · 08.09.2020 г., 22:30
🌹 Another Dog Cared for 😍😘 👉 Another BoneDrop 🦴= 💰👈 👉 Another Street Dog Feeding Good Job 👈👈👏👏👏 From DogData Https://MyDogData.com🐾 https://t.me/DogDataICO👈 👉 Feed a Street Dog Table food Today ‼️‼️‼️‼️ 👉 Post 20 seconds video 🎥 into DogData Global Group 👉 Mention DogData BoneDrop 👉🤩 Get Paid and Trade now Today 👉🤩 500 ETHBN 🤩👈 #DogData#Dogs#Help#Care#Feeding#ETHBN#Reward
@Dogdata · Post #2484 · 06.09.2020 г., 12:43
🌹 Another Dog Cared for 😍😘 👉 Another BoneDrop 🦴= 💰👈 👉 Another Street Dog Feeding Good Job 👈👈👏👏👏 From DogData Https://MyDogData.com🐾 https://t.me/DogDataICO👈 👉 Feed a Street Dog Table food Today ‼️‼️‼️‼️ 👉 Post 20 seconds video 🎥 into DogData Global Group 👉 Mention DogData BoneDrop 👉🤩 Get Paid and Trade now Today 👉🤩 500 ETHBN 🤩👈 #DogData#Dogs#Help#Care#Feeding#ETHBN#Reward
@dogdata · Post #3423 · 21.03.2021 г., 03:10
👉 Another DogData BoneDrop 🦴= 💰👈 + 😊🐾 🌹 Another Cared for Dog 😘 👉 Another Street Dog Feeding )😍🏆 Good Job 👈👈👏👏👏 Https://MyDogData.com BoneDrop video Reward 👈 👉 5000 ETHBN ($6 reward ) 👈 https://vm.tiktok.com/ZMeJHgCe3/ https://t.me/joinchat/RQW9brTcQ_czYzk8 #bonedrop#etherbone#dogdata#ethbn#feedstreetdogs#streetdogfeeding#streetdogs#lovedogs
@dogdata · Post #3253 · 11.02.2021 г., 11:16
👉 Another DogData BoneDrop 🦴= 💰👈 + 😊🐾 🌹 Another Cared for Dog 😘 👉 Another Street Dog Feeding )😍🏆 Good Job 👈👈👏👏👏 Https://MyDogData.com BoneDrop video Reward 👈 👉 5000 ETHBN ($6 reward ) 👈 https://vm.tiktok.com/ZMeJHgCe3/ #bonedrop#etherbone#dogdata#ethbn#feedstreetdogs#streetdogfeeding#streetdogs#lovedogs