From f9dace624dc69ba841e13fcb72d009cdd994f12d Mon Sep 17 00:00:00 2001 From: Ichinga Samuel Date: Thu, 23 Jan 2025 18:26:17 +0100 Subject: [PATCH] v4.0.9 --- check.py | 36 ------------------------------------ pyproject.toml | 2 +- 2 files changed, 1 insertion(+), 37 deletions(-) delete mode 100644 check.py diff --git a/check.py b/check.py deleted file mode 100644 index b9c5cec..0000000 --- a/check.py +++ /dev/null @@ -1,36 +0,0 @@ -import asyncio - - -async def rt(): - await asyncio.sleep(1) - print("Hello") - -async def rrt(): - while True: - await asyncio.sleep(15) - print("rtt") - - -async def stop(task, tm=10): - await asyncio.sleep(tm) - print("Stopping", task) - res = task.cancel() - print(res, task) - -def main(): - task1 = rt() - task2 = rrt() - # task3 = stop(task2) - tasks = [task1, task2, task3] - # task = asyncio.gather(*tasks, return_exceptions=True) - asyncio.run(asyncio.gather(*tasks, return_exceptions=True)) - # await asyncio.gather(task, stop(task, tm=3), return_exceptions=True) - -main = main() -# asyncio.run(main) - -# def main(a, b=6, **kwargs): - # print(a, b, kwargs) - - -# main(4, c=9, g=4, b=99) diff --git a/pyproject.toml b/pyproject.toml index 68ade5a..5edaa3b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "aiomql" -version = "4.0.8" +version = "4.0.9" readme = "README.md" requires-python = ">=3.11" classifiers = [