add to_tuple() to return a (cid, iid) pair

This commit is contained in:
Michael Becker 2023-11-25 22:23:59 -05:00
parent 7a78476515
commit 545d38b93d

View File

@ -24,3 +24,6 @@ class InstanceKey():
return str(self.get_class_index()) + '$' + str(self.get_instance_index())
def to_tuple(self):
return (self.__class_id, self.__inst_id)