python-interface icon indicating copy to clipboard operation
python-interface copied to clipboard

Minimal Pythonic Interface Definitions

Results 13 python-interface issues
Sort by recently updated
recently updated
newest added

It seems the module currently don't make difference between sync and async functions: ```python >>> import interface >>> class IFoo(interface.Interface): ... async def do_async(self): ... pass ... >>> class BadFoo(interface.implements(IFoo)):...

bug
question

According to [docs](https://python-interface.readthedocs.io/en/latest/usage.html#properties), > Interfaces can declare non-method attributes that should be provided by implementations using property... In the meanwhile it seems that the module does not make any difference...

When trying to import Interface module into a package, i'm getting following error `from interface import Interface Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module...