@@ -30,11 +30,11 @@ def __init__(self, ws: WorkspaceClient, num_threads: int, workspace_start_path:
3030 ws = ws ,
3131 listings = [
3232 listing_wrapper (ws .clusters .list , "cluster_id" , RequestObjectType .CLUSTERS ),
33- listing_wrapper (ws .cluster_policies .list , "cluster_policy_id " , RequestObjectType .CLUSTER_POLICIES ),
33+ listing_wrapper (ws .cluster_policies .list , "policy_id " , RequestObjectType .CLUSTER_POLICIES ),
3434 listing_wrapper (ws .instance_pools .list , "instance_pool_id" , RequestObjectType .INSTANCE_POOLS ),
3535 listing_wrapper (ws .warehouses .list , "id" , RequestObjectType .SQL_WAREHOUSES ),
3636 listing_wrapper (ws .jobs .list , "job_id" , RequestObjectType .JOBS ),
37- listing_wrapper (ws .pipelines .list , "pipeline_id" , RequestObjectType .PIPELINES ),
37+ listing_wrapper (ws .pipelines .list_pipelines , "pipeline_id" , RequestObjectType .PIPELINES ),
3838 listing_wrapper (experiments_listing (ws ), "experiment_id" , RequestObjectType .EXPERIMENTS ),
3939 listing_wrapper (models_listing (ws ), "id" , RequestObjectType .REGISTERED_MODELS ),
4040 workspace_listing (ws , num_threads = num_threads , start_path = workspace_start_path ),
@@ -64,13 +64,13 @@ def supports(self) -> dict[str, BaseSupport]:
6464 "roles" : self ._scim_support ,
6565 # generic API
6666 "clusters" : self ._generic_support ,
67- "cluster_policies " : self ._generic_support ,
68- "instance_pools " : self ._generic_support ,
69- "sql_warehouses " : self ._generic_support ,
67+ "cluster-policies " : self ._generic_support ,
68+ "instance-pools " : self ._generic_support ,
69+ "sql/warehouses " : self ._generic_support ,
7070 "jobs" : self ._generic_support ,
7171 "pipelines" : self ._generic_support ,
7272 "experiments" : self ._generic_support ,
73- "registered_models " : self ._generic_support ,
73+ "registered-models " : self ._generic_support ,
7474 "tokens" : self ._generic_support ,
7575 "passwords" : self ._generic_support ,
7676 # workspace objects
0 commit comments