PyOpenWorm.website module¶
-
class
PyOpenWorm.website.Website(title=None, **kwargs)[source]¶ Bases:
PyOpenWorm.document.BaseDocumentA representation of a website
-
defined_augment(self)[source]¶ This fuction must return False if
identifier_augment()would raise anIdentifierMissingException. Override it when defining a non-standard identifier for subclasses of DataObjects.
-
identifier_augment(self)[source]¶ Override this method to define an identifier in lieu of one explicity set.
One must also override
defined_augment()to return True whenever this method could return a valid identifier.IdentifierMissingExceptionshould be raised if an identifier cannot be generated by this method.Raises: - IdentifierMissingException
-
title¶ The official name for the website
-
url¶ A URL for the website
-