Skip to content

feat(items): add SnowflakeDatabase item type#85

Draft
Copilot wants to merge 1 commit intomainfrom
copilot/add-support-for-snowflake-database
Draft

feat(items): add SnowflakeDatabase item type#85
Copilot wants to merge 1 commit intomainfrom
copilot/add-support-for-snowflake-database

Conversation

Copy link

Copilot AI commented Mar 23, 2026

📥 Pull Request

✨ Description of new changes

Onboards SnowflakeDatabase as a basic item type (no definition support, no creation params, no OneLake folders, no jobs).

Source changes (src/fabric_cli/core/fab_types.py, fab_item.py):

  • SNOWFLAKE_DATABASE = "SnowflakeDatabase" enum member
  • format_mapping"snowflakeDatabases" (REST API URI segment)
  • uri_mapping"snowflakedatabases" (portal slug)
  • Added to standard multi-case match in get_payload()

Test changes (tests/test_commands/conftest.py):

  • Added to ALL_ITEM_TYPES, basic_item_parametrize, set_item_metadata_for_all_types_success_item_params
  • 14 VCR cassettes for cd, ls, exists, get, mkdir, rm, set test coverage

Docs & changelog:

  • .SnowflakeDatabase row in resource_types.md
  • Changelog entry in .changes/unreleased/

If definition/export/import/mv/cp or job support is needed, that can be layered on in a follow-up.

Co-authored-by: ayeshurun <98805507+ayeshurun@users.noreply.github.com>
Agent-Logs-Url: https://github.com/ayeshurun/fabric-cli/sessions/290ca02a-d9de-41e4-b0fa-ee3f5a55d316
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