(self,sobject,search=None)
convenience function to set only one sobject
convenience function to set only one sobject
convenience function to set only one sobject
def set_sobject(self,sobject,search=None):
        '''convenience function to set only one sobject'''
        if sobject:
            self.set_sobjects([sobject],search)
def set_sobject ( self , sobject , search = None ) : if sobject : self . set_sobjects ( [ sobject ] , search )