snowflake-cli 3.8.1__py3-none-any.whl → 3.8.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- snowflake/cli/__about__.py +1 -1
- snowflake/cli/_plugins/nativeapp/entities/application_package.py +12 -9
- {snowflake_cli-3.8.1.dist-info → snowflake_cli-3.8.2.dist-info}/METADATA +1 -1
- {snowflake_cli-3.8.1.dist-info → snowflake_cli-3.8.2.dist-info}/RECORD +7 -7
- {snowflake_cli-3.8.1.dist-info → snowflake_cli-3.8.2.dist-info}/WHEEL +0 -0
- {snowflake_cli-3.8.1.dist-info → snowflake_cli-3.8.2.dist-info}/entry_points.txt +0 -0
- {snowflake_cli-3.8.1.dist-info → snowflake_cli-3.8.2.dist-info}/licenses/LICENSE +0 -0
snowflake/cli/__about__.py
CHANGED
|
@@ -190,9 +190,9 @@ class ApplicationPackageEntityModel(EntityModelBaseWithArtifacts):
|
|
|
190
190
|
title="Entities that will be bundled and deployed as part of this application package",
|
|
191
191
|
default=[],
|
|
192
192
|
)
|
|
193
|
-
enable_release_channels: bool = Field(
|
|
193
|
+
enable_release_channels: Optional[bool] = Field(
|
|
194
194
|
title="Enable release channels for this application package",
|
|
195
|
-
default=
|
|
195
|
+
default=None,
|
|
196
196
|
)
|
|
197
197
|
|
|
198
198
|
@field_validator("children")
|
|
@@ -1559,13 +1559,16 @@ class ApplicationPackageEntity(EntityBase[ApplicationPackageEntityModel]):
|
|
|
1559
1559
|
If return value is None, it means do not explicitly set the flag.
|
|
1560
1560
|
"""
|
|
1561
1561
|
value_from_snowflake_yml = self.model.enable_release_channels
|
|
1562
|
-
feature_flag_from_config = FeatureFlag.ENABLE_RELEASE_CHANNELS.
|
|
1563
|
-
if
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1562
|
+
feature_flag_from_config = FeatureFlag.ENABLE_RELEASE_CHANNELS.get_value()
|
|
1563
|
+
if value_from_snowflake_yml is not None:
|
|
1564
|
+
enable_release_channels = value_from_snowflake_yml
|
|
1565
|
+
else:
|
|
1566
|
+
enable_release_channels = feature_flag_from_config
|
|
1567
|
+
if feature_flag_from_config is not None:
|
|
1568
|
+
self._workspace_ctx.console.warning(
|
|
1569
|
+
f"{FeatureFlag.ENABLE_RELEASE_CHANNELS.name} value in config.toml is deprecated."
|
|
1570
|
+
f" Set [enable_release_channels] for the application package in snowflake.yml instead."
|
|
1571
|
+
)
|
|
1569
1572
|
|
|
1570
1573
|
feature_enabled_in_account = (
|
|
1571
1574
|
get_snowflake_facade().get_ui_parameter(
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
snowflake/cli/__about__.py,sha256=
|
|
1
|
+
snowflake/cli/__about__.py,sha256=mhNhCoCLJcfBJgE3CHSDoO2i67GJGbXO4YXY7sq80wQ,852
|
|
2
2
|
snowflake/cli/__init__.py,sha256=uGA_QRGW3iGwaegpFsLgOhup0zBliBSXh9ou8J439uU,578
|
|
3
3
|
snowflake/cli/_app/__init__.py,sha256=CR_uTgoqHnU1XdyRhm5iQsS86yWXGVx5Ht7aGSDNFmc,765
|
|
4
4
|
snowflake/cli/_app/__main__.py,sha256=ZmcFdFqAtk2mFMz-cqCFdGd0iYzc7UsLH1oT1U40S0k,858
|
|
@@ -89,7 +89,7 @@ snowflake/cli/_plugins/nativeapp/codegen/snowpark/python_processor.py,sha256=Ltw
|
|
|
89
89
|
snowflake/cli/_plugins/nativeapp/codegen/templates/templates_processor.py,sha256=ycaMiMfJuyW8QntKlfXOrKOxfGsk4zngGbTFuwZDfVU,4704
|
|
90
90
|
snowflake/cli/_plugins/nativeapp/entities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
91
91
|
snowflake/cli/_plugins/nativeapp/entities/application.py,sha256=p5DrEKoO5ojvBSm0LB13ubFLMCM4MV1rbX5wZqbTO-s,40473
|
|
92
|
-
snowflake/cli/_plugins/nativeapp/entities/application_package.py,sha256=
|
|
92
|
+
snowflake/cli/_plugins/nativeapp/entities/application_package.py,sha256=slb1K5EJdQJPK_YJiUQX1JYnQYGw5XI6qZM10D1VzdQ,70510
|
|
93
93
|
snowflake/cli/_plugins/nativeapp/entities/application_package_child_interface.py,sha256=tN5UmU6wD_P14k7_MtOFNJwNUi6LfwFAUdnyZ4_O9hk,1527
|
|
94
94
|
snowflake/cli/_plugins/nativeapp/entities/models/event_sharing_telemetry.py,sha256=ASfuzBheevYrKzP8_mvbq1SR1gSaui1xlZVg4dD0hpg,2364
|
|
95
95
|
snowflake/cli/_plugins/nativeapp/release_channel/__init__.py,sha256=uGA_QRGW3iGwaegpFsLgOhup0zBliBSXh9ou8J439uU,578
|
|
@@ -285,8 +285,8 @@ snowflake/cli/api/utils/path_utils.py,sha256=OgR7cwbHXqP875RgPJGrAvDC1RRTU-2-Yss
|
|
|
285
285
|
snowflake/cli/api/utils/python_api_utils.py,sha256=wTNxXrma78wPvBz-Jo-ixNtP8ZjDCDh4TvciEnhYIAM,300
|
|
286
286
|
snowflake/cli/api/utils/templating_functions.py,sha256=zu2oK1BEC9yyWtDx17Hr-VAYHvCtagaOdxIrm70JQys,4955
|
|
287
287
|
snowflake/cli/api/utils/types.py,sha256=fVKuls8axKSsBzPqWwrkwkwoXXmedqxNJKqfXrrGyBM,1190
|
|
288
|
-
snowflake_cli-3.8.
|
|
289
|
-
snowflake_cli-3.8.
|
|
290
|
-
snowflake_cli-3.8.
|
|
291
|
-
snowflake_cli-3.8.
|
|
292
|
-
snowflake_cli-3.8.
|
|
288
|
+
snowflake_cli-3.8.2.dist-info/METADATA,sha256=Y67_Em62B6KSwPR5LO0NFjoAvvoHiV6GtCSj5xvNq_E,18316
|
|
289
|
+
snowflake_cli-3.8.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
290
|
+
snowflake_cli-3.8.2.dist-info/entry_points.txt,sha256=6QmSI0wUX6p7f-dGvrPdswlQyVAVGi1AtOUbE8X6bho,58
|
|
291
|
+
snowflake_cli-3.8.2.dist-info/licenses/LICENSE,sha256=mJMA3Uz2AbjU_kVggo1CAx01XhBsI7BSi2H7ggUg_-c,11344
|
|
292
|
+
snowflake_cli-3.8.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|