HomeElementl

Add decorated fxn properties to schedule and sensor

Description

Add decorated fxn properties to schedule and sensor

Summary: This is consistent with behavior for other top level decorators. Requires us to make ScheduleDefinition and SensorDefinition callable for mypy purposes.

Test Plan: mypy

Reviewers: alangenfeld, sandyryza

Reviewed By: alangenfeld

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

Details