Or am I doing something wrong? X does not run. Y runs. Thanks for comments..
x = yield from X() # Does not work
y = Y() # Works..
yield from y.init()
class X:
def __init__():
yield from some async code
class Y:
def __init__():
some sync code
def init():
yield from some async code
