def populate_class_members(self, element_cls, prop_name):
        """
        Add the appropriate methods to *element_cls*.
        """
        super(OneAndOnlyOne, self).populate_class_members(
            element_cls, prop_name
        )
        self._add_getter()
def populate_class_members ( self , element_cls , prop_name ) : super ( OneAndOnlyOne , self ) . populate_class_members ( element_cls , prop_name ) self . _add_getter ( )
Add the appropriate methods to *element_cls*.