owmeta.website module

class owmeta.website.Website(*args, no_type_decl=False, **kwargs)[source]

Bases: BaseDocument

A representation of a website

defined_augment()[source]

This fuction must return False if identifier_augment() would raise an IdentifierMissingException. 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. IdentifierMissingException should be raised if an identifier cannot be generated by this method.

Raises
IdentifierMissingException
class_context = owmeta_core.context.ClassContext(ident="http://schema.openworm.org/2020/07/sci")
property title

The official name for the website

property url

A URL for the website