HomePhabricator

Add environment_dict_fn argument to ScheduleDefinition

Authored by sashank on Oct 16 2019, 12:04 AM.

Description

Add environment_dict_fn argument to ScheduleDefinition

Summary:
This diff adds a environment_dict_fn parameter to ScheduleDefinition. This can be used instead of the environment_dict parameter, and should be set to a function that returns an environment_dict.

This will help create date partitioned schedules that are based on config.

Test Plan: unit

Reviewers: #ft, schrockn

Reviewed By: #ft, schrockn

Subscribers: schrockn

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

Details

Committed
sashankNov 11 2019, 6:29 PM
Reviewer
Restricted Project
Differential Revision
D1307: Add environment_dict_fn argument to ScheduleDefinition
Parents
R1:645baa373766: Add basic test docs
Branches
Unknown
Tags
Unknown