Page MenuHomeElementl

Add decorated fxn properties to schedule and sensor
ClosedPublic

Authored by cdecarolis on Tue, Jun 1, 8:49 PM.

Details

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

Diff Detail

Repository
R1 dagster
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Tue, Jun 1, 9:09 PM
Harbormaster failed remote builds in B31489: Diff 38752!

this can be put under test by adding a doc block to @schedule / @sensor and ensuring the produced object still has it

This revision is now accepted and ready to land.Wed, Jun 2, 3:56 PM