HomeElementl

[sensors-2] sensor def

Description

[sensors-2] sensor def

Summary:
Sets up a sensor definition, inheriting from the abstract job type.

Currently all jobs are defined by:
pipeline_name
solid_selection
mode

At evaluation time, sensors return a should_execute boolean, a run_config dict, and a tags dict.

An alternative implementation has a sensor defined by a single job params function, which returns a list of JobParams (containing a run config dict and a tags dict). Will send out in a separate diff for comparison.

Test Plan: bk

Reviewers: schrockn, dgibson, sandyryza

Reviewed By: dgibson

Subscribers: sandyryza

Differential Revision: https://dagster.phacility.com/D5019

Details

Provenance
prhaAuthored on Oct 22 2020, 3:10 PM
Reviewer
dgibson
Differential Revision
D5019: [sensors-2] sensor def
Parents
R1:ac3a79e6da8e: [sensors-1] redefine schedules as jobs
Branches
Unknown
Tags
Unknown