def get_default_nodes(self):
    'Returns the default nodes'
    if ('node' in config):
        nodes = config['node']
    elif ('nodes' in config):
        nodes = config['nodes']
    elif (('default_nodes' in config) and bool(config['default_nodes'])):
        nodes = config['default_nodes']
    else:
        nodes = []
    if (isinstance(nodes, str) and (nodes[0] == '[') and (nodes[(- 1)] == ']')):
        nodes = ast.literal_eval(nodes)
    return nodes
Returns the default nodes
def get_default_nodes(self):
    
    if ('node' in config):
        nodes = config['node']
    elif ('nodes' in config):
        nodes = config['nodes']
    elif (('default_nodes' in config) and bool(config['default_nodes'])):
        nodes = config['default_nodes']
    else:
        nodes = []
    if (isinstance(nodes, str) and (nodes[0] == '[') and (nodes[(- 1)] == ']')):
        nodes = ast.literal_eval(nodes)
    return nodes