Skip to content
Snippets Groups Projects
Commit 5ccfdb4c authored by KERDREUX Jerome's avatar KERDREUX Jerome
Browse files

Fix

parent 7f631254
No related branches found
No related tags found
1 merge request!1First try of type hints
from xaal.lib import core,helpers from xaal.lib import core,helpers
from xaal.lib import core from xaal.lib import aiohelpers
from xaal.aiolib.core import spawn
import asyncio import asyncio
import time import time
...@@ -16,7 +15,7 @@ def foo(arg0,arg1): ...@@ -16,7 +15,7 @@ def foo(arg0,arg1):
async def goo(arg0,arg1): async def goo(arg0,arg1):
print(f"{arg0} {arg1}") print(f"{arg0} {arg1}")
@spawn @aiohelpers.spawn
def bar(arg0,arg1): def bar(arg0,arg1):
print(f"{arg0} {arg1}") print(f"{arg0} {arg1}")
logger.warning('sleep') logger.warning('sleep')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment