Skip to content

Conversation

@jacksandom
Copy link
Contributor

Summary

  • Relocates volume file operations from databricks_tools_core.file to databricks_tools_core.unity_catalog module
  • Volume files are a Unity Catalog concept and belong with other UC operations (catalogs, schemas, tables, volumes)
  • Updates MCP server imports to reference the new module location

Changes

  • Moved: volume_files.py from file/ to unity_catalog/
  • Updated: unity_catalog/__init__.py to export volume file functions
  • Updated: file/__init__.py to remove volume file exports (now workspace-only)
  • Updated: MCP server volume_files.py to import from unity_catalog instead of file

Affected Functions

The following functions are now available via databricks_tools_core.unity_catalog:

  • list_volume_files
  • upload_to_volume
  • download_from_volume
  • delete_volume_file
  • delete_volume_directory
  • create_volume_directory
  • get_volume_file_metadata

Copy link
Collaborator

@calreynolds calreynolds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Beautiful!

@calreynolds calreynolds merged commit dc54654 into databricks-solutions:main Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants