Closed AbhimanyuAryan closed 2 years ago
@stevengj @tkf is wrapping the function around py""" async def main(): .... """
only solution to get async
await
working? Or there's some other Julia solution?
Following this: https://github.com/JuliaPy/PyCall.jl/issues/599#issue-372185055
Quoting: "Some special syntaxes like async/await are not supported in PyCall"
@stevengj @tkf is wrapping the function around
py""" async def main(): .... """
only solution to getasync
await
working? Or there's some other Julia solution?Following this: https://github.com/JuliaPy/PyCall.jl/issues/599#issue-372185055
Quoting: "Some special syntaxes like async/await are not supported in PyCall"
Have you found an working example?
@JinraeKim I don't think there's one. Skimmed though entire code base
Following this issues says PyCall doesn't support
Tasks
Channels
. Given the python call. I'm not sure how to await a task and define a function as asyncPython code snippet that I am trying to convert
Julia code:
do we have some sort of @pyasync @pyawait macros defined? Or some other solution?