hello everyone, I am trying to run a dagster job u...
# ask-community
m
hello everyone, I am trying to run a dagster job using the python client, and that is well documented and it works but I need to set some tags with data located in the place i call the
run_job
function, I can't find documentation on how to set tags from there; is this how to do it?
Copy code
run_job(
        job="my_job",
        repo_location="main",
        repo="my_location",
        run_config={
            "inputs": {
                "input_a": something,
                "input_b": something_else,
            },
            "execution": {
                "config": {
                    "max_concurrent":
                         MAX_CONCURRENCY,
                }
            },
            "tags": {
                "detail_tag": something,
            },
        },
    )
thanks
helpwanted 1
o
hi @Max Schulkin! where is this run_job function defined? it's not a part of the dagster API. in general though, tags would not be part of the run config, and would instead be a separate argument at the same level as run_config -- this is how it works for the execute_job api, for example.
m
ah marvelous
my bad with the example, we had a wrapper function to using the graphql endpoint and I did not pay attention when pasting this here 🫠
o
no problem!