You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
348 B

  1. from abc import abstractproperty
  2. class BaseParser(object):
  3. @abstractproperty
  4. def metadata(self):
  5. """
  6. Instantiates a Metadata object.
  7. """
  8. raise NotImplementedError
  9. @abstractproperty
  10. def driver(self):
  11. """
  12. Instantiates a driver object.
  13. """
  14. raise NotImplementedError