Don't use a getter, just access the class attribute directly. Normally getters are used to access private/protected attributes, but in Python there is no such thing. Another reason to use a getter is so that you can do some work before returning a value. In your case, you're not, but that might change in the future right, no worries. When that time comes just start using the property
decorator.
@property
def name(self):
return self._name
You will still access it like this, myObject.name
, same as accessing it directly.