Page MenuHomePhabricator

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

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

Details

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

Rebase

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

Move to ExecutionTargetHandle

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

Move to LoaderEntrypoint

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

Only add if not already in sys.path

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

Move add to path before loading module