sparse-intern-71089
02/28/2019, 5:31 PMcold-piano-21918
02/28/2019, 5:33 PMawait ecs.get_cluster(cluster_name="<name>")
, but when I try to call the function, i get `coroutine 'get' was never awaited. Seems like a chicken and an egg if I have to await async functions but can't only await from within a function?white-balloon-205
cold-piano-21918
02/28/2019, 5:58 PMcold-piano-21918
02/28/2019, 5:59 PMasync def p():
return await ecs.get_cluster(cluster_name="testcluster")
cluster_details = p()
cold-piano-21918
02/28/2019, 5:59 PMRuntimeWarning: coroutine 'p' was never awaited