is there a way to use the graphQL client to launch...
# ask-community
a
is there a way to use the graphQL client to launch a partitioned run? I use it to start a partitioned job, but get this error
Cannot access partition_key for a non-partitioned run
. I am using the client as such, and
asset_1_job
is a partitioned job. It runs fine, but I guess when attempting to materialize the asset output there is nothing telling the job what partition_key to materialize -
Copy code
client.submit_job_execution(
    'asset_1_job',
    repository_location_name=DAGSTER_CODE_LOCATION,
    repository_name='__repository__',
    run_config={
        'ops': {
            'asset_1': { ... }
        }
    }
)
o
Hi @Aaron T! I've seen this sort of question before, so I surfaced it to this github discussion, and answered it there
a
awesome! thank you. super simple