parameters: (self, ticket, search_key)
return_statement: return self._get_sobject_dict(sobject)
docstring: 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
docstring_summary: Invokes the reactivate method of the sobject
docstring_tokens: Invokes the reactivate method of the sobject
function: 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)
function_tokens: 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 )