@ncdcgov · Post #4380 · 16.09.2024 г., 08:18
What is #diphtheria❓ Who is most at risk of getting infected❓ What are the signs and symptoms of #diphtheria infection❓ Watch & share 👇🏼 🔗https://youtu.be/6ZAgfCBDh0c?feature=shared
Hashtags
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
Пребарај: #diphtheria
@ncdcgov · Post #4380 · 16.09.2024 г., 08:18
What is #diphtheria❓ Who is most at risk of getting infected❓ What are the signs and symptoms of #diphtheria infection❓ Watch & share 👇🏼 🔗https://youtu.be/6ZAgfCBDh0c?feature=shared
Hashtags
@ncdcgov · Post #4260 · 19.04.2024 г., 09:23
Share Facts NOT Fear❗ 🔗Visit our website for accurate information on #diphtheria and to stay informed! ➡️Factsheet: https://ncdc.gov.ng/diseases/info/D ➡️Public health advisory: https://ncdc.gov.ng/news/435/diphtheria-public-health-advisory-amidst-outbreak-in-nigeria ➡️Healthcare workers advisory: https://ncdc.gov.ng/news/436/diphtheria-health-advisory-for-health-care-workers-amidst-outbreak-in-nigeria ➡️Situation reports: https://ncdc.gov.ng/diseases/sitreps/?cat=18&name=An%20Update%20of%20Diphtheria%20Outbreak%20in%20Nigeria
Hashtags
@ncdcgov · Post #4258 · 17.04.2024 г., 14:10
Q: How does #diphtheria spread? A: #Diphtheria spreads easily through: ➡️Direct contact with infected people ➡️Droplets from an infected person while coughing or sneezing ➡️Contact with contaminated objects/clothing For more FAQs, watch 👇🏼 & share: 🔗 https://youtu.be/6ZAgfCBDh0c
Hashtags
@ncdcgov · Post #4253 · 15.04.2024 г., 07:59
Individuals with symptoms suggestive of #diphtheria should report to a healthcare facility immediately for diagnosis and proper treatment. Ensure you take extra precautionary measures while visiting to prevent the risk of spread. Watch & share 👇🏼 🔗https://youtu.be/6ZAgfCBDh0c?feature=shared
Hashtags
@ncdcgov · Post #4237 · 30.03.2024 г., 09:26
Individuals with symptoms suggestive of #diphtheria should report to a healthcare facility immediately for diagnosis and proper treatment. Ensure you take extra precautionary measures while visiting to prevent the risk of spread. Watch & share 👇🏼 🔗https://youtu.be/6ZAgfCBDh0c?feature=shared
Hashtags
@ncdcgov · Post #4236 · 29.03.2024 г., 09:03
Q: How does #diphtheria spread? A: #Diphtheria spreads easily through: ➡️Direct contact with infected people ➡️Droplets from an infected person while coughing or sneezing ➡️Contact with contaminated objects/clothing For more FAQs, watch 👇🏼 & share: 🔗 https://youtu.be/6ZAgfCBDh0c
Hashtags
@ncdcgov · Post #4233 · 27.03.2024 г., 09:14
Q: Who is at risk of #diphtheria infection? A: ➡️Children & adults who are unvaccinated or partially vaccinated with the anti-diphtheria vaccine ➡️Individuals who live in crowded or dirty environments ➡️Healthcare workers For more FAQs, watch & share👇🏼 https://youtu.be/6ZAgfCBDh0c
Hashtags
@ncdcgov · Post #4230 · 23.03.2024 г., 08:51
What is #diphtheria❓ Who is most at risk of getting infected❓ What are the signs and symptoms of #diphtheria infection❓ Watch & share 👇🏼 🔗https://youtu.be/6ZAgfCBDh0c?feature=shared
Hashtags
@ncdcgov · Post #4137 · 22.12.2023 г., 08:13
Individuals with symptoms suggestive of #diphtheria should report to a healthcare facility immediately for diagnosis and proper treatment. Ensure you take extra precautionary measures while visiting to prevent the risk of spread. Watch & share 👇🏼 🔗https://youtu.be/6ZAgfCBDh0c?feature=shared
Hashtags
@ncdcgov · Post #4136 · 21.12.2023 г., 08:43
What is #diphtheria? Who is most at risk of getting infected? What are the signs and symptoms of #diphtheria infection? Watch & share 👇🏼 🔗https://youtu.be/6ZAgfCBDh0c?feature=shared
Hashtags
@ncdcgov · Post #4134 · 18.12.2023 г., 15:52
Q: How does #diphtheria spread? A: #Diphtheria spreads easily through: ➡️Direct contact with infected people ➡️Droplets from an infected person while coughing or sneezing ➡️Contact with contaminated objects/clothing For more FAQs, watch 👇🏼 & share: 🔗 https://youtu.be/6ZAgfCBDh0c
Hashtags
@ncdcgov · Post #4131 · 15.12.2023 г., 08:28
Q: Who is at risk of #diphtheria infection? A: ➡️Children & adults who are unvaccinated or partially vaccinated with the anti-diphtheria vaccine ➡️Individuals who live in crowded or dirty environments ➡️Healthcare workers For more FAQs, watch & share👇🏼 https://youtu.be/6ZAgfCBDh0c
Hashtags