couldn't find easily in the docs nor here in slack...
# ask-community
f
couldn't find easily in the docs nor here in slack. Can anyone explain me how to use
bucket_by
from
context.instance.get_runs
? I'm wondering if it achieves this behavior:
Copy code
context.instance.get_runs(
            filters=[
                RunsFilter(job_name=job_name, tags={"dagster/partition": item["name"]})
                for job_name in ["src_lidar_s0", "src_lidar_s1", "src_lidar_s2", "src_lidar_s3", "src_lidar_full"]
            ],
        )
🤖 1
p
Hi Fabio. This is actually some behavior that we’re deprecating… Just landed https://github.com/dagster-io/dagster/pull/14716 which removes the query support. There’ll be a follow-up PR that deprecates/removes the argument from the
get_runs
method
f
ok! Thanks for the tip 🙂 I had never noticed the argument haha I thought it was something new