From 64e9cf3d3688002d3ef46245afca29b53632aced Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fevzi=20Ba=C4=9Fr=C4=B1a=C3=A7=C4=B1k?= <124450541+fevzibagriacik@users.noreply.github.com> Date: Fri, 3 Apr 2026 09:22:32 +0300 Subject: [PATCH] Add awaitme decorator for asynchronous functions --- Week05/awaitme_fevzi_bagriacik.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Week05/awaitme_fevzi_bagriacik.py diff --git a/Week05/awaitme_fevzi_bagriacik.py b/Week05/awaitme_fevzi_bagriacik.py new file mode 100644 index 00000000..4b0394a8 --- /dev/null +++ b/Week05/awaitme_fevzi_bagriacik.py @@ -0,0 +1,7 @@ +import asyncio + +def awaitme(func): + async def wrapper(*args, **kwargs): + result = func(*args, **kwargs) + return result + return wrapper