File tree Expand file tree Collapse file tree 2 files changed +14
-14
lines changed Expand file tree Collapse file tree 2 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -1571,19 +1571,19 @@ def _register_relation_to_fetch(
1571
1571
item .alias = alias
1572
1572
return item
1573
1573
1574
- def unique_variables (self , * pathes : tuple [str , ...]) -> "AsyncNodeSet" :
1575
- """Generate unique variable names for the given pathes ."""
1576
- self ._unique_variables = pathes
1574
+ def unique_variables (self , * paths : tuple [str , ...]) -> "AsyncNodeSet" :
1575
+ """Generate unique variable names for the given paths ."""
1576
+ self ._unique_variables = paths
1577
1577
return self
1578
1578
1579
1579
def traverse (
1580
- self , * pathes : tuple [str , ...], ** aliased_pathes : dict
1580
+ self , * paths : tuple [str , ...], ** aliased_paths : dict
1581
1581
) -> "AsyncNodeSet" :
1582
- """Specify a set of pathes to traverse."""
1582
+ """Specify a set of paths to traverse."""
1583
1583
relations = []
1584
- for path in pathes :
1584
+ for path in paths :
1585
1585
relations .append (self ._register_relation_to_fetch (path ))
1586
- for alias , aliased_path in aliased_pathes .items ():
1586
+ for alias , aliased_path in aliased_paths .items ():
1587
1587
relations .append (
1588
1588
self ._register_relation_to_fetch (aliased_path , alias = alias )
1589
1589
)
Original file line number Diff line number Diff line change @@ -1567,17 +1567,17 @@ def _register_relation_to_fetch(
1567
1567
item .alias = alias
1568
1568
return item
1569
1569
1570
- def unique_variables (self , * pathes : tuple [str , ...]) -> "NodeSet" :
1571
- """Generate unique variable names for the given pathes ."""
1572
- self ._unique_variables = pathes
1570
+ def unique_variables (self , * paths : tuple [str , ...]) -> "NodeSet" :
1571
+ """Generate unique variable names for the given paths ."""
1572
+ self ._unique_variables = paths
1573
1573
return self
1574
1574
1575
- def traverse (self , * pathes : tuple [str , ...], ** aliased_pathes : dict ) -> "NodeSet" :
1576
- """Specify a set of pathes to traverse."""
1575
+ def traverse (self , * paths : tuple [str , ...], ** aliased_paths : dict ) -> "NodeSet" :
1576
+ """Specify a set of paths to traverse."""
1577
1577
relations = []
1578
- for path in pathes :
1578
+ for path in paths :
1579
1579
relations .append (self ._register_relation_to_fetch (path ))
1580
- for alias , aliased_path in aliased_pathes .items ():
1580
+ for alias , aliased_path in aliased_paths .items ():
1581
1581
relations .append (
1582
1582
self ._register_relation_to_fetch (aliased_path , alias = alias )
1583
1583
)
You can’t perform that action at this time.
0 commit comments