Merge "Allow access by index"
This commit is contained in:
@@ -60,6 +60,9 @@ class Flow(flow.Flow):
|
||||
for child in self._children:
|
||||
yield child
|
||||
|
||||
def __getitem__(self, index):
|
||||
return self._children[index]
|
||||
|
||||
@property
|
||||
def provides(self):
|
||||
provides = set()
|
||||
|
||||
Reference in New Issue
Block a user