parameters: (self, node_name)
return_statement: return node
docstring: Get specified node from current replica group.
  
          Parameters:
             Name         Type     Info:
             node_name    str      The host name of the node.
          Return values:
             a replicanode object of query
          Exceptions:
             pysequoiadb.error.SDBBaseError
docstring_summary: Get specified node from current replica group.
docstring_tokens: Get specified node from current replica group .
function: def get_nodebyname(self, node_name):
          """Get specified node from current replica group.
  
          Parameters:
             Name         Type     Info:
             node_name    str      The host name of the node.
          Return values:
             a replicanode object of query
          Exceptions:
             pysequoiadb.error.SDBBaseError
          """
          if not isinstance(node_name, str_type):
              raise SDBTypeError("node_name must be an instance of str_type")
  
          node = replicanode(self._client)
          try:
              rc = sdb.gp_get_nodebyname(self._group, node._node, node_name)
              raise_if_error(rc, "Failed to get node")
          except SDBBaseError:
              del node
              raise
  
          return node
function_tokens: def get_nodebyname ( self , node_name ) : if not isinstance ( node_name , str_type ) : raise SDBTypeError ( "node_name must be an instance of str_type" ) node = replicanode ( self . _client ) try : rc = sdb . gp_get_nodebyname ( self . _group , node . _node , node_name ) raise_if_error ( rc , "Failed to get node" ) except SDBBaseError : del node raise return node