Ben Gatewood
11/22/2022, 11:53 PMto_job()
. The graph has one op in it which is async and must be awaited therefore the graph function must be async as well obviously but this arrangement throws
dagster._core.errors.DagsterInvalidDefinitionError: @graph 'nba_trends_graph' returned problematic value of type <class 'coroutine'>. Expected return value from invoked solid or dict mapping output name to return values from invoked solids
sandy
11/23/2022, 3:03 AMBen Gatewood
11/23/2022, 3:15 AMBen Gatewood
11/23/2022, 3:16 AMasyncio.run()
but it’s all a bit jankyBen Gatewood
11/23/2022, 3:17 AM