So I have a Figure class which has a dict of properties. These properties are defined by Rules which have a name, type, and an optional default value.
Rule types would either be Figure, str, bool, or int. So, a str rule foo applied to a Figure would then let you do Figure.properties["foo"] to get a str back.
So how do I type that property_type argument of the Rule.init method?
I was considering using an enum but I'd like to just use the types directly (unless this is not a good idea, what do you think I should do?)
Thanks

