Skip to content

Check async function ? #15

Open
Open
@touilleMan

Description

@touilleMan

It seems the module currently don't make difference between sync and async functions:

>>> import interface
>>> class IFoo(interface.Interface):
...   async def do_async(self):
...     pass
... 
>>> class BadFoo(interface.implements(IFoo)):
...   def do_async(self):
...     pass
... 
>>> # No error has been raised !

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions