class documentation

class ObjType: (source)

View In Hierarchy

An ObjType is the description for a type of object that a domain can document. In the object_types attribute of Domain subclasses, object type names are mapped to instances of this class. Constructor arguments: - *lname*: localized name of the type (do not include domain name) - *roles*: all the roles that can refer to an object of this type - *attrs*: object attributes -- currently only "searchprio" is known, which defines the object's priority in the full-text search index, see :meth:`Domain.get_objects()`.

Method __init__ Undocumented
Class Variable known_attrs Undocumented
Instance Variable attrs Undocumented
Instance Variable lname Undocumented
Instance Variable roles Undocumented
def __init__(self, lname, *roles, **attrs): (source)

Undocumented

Parameters
lname:strUndocumented
*roles:AnyUndocumented
**attrs:AnyUndocumented
known_attrs: dict[str, int] = (source)

Undocumented

Undocumented

Undocumented

Undocumented