The page you navigated to does not exist, so we brought you to the closest page to it.
flytekit.sensor.sensor_engine
flytekit.sensor.sensor_engine
Property
Type
Description
metadata_type
None
task_category
None
task category that the connector supports
Method
Description
create()
Return a resource meta that can be used to get the status of the task.
delete()
Delete the task.
get()
Return the status of the task, and return the outputs in some cases.
get_logs()
Return the metrics for the task.
get_metrics()
Return the metrics for the task.
def create (
task_template : flytekit . models . task . TaskTemplate ,
inputs : typing . Optional [ flytekit . models . literals . LiteralMap ],
kwarg ,
) -> flytekit . sensor . base_sensor . SensorMetadata
Return a resource meta that can be used to get the status of the task.
Parameter
Type
Description
task_template
flytekit.models.task.TaskTemplate
inputs
typing.Optional[flytekit.models.literals.LiteralMap]
kwarg
def delete (
resource_meta : flytekit . sensor . base_sensor . SensorMetadata ,
kwargs ,
)
Delete the task. This call should be idempotent. It should raise an error if fails to delete the task.
Parameter
Type
Description
resource_meta
flytekit.sensor.base_sensor.SensorMetadata
kwargs
**kwargs
def get (
resource_meta : flytekit . sensor . base_sensor . SensorMetadata ,
kwargs ,
) -> flytekit . extend . backend . base_connector . Resource
Return the status of the task, and return the outputs in some cases. For example, bigquery job
can’t write the structured dataset to the output location, so it returns the output literals to the propeller,
and the propeller will write the structured dataset to the blob store.
Parameter
Type
Description
resource_meta
flytekit.sensor.base_sensor.SensorMetadata
kwargs
**kwargs
def get_logs (
resource_meta : flytekit . extend . backend . base_connector . ResourceMeta ,
kwargs ,
) -> flyteidl . admin . agent_pb2 . GetTaskLogsResponse
Return the metrics for the task.
Parameter
Type
Description
resource_meta
flytekit.extend.backend.base_connector.ResourceMeta
kwargs
**kwargs
def get_metrics (
resource_meta : flytekit . extend . backend . base_connector . ResourceMeta ,
kwargs ,
) -> flyteidl . admin . agent_pb2 . GetTaskMetricsResponse
Return the metrics for the task.
Parameter
Type
Description
resource_meta
flytekit.extend.backend.base_connector.ResourceMeta
kwargs
**kwargs