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

[ISSUE] `catalog.ListConnectionsRequest` does not exist

Open themattmorris opened this issue 1 year ago • 0 comments

Description This page points to a change that was added in the recent release that w.connections.list now requires catalog.ListConnectionsRequest instance positional argument. The function signature does not suggest this, and catalog.ListConnectionsRequest type does not exist. This may be a documentation only bug, because I can still list connections with w.connections.list() only.

Reproduction

from databricks.sdk.service import catalog


catalog.ListConnectionsRequest()

Expected behavior The docs to align with the codebase.

Is it a regression? It still works without the positional argument as in earlier versions.

Debug Logs

from databricks.sdk.service import catalog
catalog.ListConnectionsRequest()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'databricks.sdk.service.catalog' has no attribute 'ListConnectionsRequest'. Did you mean: 'ListConnectionsResponse'?

Other Information

  • OS: rhel
  • Version: 0.28.0

themattmorris avatar May 23 '24 16:05 themattmorris