I'd say using a classmethod is rather elegant as it lets you factor out the requests for awaitables which you'd most likely want to replace in testing.
On Sun, 31 Jan 2016 at 16:19 Imran Geriskovan <[email protected]> wrote: > Did you mean this? : > > aresult = await someafunc() # Good > aobject = await AClass() # Bad!! > bobject = await somefuncreturningBOjbect() # Good??? > > Interesting. What is the difference? > Is it python's duty to make Bad! style, > anti-patterns impossible? > > I think there is no relation between microblog, > sqlite, etc with the subject. >
