chalkpy 2.93.0__py3-none-any.whl → 2.93.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.
- chalk/_version.py +1 -1
- chalk/features/_encoding/converter.py +2 -9
- {chalkpy-2.93.0.dist-info → chalkpy-2.93.1.dist-info}/METADATA +1 -1
- {chalkpy-2.93.0.dist-info → chalkpy-2.93.1.dist-info}/RECORD +7 -7
- {chalkpy-2.93.0.dist-info → chalkpy-2.93.1.dist-info}/WHEEL +0 -0
- {chalkpy-2.93.0.dist-info → chalkpy-2.93.1.dist-info}/entry_points.txt +0 -0
- {chalkpy-2.93.0.dist-info → chalkpy-2.93.1.dist-info}/top_level.txt +0 -0
chalk/_version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "2.93.
|
|
1
|
+
__version__ = "2.93.1"
|
|
@@ -50,7 +50,6 @@ from chalk.features._encoding.pyarrow import (
|
|
|
50
50
|
rich_to_pyarrow,
|
|
51
51
|
)
|
|
52
52
|
from chalk.features._encoding.rich import structure_primitive_to_rich, unstructure_rich_to_primitive
|
|
53
|
-
from chalk.features.feature_wrapper import UnresolvedFeature
|
|
54
53
|
from chalk.utils.collections import unwrap_annotated_if_needed, unwrap_optional_and_annotated_if_needed
|
|
55
54
|
from chalk.utils.df_utils import pa_array_to_pl_series
|
|
56
55
|
from chalk.utils.json import JSON, TJSON, is_pyarrow_json_type, pyarrow_json_type
|
|
@@ -1235,14 +1234,8 @@ class FeatureConverter(PrimitiveFeatureConverter[_TPrim], Generic[_TPrim, _TRich
|
|
|
1235
1234
|
# because it is also used for error handling inside of `from_rich_to_primitive`.
|
|
1236
1235
|
self._name = name
|
|
1237
1236
|
if rich_default != ...:
|
|
1238
|
-
#
|
|
1239
|
-
|
|
1240
|
-
# Treat these as missing defaults since they're not concrete values.
|
|
1241
|
-
if isinstance(rich_default, UnresolvedFeature):
|
|
1242
|
-
rich_default = ...
|
|
1243
|
-
else:
|
|
1244
|
-
# The missing value strategy doesn't really matter because rich_default is not missing
|
|
1245
|
-
primitive_default = self.from_rich_to_primitive(rich_default, missing_value_strategy="allow")
|
|
1237
|
+
# The missing value strategy doesn't really matter because rich_default is not missing
|
|
1238
|
+
primitive_default = self.from_rich_to_primitive(rich_default, missing_value_strategy="allow")
|
|
1246
1239
|
super().__init__(
|
|
1247
1240
|
name, is_nullable=is_nullable, pyarrow_dtype=pyarrow_dtype, primitive_default=primitive_default
|
|
1248
1241
|
)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
chalk/__init__.py,sha256=9YxwkAt3Im0OCMfpmnIB_4PKjZfBCcRmwATLXdHNRm4,2609
|
|
2
|
-
chalk/_version.py,sha256=
|
|
2
|
+
chalk/_version.py,sha256=BNgsV3ONLzrKmos0DodoihgJANpzDg22M8kT6FGsmKI,23
|
|
3
3
|
chalk/cli.py,sha256=ckqqfOI-A2mT23-rnZzDMmblYj-2x1VBX8ebHlIEn9A,5873
|
|
4
4
|
chalk/importer.py,sha256=hCEo7eqSfXZWklkFB2geeipGhiD0qNjPBpQJvOBW6N0,63083
|
|
5
5
|
chalk/prompts.py,sha256=2H9UomLAamdfRTNUdKs9i3VTpiossuyRhntqsAXUhhg,16117
|
|
@@ -610,7 +610,7 @@ chalk/features/_embedding/sentence_transformer.py,sha256=hNYuT9D-16C49lkhIVK_KXZ
|
|
|
610
610
|
chalk/features/_embedding/utils.py,sha256=gUYUJCt-9XLeioC3QYg42yc5f69ywAr_w_Q-xoF3o54,877
|
|
611
611
|
chalk/features/_embedding/vertexai.py,sha256=PUaMmd7qbK9vXrlce_8BQHg_OM9L982k6LuyM_PU-5w,5362
|
|
612
612
|
chalk/features/_encoding/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
613
|
-
chalk/features/_encoding/converter.py,sha256=
|
|
613
|
+
chalk/features/_encoding/converter.py,sha256=zqdbilY1kMXX5-izsQuAk-CpSBOjpWpKBKCyI4S5D-I,64967
|
|
614
614
|
chalk/features/_encoding/http.py,sha256=MVmkgv90O4sOnImc-FrRPVwYR2U7zOGduNkHO4umoe4,2227
|
|
615
615
|
chalk/features/_encoding/inputs.py,sha256=4K4kOCAl0MuobAC_lVJE70toQVrPt2ZlzrlwYALuLHE,10151
|
|
616
616
|
chalk/features/_encoding/json.py,sha256=lHSBWIjNKMDmt_AmiFtf4ZsW5QPIEC6r7NvDW0IdqPI,13804
|
|
@@ -764,8 +764,8 @@ chalk/utils/tracing.py,sha256=Glx8YrtjWy0zE5YbpgfgcsLDshAKnnYm9poiWNeCxXs,11075
|
|
|
764
764
|
chalk/utils/weak_set_by_identity.py,sha256=VmikA_laYwFeOphCwXJIuyOIkrdlQe0bSzaXq7onoQw,953
|
|
765
765
|
chalk/utils/pydanticutil/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
766
766
|
chalk/utils/pydanticutil/pydantic_compat.py,sha256=O575lLYJ5GvZC4HMzR9yATxf9XwjC6NrDUXbNwZidlE,3031
|
|
767
|
-
chalkpy-2.93.
|
|
768
|
-
chalkpy-2.93.
|
|
769
|
-
chalkpy-2.93.
|
|
770
|
-
chalkpy-2.93.
|
|
771
|
-
chalkpy-2.93.
|
|
767
|
+
chalkpy-2.93.1.dist-info/METADATA,sha256=OZsJTzDo_hzM6I4yI3SkJ3AO50Z3phOB332Y3Bkd8ZM,27494
|
|
768
|
+
chalkpy-2.93.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
769
|
+
chalkpy-2.93.1.dist-info/entry_points.txt,sha256=Vg23sd8icwq-morJrljVFr-kQnMbm95rZfZj5wsZGis,42
|
|
770
|
+
chalkpy-2.93.1.dist-info/top_level.txt,sha256=1Q6_19IGYfNxSw50W8tYKEJ2t5HKQ3W9Wiw4ia5yg2c,6
|
|
771
|
+
chalkpy-2.93.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|