snowpark-checkpoints-configuration 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.
@@ -13,4 +13,4 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
 
16
- __version__ = "0.2.0"
16
+ __version__ = "0.2.1"
@@ -16,7 +16,7 @@
16
16
  import re as regx
17
17
 
18
18
 
19
- CHECKPOINT_NAME_REGEX_PATTERN = r"[a-zA-Z_][a-zA-Z0-9_]+"
19
+ CHECKPOINT_NAME_REGEX_PATTERN = r"[a-zA-Z_][a-zA-Z0-9_$]+"
20
20
  TRANSLATION_TABLE = str.maketrans({" ": "_", "-": "_"})
21
21
 
22
22
 
@@ -39,7 +39,7 @@ def is_valid_checkpoint_name(checkpoint_name: str) -> bool:
39
39
 
40
40
  A valid checkpoint name must:
41
41
  - Start with a letter (a-z, A-Z) or an underscore (_)
42
- - Be followed by any combination of letters, digits (0-9) and underscores (_).
42
+ - Be followed by any combination of letters, digits (0-9), underscores (_), and dollar signs ($).
43
43
 
44
44
  Args:
45
45
  checkpoint_name (str): The checkpoint name to validate.
@@ -56,7 +56,7 @@ class Checkpoint(BaseModel):
56
56
  if not is_valid_checkpoint_name:
57
57
  error_msg = (
58
58
  f"Invalid checkpoint name: {name} in checkpoints.json file. "
59
- f"Checkpoint names must only contain alphanumeric characters and underscores."
59
+ f"Checkpoint names must only contain alphanumeric characters, underscores and dollar signs."
60
60
  )
61
61
  LOGGER.error(error_msg)
62
62
  raise Exception(error_msg)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: snowpark-checkpoints-configuration
3
- Version: 0.2.0
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,10 +1,10 @@
1
1
  snowflake/snowpark_checkpoints_configuration/__init__.py,sha256=xZ2oBwJeEso0laWYDaXQidGt_MdjgNsOZ1_0BcZcXvE,980
2
- snowflake/snowpark_checkpoints_configuration/__version__.py,sha256=ajnGza8ucK69-PA8wEbHmWZxDwd3bsTm74yMKiIWNHY,632
2
+ snowflake/snowpark_checkpoints_configuration/__version__.py,sha256=jEnm4p_P4FqdYsTq3hnGQnhLZ4KwL0_Ew8fDF8BRL98,632
3
3
  snowflake/snowpark_checkpoints_configuration/checkpoint_metadata.py,sha256=vr60OMFW5PUR5BSBSi1PqiTRoKi4D64qxSUP5z1Lz4o,2692
4
- snowflake/snowpark_checkpoints_configuration/checkpoint_name_utils.py,sha256=WExQaZ4oL4otDCtM8kyGbf0Gn_v1a-tzM5j1p0wVDVg,1767
4
+ snowflake/snowpark_checkpoints_configuration/checkpoint_name_utils.py,sha256=Xc4k3JU6A96-79VFRR8NrNAUPeO3V1DEAhngg-hLlU4,1787
5
5
  snowflake/snowpark_checkpoints_configuration/singleton.py,sha256=7AgIHQBXVRvPBBCkmBplzkdrrm-xVWf_N8svzA2vF8E,836
6
- snowflake/snowpark_checkpoints_configuration/model/checkpoints.py,sha256=O2x_iRQiw-UojjS770p9JX0JAy1mmBAA8WkzOaUaZ8U,4838
7
- snowpark_checkpoints_configuration-0.2.0.dist-info/METADATA,sha256=qswqNR19zQcrSLRh_uAOiBQ-X4cvjtMEYuvVSOFjCT4,2724
8
- snowpark_checkpoints_configuration-0.2.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
9
- snowpark_checkpoints_configuration-0.2.0.dist-info/licenses/LICENSE,sha256=DVQuDIgE45qn836wDaWnYhSdxoLXgpRRKH4RuTjpRZQ,10174
10
- snowpark_checkpoints_configuration-0.2.0.dist-info/RECORD,,
6
+ snowflake/snowpark_checkpoints_configuration/model/checkpoints.py,sha256=R1L9kA6rhZxftw6iq7p4FwswcrJvU8HRn0XOkv6bRJA,4852
7
+ snowpark_checkpoints_configuration-0.2.1.dist-info/METADATA,sha256=13FFoejcxLnf6xyX_NG7bpqVvWs3rMYNTcdhPqfRszQ,2724
8
+ snowpark_checkpoints_configuration-0.2.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
9
+ snowpark_checkpoints_configuration-0.2.1.dist-info/licenses/LICENSE,sha256=DVQuDIgE45qn836wDaWnYhSdxoLXgpRRKH4RuTjpRZQ,10174
10
+ snowpark_checkpoints_configuration-0.2.1.dist-info/RECORD,,