Chandrashekhar Kotekar
08/03/2023, 1:32 PMsensor
which is supposed to check if an object exists in an S3 bucket
or not. I am referring to this tutorial but I would like to know how to package this sensor + workflow together? Do we keep in a docker container? or register sensor in Flyte?Ketan (kumare3)
Chandrashekhar Kotekar
08/03/2023, 2:47 PMKetan (kumare3)
Chandrashekhar Kotekar
08/04/2023, 6:59 AMflytekit==1.8.1
. Did you meant to say that flytekit 1.9 will come with this s3/ file sensor?PythonTask
but in the video sensor inherits PythonTask
and AsyncAgentExecutorMixin
as well. This mix-in
has the execute()
method
• In the video apart from sensor, they have written an agent as well but in the document agent is not mentionedKevin Su
08/04/2023, 7:58 AMAsyncAgentExecutorMixin
can be run locally. In the execute
, we actually call agent create / get to run the task. if you don’t want to run on agent, you can override the execute
by yourself.Chandrashekhar Kotekar
08/04/2023, 8:01 AMKevin Su
08/04/2023, 8:01 AMChandrashekhar Kotekar
08/04/2023, 8:02 AMKevin Su
08/04/2023, 8:05 AMChandrashekhar Kotekar
08/04/2023, 8:05 AMKetan (kumare3)
Kevin Su
08/04/2023, 8:06 AMChandrashekhar Kotekar
08/04/2023, 8:07 AMKevin Su
08/04/2023, 8:07 AMChandrashekhar Kotekar
08/04/2023, 8:08 AMKevin Su
08/04/2023, 8:09 AMChandrashekhar Kotekar
08/04/2023, 8:10 AM