parameters: (self, key)
docstring: Search for a parameter matching key on the parameter server
          @return: found key or None if search did not succeed
          @rtype: str
          @raise ROSException: if parameter server reports an error
docstring_summary: Search for a parameter matching key on the parameter server
docstring_tokens: Search for a parameter matching key on the parameter server
function: def search_param(self, key):
          """
          Search for a parameter matching key on the parameter server
          @return: found key or None if search did not succeed
          @rtype: str
          @raise ROSException: if parameter server reports an error
          """
          # #1810 searchParam has to use unresolved form of mappings
          mappings = rospy.names.get_mappings()
          if key in mappings:
              key = mappings[key]
          with self._lock:
              code, msg, val = self.target.searchParam(rospy.names.get_caller_id(), key)
          if code == 1:
              return val
          elif code == -1:
              return None
          else:
              raise rospy.exceptions.ROSException("cannot search for parameter: %s"%msg)
function_tokens: def search_param ( self , key ) : # #1810 searchParam has to use unresolved form of mappings mappings = rospy . names . get_mappings ( ) if key in mappings : key = mappings [ key ] with self . _lock : code , msg , val = self . target . searchParam ( rospy . names . get_caller_id ( ) , key ) if code == 1 : return val elif code == - 1 : return None else : raise rospy . exceptions . ROSException ( "cannot search for parameter: %s" % msg )