diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 0df4d76b9d..ae21cdb3b3 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -5,6 +5,9 @@ ## New additions * Added `snow app bundle` command that prepares a local folder in the project directory with artifacts to be uploaded to a stage as part of creating a Snowflake Native App. +* Added `snow notebook` commands: + * `snow notebook execute` enabling head-less execution of a notebook. + * `snow notebook create` proving an option to create a Snowflake Notebook from a file on stage. ## Fixes and improvements diff --git a/src/snowflake/cli/api/feature_flags.py b/src/snowflake/cli/api/feature_flags.py index d33a4f410f..fc525f66c6 100644 --- a/src/snowflake/cli/api/feature_flags.py +++ b/src/snowflake/cli/api/feature_flags.py @@ -34,4 +34,3 @@ class FeatureFlag(FeatureFlagMixin): ENABLE_STREAMLIT_EMBEDDED_STAGE = BooleanFlag( "ENABLE_STREAMLIT_EMBEDDED_STAGE", False ) - ENABLE_NOTEBOOKS = BooleanFlag("ENABLE_NOTEBOOKS", False) diff --git a/src/snowflake/cli/plugins/notebook/commands.py b/src/snowflake/cli/plugins/notebook/commands.py index f8647ef0d7..b11c4f877e 100644 --- a/src/snowflake/cli/plugins/notebook/commands.py +++ b/src/snowflake/cli/plugins/notebook/commands.py @@ -3,7 +3,6 @@ import typer from snowflake.cli.api.commands.flags import identifier_argument from snowflake.cli.api.commands.snow_typer import SnowTyper -from snowflake.cli.api.feature_flags import FeatureFlag from snowflake.cli.api.output.types import MessageResult from snowflake.cli.plugins.notebook.manager import NotebookManager from snowflake.cli.plugins.notebook.types import NotebookName, NotebookStagePath @@ -12,7 +11,6 @@ app = SnowTyper( name="notebook", help="Manages notebooks in Snowflake.", - hidden=FeatureFlag.ENABLE_NOTEBOOKS.is_disabled(), ) log = logging.getLogger(__name__) diff --git a/tests/__snapshots__/test_help_messages.ambr b/tests/__snapshots__/test_help_messages.ambr index 3d10310454..4ea4cf1ec9 100644 --- a/tests/__snapshots__/test_help_messages.ambr +++ b/tests/__snapshots__/test_help_messages.ambr @@ -25,6 +25,7 @@ │ connection Manages connections to Snowflake. │ │ cortex Provides access to Snowflake Cortex. │ │ git Manages git repositories in Snowflake. │ + │ notebook Manages notebooks in Snowflake. │ │ object Manages Snowflake objects like warehouses and stages │ │ snowpark Manages procedures and functions. │ │ spcs Manages Snowpark Container Services compute pools, services, │ @@ -7510,6 +7511,7 @@ │ connection Manages connections to Snowflake. │ │ cortex Provides access to Snowflake Cortex. │ │ git Manages git repositories in Snowflake. │ + │ notebook Manages notebooks in Snowflake. │ │ object Manages Snowflake objects like warehouses and stages │ │ snowpark Manages procedures and functions. │ │ spcs Manages Snowpark Container Services compute pools, services, │ diff --git a/tests_e2e/__snapshots__/test_installation.ambr b/tests_e2e/__snapshots__/test_installation.ambr index 64132e15e3..d6c34e9f9c 100644 --- a/tests_e2e/__snapshots__/test_installation.ambr +++ b/tests_e2e/__snapshots__/test_installation.ambr @@ -35,6 +35,7 @@ │ connection Manages connections to Snowflake. │ │ cortex Provides access to Snowflake Cortex. │ │ git Manages git repositories in Snowflake. │ + │ notebook Manages notebooks in Snowflake. │ │ object Manages Snowflake objects like warehouses and stages │ │ snowpark Manages procedures and functions. │ │ spcs Manages Snowpark Container Services compute pools, services, │