databricks-sdk-py icon indicating copy to clipboard operation
databricks-sdk-py copied to clipboard

[FEATURE] datbaricks.sdk.service.compute ListClustersFilterBy

Open shannonlowder opened this issue 10 months ago • 1 comments

Problem Statement Currently you can only filter clusters on clusters_sources, cluster_states, is_pinned, and policy_id. I would like to be able to use any attribute of a cluster in my filter. For example, what if I only want to see APC, or SQL Warehouse? What if I want to look for only those that have a timeout_inMinutes over 60 minutes? Right now, you can't create those through the python SDK.

Proposed Solution Instead of initializing the body as blank, allow us to pass through our own Json bodies, that way we can customize our code.

Additional Context I'd like to see similar functionality any time we are allowed to pass in a json body that gets passed along to the API.

Thanks!

shannonlowder avatar Feb 18 '25 18:02 shannonlowder

Being able to filter on custom tags would also be very helpful.

nchammas avatar Aug 07 '25 20:08 nchammas