Replies: 1 comment
-
Hey David! Would you mind posting the error message that you're hitting? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am very new to dagster and I am trying to figure out how you access the context file when running scheduled jobs.
What I would like to do is schedule a job every fixed time period and then query a db using the the execution time of the scheduler as one of the input. I had expected the scheduler to write to
context.op_config
the execution time, which would be used by the db function. However the scheduler does not appear to have access to all the parameters in thecontext
so the job fails.Here is a bare bones example which is similar to the example given in github at scheduler example
and the corresponding yaml
this function workswhen I running it as a single job
do_stuff_repo
however when I run it in dagit in scheduler, it fails since it does have full access the the context... only to the execution datetime
I would really appreciate any help on this.
Thanks
David
Beta Was this translation helpful? Give feedback.
All reactions