def addObserverAndInit(name, cb):
 vehicle.add_attribute_listener(name, cb)

def addObserverAndInit ( name , cb ) : vehicle . add_attribute_listener ( name , cb )
we go ahead and call our observer once at startup to get an initial value .