PyOpenWorm.website module¶
-
class
PyOpenWorm.website.Website(url=None, title=None, **kwargs)[source]¶ Bases:
PyOpenWorm.document.BaseDocumentA representation of website
Attributes: - url : DatatypeProperty
A URL for the website
- title : DatatypeProperty
The official name for the website
-
defined_augment()[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()[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