File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -522,12 +522,18 @@ class BazExecutor(Executor):
522522 docs.append(TextDoc(text=f'baz was here and got {len(docs)} document'))
523523
524524
525+ class MergeExecutor(Executor):
526+ @requests
527+ async def merge(self, docs: DocList[TextDoc], **kwargs) -> DocList[TextDoc]:
528+ return docs
529+
530+
525531f = (
526532 Flow()
527533 .add(uses=FooExecutor, name='fooExecutor')
528534 .add(uses=BarExecutor, name='barExecutor', needs='fooExecutor')
529535 .add(uses=BazExecutor, name='bazExecutor', needs='fooExecutor')
530- .add(needs=['barExecutor', 'bazExecutor'])
536+ .add(uses=MergeExecutor, needs=['barExecutor', 'bazExecutor'])
531537)
532538` ` `
533539
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ sphinxcontrib-redirects==0.1.0
66sphinx-autodoc-typehints == 1.18.3
77sphinx_copybutton
88sphinx-notfound-page == 0.7.1
9- gitpython == 3.1.37
9+ gitpython == 3.1.41
1010sphinx-sitemap == 2.5.0
1111sphinxext-opengraph
1212furo
You can’t perform that action at this time.
0 commit comments