(self, ticket, search_key)
return self._get_sobject_dict(sobject)
Invokes the reactivate method of the sobject

        @params
        ticket - authentication ticket
        search_key - a unique identifier key representing an sobject

        @return
        sobject - a dictionary that represents values of the sobject in the
            form name/value pairs
Invokes the reactivate method of the sobject
Invokes the reactivate method of the sobject
def reactivate_sobject(self, ticket, search_key):
        '''Invokes the reactivate method of the sobject

        @params
        ticket - authentication ticket
        search_key - a unique identifier key representing an sobject

        @return
        sobject - a dictionary that represents values of the sobject in the
            form name/value pairs
        '''
        if isinstance(search_key, dict):
            search_key = search_key.get('__search_key__')

        sobject = SearchKey.get_by_search_key(search_key)
        if not sobject:
            raise ApiException("SObject [%s] does not exist" % search_key)

        # reactivate this sobject
        sobject.reactivate()

        return self._get_sobject_dict(sobject)
def reactivate_sobject ( self , ticket , search_key ) : if isinstance ( search_key , dict ) : search_key = search_key . get ( '__search_key__' ) sobject = SearchKey . get_by_search_key ( search_key ) if not sobject : raise ApiException ( "SObject [%s] does not exist" % search_key ) # reactivate this sobject sobject . reactivate ( ) return self . _get_sobject_dict ( sobject )