def legal_children(self): ''' Used to return the list of names of this SchemaElement's descriptor's children. ''' return collect_child_names(self.descriptor)
def __dir__(self): return collect_child_names(self._current_descriptor)