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

Metastore Update documentation

Open antsok opened this issue 1 year ago • 0 comments

Description Example given in https://github.com/databricks/databricks-sdk-py/blame/main/examples/metastores/update_metastores.py produces "AccountMetastoresAPI.update() got an unexpected keyword argument " error

Reproduction _ = self._account_client.metastores.update(metastore_id=metastore_id, owner="someUPN")

Expected behavior https://databricks-sdk-py.readthedocs.io/en/latest/account/catalog/metastores.html docs to contain valid example that uses metastore_info:UpdateMetastore parameter type

Is it a regression? 0.24

Debug Logs AccountMetastoresAPI.update() got an unexpected keyword argument 'owner'

Other Information

  • OS: Windows
  • Version: 0.24.0

Additional context Add any other context about the problem here.

antsok avatar Apr 12 '24 07:04 antsok