interfaces.py declares interfaces (i.e. classes) which are meant to be used in the server part of pyoai.
There are some issues
- All methods are missing the
self argument
- Interfaces in itself are not pythonic.
- There are mixins in
common.py which seem to serve the same idea.
While the interfaces are broken, they still have value as documentation and example for a server implementation.
My proposal is to move the comments from interfaces to the common mixins, maybe adding default implementations where its sensible and remove interfaces.py
interfaces.pydeclares interfaces (i.e. classes) which are meant to be used in the server part ofpyoai.There are some issues
selfargumentcommon.pywhich seem to serve the same idea.While the interfaces are broken, they still have value as documentation and example for a server implementation.
My proposal is to move the comments from
interfacesto thecommonmixins, maybe adding default implementations where its sensible and removeinterfaces.py