snowflake-ml-python 1.6.3__py3-none-any.whl → 1.6.4__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.
@@ -3,13 +3,10 @@ import json
3
3
  import textwrap
4
4
  from typing import Any, Dict, List, Optional, Tuple
5
5
 
6
- from packaging import version
7
-
8
6
  from snowflake import snowpark
9
7
  from snowflake.ml._internal.utils import (
10
8
  identifier,
11
9
  query_result_checker,
12
- snowflake_env,
13
10
  sql_identifier,
14
11
  )
15
12
  from snowflake.ml.model._client.sql import _base
@@ -120,21 +117,12 @@ class ServiceSQLClient(_base._BaseSQLClient):
120
117
  args_sql_list.append(input_arg_value)
121
118
  args_sql = ", ".join(args_sql_list)
122
119
 
123
- if snowflake_env.get_current_snowflake_version(
124
- self._session, statement_params=statement_params
125
- ) >= version.parse("8.39.0"):
126
- fully_qualified_service_name = self.fully_qualified_object_name(
127
- actual_database_name, actual_schema_name, service_name
128
- )
129
- fully_qualified_function_name = f"{fully_qualified_service_name}!{method_name.identifier()}"
130
-
131
- else:
132
- function_name = identifier.concat_names([service_name.identifier(), "_", method_name.identifier()])
133
- fully_qualified_function_name = identifier.get_schema_level_object_identifier(
134
- actual_database_name.identifier(),
135
- actual_schema_name.identifier(),
136
- function_name,
137
- )
120
+ function_name = identifier.concat_names([service_name.identifier(), "_", method_name.identifier()])
121
+ fully_qualified_function_name = identifier.get_schema_level_object_identifier(
122
+ actual_database_name.identifier(),
123
+ actual_schema_name.identifier(),
124
+ function_name,
125
+ )
138
126
 
139
127
  sql = textwrap.dedent(
140
128
  f"""{with_sql}
snowflake/ml/version.py CHANGED
@@ -1 +1 @@
1
- VERSION="1.6.3"
1
+ VERSION="1.6.4"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: snowflake-ml-python
3
- Version: 1.6.3
3
+ Version: 1.6.4
4
4
  Summary: The machine learning client library that is used for interacting with Snowflake to build machine learning solutions.
5
5
  Author-email: "Snowflake, Inc" <support@snowflake.com>
6
6
  License:
@@ -373,7 +373,13 @@ be compatibility issues. Server-side functionality that `snowflake-ml-python` de
373
373
 
374
374
  # Release History
375
375
 
376
- ## 1.6.3
376
+ ## 1.6.4
377
+
378
+ ### Bug Fixes
379
+
380
+ - Registry: Fix an issue that leads to incident when using `ModelVersion.run` with service.
381
+
382
+ ## 1.6.3 (2024-10-07)
377
383
 
378
384
  - Model Registry (PrPr) has been removed.
379
385
 
@@ -9,7 +9,7 @@ snowflake/cortex/_sse_client.py,sha256=_GGmxskEQPVJ2bE3LHySnPFl29CP4YGM4_xmR_Kk-
9
9
  snowflake/cortex/_summarize.py,sha256=bwpFBzBGmNQSoJqKs3IB5wASjAREnC5ZnViSuZK5IrU,1059
10
10
  snowflake/cortex/_translate.py,sha256=69YUps6mnhzVdubdU_H0IfUAlbBwF9OPemFEQ34P-ts,1404
11
11
  snowflake/cortex/_util.py,sha256=uZQNsG8uTrlsao0a3A_BtNJQw6xCGgWjXscgZf9beUs,2209
12
- snowflake/ml/version.py,sha256=WsVT69ZLsnasRlAmBGPzK1f5KkKKlu7FJpIne8-oxe8,16
12
+ snowflake/ml/version.py,sha256=obH6Xd50oAoU4kk_69wcDJMG2t6jhxuGwhdQDL7x_nM,16
13
13
  snowflake/ml/_internal/env.py,sha256=kCrJTRnqQ97VGUVI1cWUPD8HuBWeL5vOOtwUR0NB9Mg,161
14
14
  snowflake/ml/_internal/env_utils.py,sha256=J_jitp8jvDoC3a79EbMSDatFRYw-HiXaI9vR81bhtU8,28075
15
15
  snowflake/ml/_internal/file_utils.py,sha256=OyXHv-UcItiip1YgLnab6etonUQkYuyDtmplZA0CaoU,13622
@@ -108,7 +108,7 @@ snowflake/ml/model/_client/service/model_deployment_spec_schema.py,sha256=bAIdH_
108
108
  snowflake/ml/model/_client/sql/_base.py,sha256=Qrm8M92g3MHb-QnSLUlbd8iVKCRxLhG_zr5M2qmXwJ8,1473
109
109
  snowflake/ml/model/_client/sql/model.py,sha256=o36oPq4aU9TwahqY2uODYvICxmj1orLztijJ0yMbWnM,5852
110
110
  snowflake/ml/model/_client/sql/model_version.py,sha256=hNMlmwN5JQngKuaeUYV2Bli73RMnHmVH01ABX9NBHFk,20686
111
- snowflake/ml/model/_client/sql/service.py,sha256=O3EaSX-BT-RGzwr9EFpYzriD8h6xHjiEMy3lKxE2Jic,9850
111
+ snowflake/ml/model/_client/sql/service.py,sha256=puIGRkEtDTQ4J1ccUslMmWvfkbHv2omKho4OHKYVIjU,9339
112
112
  snowflake/ml/model/_client/sql/stage.py,sha256=hrCh9P9F4l5R0hLr2r-wLDIEc4XYHMFdX1wNRveMVt0,819
113
113
  snowflake/ml/model/_client/sql/tag.py,sha256=pwwrcyPtSnkUfDzL3M8kqM0KSx7CaTtgty3HDhVC9vg,4345
114
114
  snowflake/ml/model/_model_composer/model_composer.py,sha256=H-Bla85tdITjEaLtIFTeMgWAYs7LLZZiQTDSwlAFn-U,6588
@@ -393,8 +393,8 @@ snowflake/ml/registry/_manager/model_manager.py,sha256=hf0KR9qxzg0ZbFJ3BUgDn6NBT
393
393
  snowflake/ml/utils/connection_params.py,sha256=JRpQppuWRk6bhdLzVDhMfz3Y6yInobFNLHmIBaXD7po,8005
394
394
  snowflake/ml/utils/sparse.py,sha256=XqDQkw39Ml6YIknswdkvFIwUwBk_GBXAbP8IACfPENg,3817
395
395
  snowflake/ml/utils/sql_client.py,sha256=z4Rhi7pQz3s9cyu_Uzfr3deCnrkCdFh9IYIvicsuwdc,692
396
- snowflake_ml_python-1.6.3.dist-info/LICENSE.txt,sha256=PdEp56Av5m3_kl21iFkVTX_EbHJKFGEdmYeIO1pL_Yk,11365
397
- snowflake_ml_python-1.6.3.dist-info/METADATA,sha256=XifrW7buIAW06Xmg4KixGOPnaCnTcZ-FJS8Rnh6yQgo,61028
398
- snowflake_ml_python-1.6.3.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
399
- snowflake_ml_python-1.6.3.dist-info/top_level.txt,sha256=TY0gFSHKDdZy3THb0FGomyikWQasEGldIR1O0HGOHVw,10
400
- snowflake_ml_python-1.6.3.dist-info/RECORD,,
396
+ snowflake_ml_python-1.6.4.dist-info/LICENSE.txt,sha256=PdEp56Av5m3_kl21iFkVTX_EbHJKFGEdmYeIO1pL_Yk,11365
397
+ snowflake_ml_python-1.6.4.dist-info/METADATA,sha256=uGnnJiH_L7vuuFLi2cLQJILhEqxskjBju0NLn45ew-U,61159
398
+ snowflake_ml_python-1.6.4.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
399
+ snowflake_ml_python-1.6.4.dist-info/top_level.txt,sha256=TY0gFSHKDdZy3THb0FGomyikWQasEGldIR1O0HGOHVw,10
400
+ snowflake_ml_python-1.6.4.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.1.0)
2
+ Generator: setuptools (75.2.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5