from gi.repository import GObject

class A(GObject.Object):
    a = None

    @GObject.property
    def cool_thing(self):
        return self.a

    @cool_thing.setter
    def _set_cool_thing(self, val):
        self.a = val

A()
