Page MenuHomePhabricator

Add examples of schedules
ClosedPublic

Authored by sashank on Tue, Sep 10, 8:37 PM.

Details

Summary

Added two examples of ScheduleDefinition in dagster/examples/experimental.

Test Plan
cd /dagster/examples/dagster_examples/experimental
dagster schedules list
dagster schedules start many_events_every_min
dagit -p 3333 # a new run will be added every minute

Diff Detail

Repository
R1 dagster
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

sashank updated this revision to Diff 4552.Tue, Sep 10, 8:37 PM
sashank created this revision.

up

schrockn accepted this revision.Tue, Sep 10, 8:38 PM
schrockn added a subscriber: schrockn.

could you add a pandas_hello_world one too (and get all paths correct)

This revision is now accepted and ready to land.Tue, Sep 10, 8:38 PM
Harbormaster completed remote builds in B3652: Diff 4552.
sashank updated this revision to Diff 4555.Tue, Sep 10, 9:00 PM

Add pandas example

sashank updated this revision to Diff 4560.Tue, Sep 10, 9:24 PM

Use script_relative_path

schrockn requested changes to this revision.Tue, Sep 10, 9:28 PM

Actually we should be encouraging use of file_relative_path

This revision now requires changes to proceed.Tue, Sep 10, 9:28 PM

script_relative_path is hugely expensive (like 1 ms per call)

sashank updated this revision to Diff 4563.Tue, Sep 10, 9:31 PM

Use file_relative_path

schrockn accepted this revision.Tue, Sep 10, 9:32 PM

๐Ÿ™Œ๐Ÿป

This revision is now accepted and ready to land.Tue, Sep 10, 9:32 PM
This revision was automatically updated to reflect the committed changes.