@property<EOL><INDENT>def cardinality(self):<DEDENT>
data = clips.data.DataObject(self._env)<EOL>lib.EnvDeftemplateSlotCardinality(<EOL>self._env, self._tpl, self._name, data.byref)<EOL>return tuple(data.value) if isinstance(data.value, list) else ()<EOL>
A tuple containing the cardinality for this Slot.

        The Python equivalent
        of the CLIPS deftemplate-slot-cardinality function.