HomeElementl

Sensor invocation, remove evaluate_tick from API docs, change testing story

Description

Sensor invocation, remove evaluate_tick from API docs, change testing story

Summary:
This diff changes away from using evaluate_tick for testing sensors, and instead supports direct sensor invocation for sensors created via a decorator.

I left decorated_fn optional for backcompat with people who defined sensors using constructor. How do we want to support SensorDefinitions created from constructor? Should we default to evaluation_fn if decorated_fn is not provided?

Test Plan:
Unit tests + docs build

Screen Shot 2021-06-04 at 11.22.04 AM.png (597×872 px, 91 KB)

Screen Shot 2021-06-04 at 11.22.17 AM.png (915×910 px, 161 KB)

Reviewers: sandyryza, alangenfeld, prha

Reviewed By: alangenfeld

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