Page MenuHomePhabricator

Add repo yaml directory to python path in dagster-graphql cli
ClosedPublic

Authored by sashank on Aug 22 2019, 6:48 PM.

Details

Reviewers
nate
Group Reviewers
Restricted Project
Commits
R1:69ea4d6073d8: Add repo yaml directory to python path in dagster-graphql cli
Test Plan

Run dagster-graphql from a different directory targeting a repository.yaml

dagster-graphql -p startPipelineExecution -v ... -y "/Users/sashankthupukari/projects/dagster-playground/repository.yaml"

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 created this revision.Aug 22 2019, 6:48 PM
sashank edited the test plan for this revision. (Show Details)Aug 22 2019, 6:49 PM
sashank updated this revision to Diff 3949.Aug 22 2019, 8:25 PM
sashank edited the test plan for this revision. (Show Details)

Rebase

sashank updated this revision to Diff 3957.Aug 22 2019, 10:07 PM

Move to ExecutionTargetHandle

sashank updated this revision to Diff 3959.Aug 22 2019, 10:44 PM

Move to LoaderEntrypoint

sashank updated this revision to Diff 3960.Aug 22 2019, 10:49 PM

Only add if not already in sys.path

nate accepted this revision.Aug 22 2019, 10:55 PM
This revision is now accepted and ready to land.Aug 22 2019, 10:55 PM
sashank updated this revision to Diff 3961.Aug 22 2019, 11:13 PM

Move add to path before loading module