Simon
05/20/2022, 9:50 PMname (Optional[str]) – Name of op. Must be unique within anybut if I have two Ops with the sameusing the op.GraphDefinition
name="abc"
argument in different Jobs but in the same Repository I get the following error:
.../.venv/lib/python3.7/site-packages/dagster/core/workspace/context.py:563: UserWarning: Error loading repository location repository.py:dagster.core.errors.DagsterInvalidDefinitionError: Conflicting definitions found in repository with name 'abc'. Op/Graph/Solid definition names must be unique within a repository. OpDefinition is defined in job 'test1' and in job 'test2'.
For reference Dagster versions, I can try with the new release at a later point if that makes a difference
$ pip freeze | grep dag
dagit==0.14.9
dagster==0.14.9
dagster-graphql==0.14.9
Liezl Puzon
05/22/2022, 7:58 PMGeorge Pearse
05/23/2022, 12:04 PMGeorge Pearse
05/24/2022, 2:57 PMSon Giang
05/25/2022, 4:07 AMSon Giang
05/27/2022, 3:32 AMafter_cursor
and before_cursor
in RunsFilter
like with EventRecordsFilter
?Binoy Shah
05/27/2022, 4:47 PMHendy Irawan
05/29/2022, 4:10 PMBASE_IMAGE
is not being explained.
cc @Shaun McAvinneySanidhya Singh
05/30/2022, 5:07 AMworkspace.yaml
Liezl Puzon
05/31/2022, 2:43 PMMark Fickett
06/01/2022, 1:13 PM--module-name
the CLI times out waiting for the update and the UI just says "Loading" for hours; I don't see an error from the agent. The code location docs say to use --package-name
and don't mention --module-name
. Would it make sense to remove the --module-name
option from the dagster-cloud
CLI entirely? It would be nice to either get an error message, or not have the option to do it the wrong way.Alec Ryan
06/02/2022, 12:08 PMMark Fickett
06/02/2022, 12:50 PMZach
06/02/2022, 11:17 PMCharlie Bini
06/03/2022, 8:31 PMCharlie Bini
06/03/2022, 9:16 PMBinoy Shah
06/06/2022, 6:12 PMKayvan Shah
06/07/2022, 7:09 AMStephen Bailey
06/07/2022, 1:04 PM@op(config_schema={"message": str})
def print_something(context):
print(context.op_config["message"]
default_config = {
"ops": {
"print_message": {
"config": {
"message": "foo"
}
}
}
}
@job(config=default_config)
def print_message_job():
print_message()
what i was expecting when i first started was something where op config was a sort of "primary" config, and everything else was secondary, something like:
@op(config_schema={"message": str})
def print_something(context):
print(context.op_config["message"]
default_config = {
"print_something.query": "select 1"
}
@job(op_config=default_config):
def print_message_job():
print_message()
Binoy Shah
06/07/2022, 1:33 PMdagster prune --keep-last-days 10
dagster prune --keep-last-jobs 50000
any thoughts on growth and maintenance of dagster?
I have read horror stories with scaling of Airflow jobs, wanted to hear more about veteran dagster users on the same.
Moderators, please let me know if this discussion topic is appropriate for this channel.Donny Winston
06/07/2022, 7:17 PMGeorge Pearse
06/08/2022, 12:13 PMGeorge Pearse
06/09/2022, 1:48 PMBinoy Shah
06/09/2022, 3:22 PMStephen Bailey
06/10/2022, 5:16 PM@whatnot_job
decorator that merges in default config into job definitions. Has anyone done this before? I am having some difficulty getting the args to pass correctly. What I want is something like this -- anyone
def whatnot_job(func, **kwargs):
# merge default tags with passed in tags
default_tags = {"foo": "bar"}
kwargs["tags"] = kwargs.get("tags", {}).update(default_tags)
# create a job by passing in updated kwargs to @job decorator
@job(**kwargs)
def my_job():
return func
return my_job
anyone have ideas on how to do this?
also, not sure if #dagster-feedback is the right place for these "best practices" type of questions?Simon
06/13/2022, 1:32 PMVinnie
06/13/2022, 2:42 PMrun_config
passed to the job when inspecting the schedule. Currently we’d have to go into one of the runs and check the tags and config, and if the schedule never ran, we don’t have a way to review the config (or I’m missing it). Is it something you’ve thought about in the past?Mark Fickett
06/14/2022, 4:49 PMJakub Zgrzebnicki
06/15/2022, 5:52 AMJordan Wolinsky
06/16/2022, 2:46 PMJordan Wolinsky
06/16/2022, 2:46 PMSanidhya Singh
06/16/2022, 2:47 PMJordan Wolinsky
06/16/2022, 2:48 PMsandy
06/16/2022, 3:02 PMJordan Wolinsky
06/16/2022, 3:03 PM