snowpark-checkpoints-validators 0.2.0__py3-none-any.whl → 0.2.1__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/snowpark_checkpoints/__version__.py +1 -1
- snowflake/snowpark_checkpoints/utils/utils_checks.py +2 -2
- {snowpark_checkpoints_validators-0.2.0.dist-info → snowpark_checkpoints_validators-0.2.1.dist-info}/METADATA +1 -1
- {snowpark_checkpoints_validators-0.2.0.dist-info → snowpark_checkpoints_validators-0.2.1.dist-info}/RECORD +6 -6
- {snowpark_checkpoints_validators-0.2.0.dist-info → snowpark_checkpoints_validators-0.2.1.dist-info}/WHEEL +0 -0
- {snowpark_checkpoints_validators-0.2.0.dist-info → snowpark_checkpoints_validators-0.2.1.dist-info}/licenses/LICENSE +0 -0
@@ -72,11 +72,11 @@ def _replace_special_characters(checkpoint_name: str) -> str:
|
|
72
72
|
str: The checkpoint name with special characters replaced by underscores.
|
73
73
|
|
74
74
|
"""
|
75
|
-
regex = r"^[a-zA-Z_\s-][a-zA-Z0-
|
75
|
+
regex = r"^[a-zA-Z_\s-][a-zA-Z0-9$_\s-]*$"
|
76
76
|
if not bool(re.match(regex, checkpoint_name)):
|
77
77
|
raise ValueError(
|
78
78
|
f"Invalid checkpoint name: {checkpoint_name}",
|
79
|
-
"Checkpoint name must contain only alphanumeric characters, hyphens, and
|
79
|
+
"Checkpoint name must contain only alphanumeric characters, hyphens, underscores and dollar signs.",
|
80
80
|
)
|
81
81
|
return re.sub(r"[\s-]", "_", checkpoint_name)
|
82
82
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: snowpark-checkpoints-validators
|
3
|
-
Version: 0.2.
|
3
|
+
Version: 0.2.1
|
4
4
|
Summary: Migration tools for Snowpark
|
5
5
|
Project-URL: Bug Tracker, https://github.com/snowflakedb/snowpark-checkpoints/issues
|
6
6
|
Project-URL: Source code, https://github.com/snowflakedb/snowpark-checkpoints/
|
@@ -1,5 +1,5 @@
|
|
1
1
|
snowflake/snowpark_checkpoints/__init__.py,sha256=p7fzH3f8foD5nhNJHZ00JT3ODTXJGGkWTd3xRKx-8aQ,1435
|
2
|
-
snowflake/snowpark_checkpoints/__version__.py,sha256=
|
2
|
+
snowflake/snowpark_checkpoints/__version__.py,sha256=jEnm4p_P4FqdYsTq3hnGQnhLZ4KwL0_Ew8fDF8BRL98,632
|
3
3
|
snowflake/snowpark_checkpoints/checkpoint.py,sha256=i-iDRYbGvQHy9ipW7UxHVhJhQ9BXNSO-bsCcHyg3oLA,22056
|
4
4
|
snowflake/snowpark_checkpoints/errors.py,sha256=9KjzRf8bjDZTTNL4LeySJAwuucDOyz0Ka7EFBKWFpyg,1821
|
5
5
|
snowflake/snowpark_checkpoints/job_context.py,sha256=RMK0g0HrbDVrOAvai4PgsGvsAn_GIo9aFmh-tWlyieY,4183
|
@@ -15,8 +15,8 @@ snowflake/snowpark_checkpoints/utils/logging_utils.py,sha256=yyi6X5DqKeTg0HRhvsH
|
|
15
15
|
snowflake/snowpark_checkpoints/utils/pandera_check_manager.py,sha256=tQIozLO-2kM8WZ-gGKfRwmXBx1cDPaIZB0qIcArp8xA,16100
|
16
16
|
snowflake/snowpark_checkpoints/utils/supported_types.py,sha256=GrMX2tHdSFnK7LlPbZx20UufD6Br6TNVRkkBwIxdPy0,1433
|
17
17
|
snowflake/snowpark_checkpoints/utils/telemetry.py,sha256=_WOVo19BxcF6cpQDplID6BEOvgJfHTGK1JZI1-OI4uc,31370
|
18
|
-
snowflake/snowpark_checkpoints/utils/utils_checks.py,sha256=
|
19
|
-
snowpark_checkpoints_validators-0.2.
|
20
|
-
snowpark_checkpoints_validators-0.2.
|
21
|
-
snowpark_checkpoints_validators-0.2.
|
22
|
-
snowpark_checkpoints_validators-0.2.
|
18
|
+
snowflake/snowpark_checkpoints/utils/utils_checks.py,sha256=LFdEzVgirkymXD5LlzuE_lv43yAa3OMIXEnloRAXkGc,14204
|
19
|
+
snowpark_checkpoints_validators-0.2.1.dist-info/METADATA,sha256=nhKZaDnpjcwwsH4PTAxqtFCqJEZ_UY-p0J_S5863Tvs,11470
|
20
|
+
snowpark_checkpoints_validators-0.2.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
21
|
+
snowpark_checkpoints_validators-0.2.1.dist-info/licenses/LICENSE,sha256=pmjhbh6uVhV5MBXOlou_UZgFP7CYVQITkCCdvfcS5lY,11340
|
22
|
+
snowpark_checkpoints_validators-0.2.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|