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