Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- imprort Liba
- class Bla:
- def foo():
- # эта дёргается либой
- pass
- async def bar():
- # эту надо вызывать
- pass
- async def main():
- bla = Bla()
- liba = Liba()
- liba.dosomeshit(callback=bla.foo)
- asyncio.run(main())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement