File sensor agent#

class flytekit.sensor.FileSensor(*args, **kwargs)#
async poke(path)#

This method should be overridden by the user to implement the actual sensor logic. This method should return True if the sensor condition is met, else False.

Parameters:

path (str)

Return type:

bool