Never mind… I figured out why. My class definition was not inheriting the object class.
class State(object):
Now it’s working fine.[quote=“thosey, post:1, topic:12278”]
I am writing a python class and wish to use getters and setters.
[/quote]
If you define your getters and setters this way you should be fine.