File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -532,7 +532,7 @@ def register_factory(self, sessionmaker):
532532 Registers this TreesManager instance to respond on
533533 `after_flush_postexec` events on the given session or session factory.
534534 This method returns the original argument, so that it can be used by
535- wrapping an already exisiting instance:
535+ wrapping an already existing instance:
536536
537537 .. code-block:: python
538538 :linenos:
Original file line number Diff line number Diff line change @@ -285,7 +285,7 @@ def get_node_id(node):
285285 for node in nodes :
286286 result = cls ._node_to_dict (node , json , json_fields )
287287 parent_id = node .parent_id
288- if node .level != min_level : # for cildren
288+ if node .level != min_level : # for children
289289 # Find parent in the tree
290290 if parent_id not in nodes_of_level .keys ():
291291 continue
@@ -307,7 +307,7 @@ def _drilldown_query(self, nodes=None):
307307 return nodes .filter (self .is_ancestor_of (table , inclusive = True ))
308308
309309 def drilldown_tree (self , session = None , json = False , json_fields = None ):
310- """ This method generate a branch from a tree, begining with current
310+ """ This method generate a branch from a tree, beginning with current
311311 node.
312312
313313 For example:
You can’t perform that action at this time.
0 commit comments