Skip to content

Commit

Permalink
Remove object stage command group (#1373)
Browse files Browse the repository at this point in the history
* Remove object stage command group

* Remove snapshots

---------

Co-authored-by: Patryk Czajka <patryk.czajka@snowflake.com>
  • Loading branch information
sfc-gh-turbaszek and sfc-gh-pczajka committed Jul 30, 2024
1 parent 7734260 commit 4116718
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 660 deletions.
1 change: 1 addition & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
# Unreleased version
## Backward incompatibility
* Dropped support for Python below 3.10 version.
* `snow object stage` commands are removed in favour of `snow stage`.

## Deprecations

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@
from snowflake.cli.plugins.nativeapp import plugin_spec as nativeapp_plugin_spec
from snowflake.cli.plugins.notebook import plugin_spec as notebook_plugin_spec
from snowflake.cli.plugins.object import plugin_spec as object_plugin_spec

# TODO 3.0: remove this import
from snowflake.cli.plugins.object_stage_deprecated import (
plugin_spec as object_stage_deprecated_plugin_spec,
)
from snowflake.cli.plugins.snowpark import plugin_spec as snowpark_plugin_spec
from snowflake.cli.plugins.spcs import plugin_spec as spcs_plugin_spec
from snowflake.cli.plugins.sql import plugin_spec as sql_plugin_spec
Expand All @@ -45,7 +40,6 @@ def get_builtin_plugin_name_to_plugin_spec():
"streamlit": streamlit_plugin_spec,
"git": git_plugin_spec,
"notebook": notebook_plugin_spec,
"object-stage-deprecated": object_stage_deprecated_plugin_spec,
"cortex": cortex_plugin_spec,
"init": init_plugin_spec,
"workspace": workspace_plugin_spec,
Expand Down
15 changes: 0 additions & 15 deletions src/snowflake/cli/plugins/object_stage_deprecated/__init__.py

This file was deleted.

122 changes: 0 additions & 122 deletions src/snowflake/cli/plugins/object_stage_deprecated/commands.py

This file was deleted.

32 changes: 0 additions & 32 deletions src/snowflake/cli/plugins/object_stage_deprecated/plugin_spec.py

This file was deleted.

Loading

0 comments on commit 4116718

Please sign in to comment.