visions.types.type.VisionsBaseType¶
-
class
visions.types.type.
VisionsBaseType
[source]¶ Abstract implementation of a vision type.
Provides a common API for building custom visions data types.
Methods
__init__
()Initialize self.
contains_op
(sequence, state)- rtype
bool
get_relations
()- rtype
Sequence
[TypeRelation
]
register_relationship
(relation, dispatch_type)register_transformer
(relation, dispatch_type)