get_entities(metadata=True) returns all entity's unique values AND all meta-data unique values, computed on the fly.
This is used in the __repr__ function to determine which functions to respond to (i.e. get_RepetitionTime).
There are various possible optimizations here to prevent unnecessary computation, such as memoizing, and only computing meta-data if normal entities don't match.
get_entities(metadata=True)
returns all entity's unique values AND all meta-data unique values, computed on the fly.This is used in the
__repr__
function to determine which functions to respond to (i.e.get_RepetitionTime
).There are various possible optimizations here to prevent unnecessary computation, such as memoizing, and only computing meta-data if normal entities don't match.
Related #37
Depends on #30, so merging into that PR