Skip to content
Snippets Groups Projects
Commit 74066e5f authored by Pierre Penninckx's avatar Pierre Penninckx
Browse files

[mod] sort get helpers' name list

parent 7de730dc
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -868,35 +868,35 @@ class Node(GenericNodesUtils):
def _get_helpers(self):
not_helpers = set([
'copy',
'decrease_indentation',
'dumps',
'edit',
'find',
'findAll',
'find_all',
'fst',
'help',
'next_generator',
'previous_generator',
'get_indentation_node',
'indentation_node_is_direct',
'parent_find',
'path',
'findAll',
'find_by_path',
'replace',
'edit',
'increase_indentation',
'decrease_indentation',
'has_render_key',
'get_absolute_bounding_box_of_attribute',
'find_by_position',
'parse_code_block',
'parse_decorators',
'from_fst',
'fst',
'generate_identifiers',
'get_absolute_bounding_box_of_attribute',
'get_indentation_node',
'has_render_key',
'help',
'increase_indentation',
'indentation_node_is_direct',
'index_on_parent',
'index_on_parent_raw',
'insert_before',
'insert_after',
'insert_before',
'next_generator',
'parent_find',
'parse_code_block',
'parse_decorators',
'path',
'previous_generator',
'replace',
'to_python',
'generate_identifiers',
])
return [x for x in dir(self) if
not x.startswith("_") and x not in not_helpers and inspect.ismethod(getattr(self, x))]
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment