File-Server
File-Server copied to clipboard
Use the abc package for abstract Python classes
Python allows for abstract classes that define methods which must be implemented (with tools located in the abc
package). This might be useful for the Packet
class.
Absolutely, thanks. This should also be used in HubProcessor
, file_server/web/endpoints/
, and file_server/file/snapshot.py
https://docs.python.org/3.6/library/abc.html