ksindi / implements

:snake: Pythonic interfaces using decorators
http://implements.readthedocs.io/
Apache License 2.0
33 stars 4 forks source link

Detect and verify async methods, generators and their combination #16

Closed pshirali closed 4 years ago

pshirali commented 4 years ago

Example for each:

class Foo:
    async def foo(self):
        pass

class Foo:
    def foo(self):
        yield 1

class Foo:
    async def foo(self):
        yield 1