https://dagster.io/ logo
Title
r

Robert Lawson

12/05/2022, 4:02 PM
I've set up my company's data pipelines in Dagster and we like it! I was wondering, though - is there some way to avoid using strings for references, etc? Or at least enabling some kind of strict mode that will fail if, say, you pass
non_argument_deps={"something_that_doesn't_exist"}
?
r

rex

12/05/2022, 4:03 PM
@sandy @owen
s

sandy

12/05/2022, 4:33 PM
Hey Robert - we don't have that yet, though we're tracking the idea here: https://github.com/dagster-io/dagster/issues/9514. Something you could do to make errors less likely:
non_argument_deps={something_that_does_exist.key}
r

Robert Lawson

12/05/2022, 4:36 PM
thanks! We've been wondering about using a shared
constants
etc. for that - your example is good but we'd need to rework the
working_directory
args in
workspace.yml
and the imports