Ben Collier
07/01/2021, 3:59 PMKevin Kho
Ben Collier
07/01/2021, 4:02 PMBen Collier
07/01/2021, 4:02 PMBen Collier
07/01/2021, 4:02 PMBen Collier
07/01/2021, 4:03 PMBen Collier
07/01/2021, 4:04 PMKevin Kho
pip install prefect[aws]
just installs boto3 as an extra (and maybe other stuff). Nothing special. Could you explain more on the .run()
on the returned Client? Are you returning the client from one task and passing it on to the next?Ben Collier
07/01/2021, 4:10 PMlambda_client = LambdaInvoke(function_name=f"name")
lambda_client.run(payload=json.dumps(
{
"ids": some_ids,
}))
Ben Collier
07/01/2021, 4:10 PMBen Collier
07/01/2021, 4:11 PMBen Collier
07/01/2021, 4:11 PMboto_kwargs=dict(endpoint_url=LAMBDA_ENDPOINT)
in the Invoke call.Ben Collier
07/01/2021, 4:18 PMKevin Kho
flow.run()
? Or do you also see this when you use local agent on your laptop and try it as a registered flow from Prefect Cloud/Server?Ben Collier
07/01/2021, 4:26 PMBen Collier
07/01/2021, 4:28 PMKevin Kho