For an example of detecting a file with the
FileSensor, see the file sensor example.
Run the file senseor example on a Flyte cluster#
To run the provided example on a Flyte cluster, use the following command:
pyflyte run --remote \
If you are using a managed deployment of Flyte, you will need to contact your deployment administrator to configure agents in your deployment.
To enable the sensor agent in your Flyte deployment, see the sensor agent deployment guide.