chalkpy 2.98.3__py3-none-any.whl → 2.98.5__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/client/client.py +2 -1
- chalk/client/client_impl.py +3 -1
- chalk/features/resolver.py +3 -2
- {chalkpy-2.98.3.dist-info → chalkpy-2.98.5.dist-info}/METADATA +1 -1
- {chalkpy-2.98.3.dist-info → chalkpy-2.98.5.dist-info}/RECORD +9 -9
- {chalkpy-2.98.3.dist-info → chalkpy-2.98.5.dist-info}/WHEEL +0 -0
- {chalkpy-2.98.3.dist-info → chalkpy-2.98.5.dist-info}/entry_points.txt +0 -0
- {chalkpy-2.98.3.dist-info → chalkpy-2.98.5.dist-info}/top_level.txt +0 -0
chalk/_version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "2.98.
|
|
1
|
+
__version__ = "2.98.5"
|
chalk/client/client.py
CHANGED
|
@@ -63,7 +63,7 @@ if TYPE_CHECKING:
|
|
|
63
63
|
from chalk.features._encoding.json import FeatureEncodingOptions
|
|
64
64
|
from chalk.features.resolver import Resolver
|
|
65
65
|
from chalk.features.tag import BranchId, DeploymentId, EnvironmentId
|
|
66
|
-
from chalk.ml import ModelEncoding, ModelRunCriterion, ModelType
|
|
66
|
+
from chalk.ml import ModelClass, ModelEncoding, ModelRunCriterion, ModelType
|
|
67
67
|
from chalk.parsed.branch_state import BranchGraphSummary
|
|
68
68
|
from chalk.prompts import Prompt
|
|
69
69
|
|
|
@@ -2271,6 +2271,7 @@ class ChalkClient:
|
|
|
2271
2271
|
self,
|
|
2272
2272
|
name: str,
|
|
2273
2273
|
model_type: Optional[ModelType] = None,
|
|
2274
|
+
model_class: Optional[ModelClass] = None,
|
|
2274
2275
|
model_encoding: Optional[ModelEncoding] = None,
|
|
2275
2276
|
aliases: Optional[List[str]] = None,
|
|
2276
2277
|
model: Optional[Any] = None,
|
chalk/client/client_impl.py
CHANGED
|
@@ -162,7 +162,7 @@ from chalk.features.pseudofeatures import CHALK_TS_FEATURE
|
|
|
162
162
|
from chalk.features.resolver import Resolver, StreamResolver
|
|
163
163
|
from chalk.features.tag import BranchId, DeploymentId, EnvironmentId
|
|
164
164
|
from chalk.importer import CHALK_IMPORT_FLAG
|
|
165
|
-
from chalk.ml import ModelEncoding, ModelRunCriterion, ModelType
|
|
165
|
+
from chalk.ml import ModelClass, ModelEncoding, ModelRunCriterion, ModelType
|
|
166
166
|
from chalk.ml.model_file_transfer import SourceConfig
|
|
167
167
|
from chalk.parsed._proto.utils import encode_proto_to_b64
|
|
168
168
|
from chalk.parsed.branch_state import BranchGraphSummary
|
|
@@ -5270,6 +5270,7 @@ https://docs.chalk.ai/cli/apply
|
|
|
5270
5270
|
self,
|
|
5271
5271
|
name: str,
|
|
5272
5272
|
model_type: Optional[ModelType] = None,
|
|
5273
|
+
model_class: Optional[ModelClass] = None,
|
|
5273
5274
|
model_encoding: Optional[ModelEncoding] = None,
|
|
5274
5275
|
aliases: Optional[List[str]] = None,
|
|
5275
5276
|
model: Optional[Any] = None,
|
|
@@ -5296,6 +5297,7 @@ https://docs.chalk.ai/cli/apply
|
|
|
5296
5297
|
name=name,
|
|
5297
5298
|
aliases=aliases,
|
|
5298
5299
|
model_type=model_type,
|
|
5300
|
+
model_class=model_class,
|
|
5299
5301
|
model_encoding=model_encoding,
|
|
5300
5302
|
model=model,
|
|
5301
5303
|
model_paths=model_paths,
|
chalk/features/resolver.py
CHANGED
|
@@ -4589,7 +4589,7 @@ def make_model_resolver(
|
|
|
4589
4589
|
name: str,
|
|
4590
4590
|
model: "ModelVersion",
|
|
4591
4591
|
input: Dict[Feature, str] | List[Feature],
|
|
4592
|
-
output: Feature | List[Feature] | Dict[Feature, str],
|
|
4592
|
+
output: Feature | List[Feature] | Dict[Feature, str] | Any,
|
|
4593
4593
|
feature_class: Optional[type[Features]] = None,
|
|
4594
4594
|
resource_group: Optional[str] = None,
|
|
4595
4595
|
resource_hint: Optional[ResourceHint] = None,
|
|
@@ -4608,7 +4608,7 @@ def make_model_resolver(
|
|
|
4608
4608
|
The name of the resolver
|
|
4609
4609
|
model
|
|
4610
4610
|
A ModelVersion reference to a deployed model
|
|
4611
|
-
|
|
4611
|
+
input
|
|
4612
4612
|
Either a dict mapping Feature objects to model input names (strings), or a list of
|
|
4613
4613
|
Feature objects. If a dict, the values represent the model's expected input names
|
|
4614
4614
|
(for future use). If a list, the features will be passed as a single DataFrame to
|
|
@@ -4746,6 +4746,7 @@ def make_model_resolver(
|
|
|
4746
4746
|
tags=None,
|
|
4747
4747
|
owner=None,
|
|
4748
4748
|
resource_hint=resource_hint or model.resource_hint,
|
|
4749
|
+
resource_group=resource_group or model.resource_group,
|
|
4749
4750
|
data_sources=None,
|
|
4750
4751
|
is_sql_file_resolver=False,
|
|
4751
4752
|
source_line=None,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
chalk/__init__.py,sha256=vKsx9-cl5kImlVWGHVRYO6bweBm79NAzGs3l36u71wM,2657
|
|
2
|
-
chalk/_version.py,sha256=
|
|
2
|
+
chalk/_version.py,sha256=tszjNZxNaUifHB5tE2pbEFfmv3R_0ZShqqHELZSpWIQ,23
|
|
3
3
|
chalk/cli.py,sha256=ckqqfOI-A2mT23-rnZzDMmblYj-2x1VBX8ebHlIEn9A,5873
|
|
4
4
|
chalk/importer.py,sha256=m4lMn1lSYj_euDq8CS7LYTBnek9JOcjGJf9-82dJHbA,64441
|
|
5
5
|
chalk/prompts.py,sha256=2H9UomLAamdfRTNUdKs9i3VTpiossuyRhntqsAXUhhg,16117
|
|
@@ -612,11 +612,11 @@ chalk/_validation/validation.py,sha256=9cCMfZa9-1wxkXLme_ylmD5vIA1qExJD6aqbYvbmK
|
|
|
612
612
|
chalk/byte_transmit/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
613
613
|
chalk/byte_transmit/model.py,sha256=LFX8pj9X_CWXeap7fDnMl9YmXsYTgq7jBAbEWkxoYoE,13048
|
|
614
614
|
chalk/client/__init__.py,sha256=wu3WQVzE5gRj6noQQDOdYJUgDaz_9QtbjXH4KuoIlXQ,1782
|
|
615
|
-
chalk/client/client.py,sha256=
|
|
615
|
+
chalk/client/client.py,sha256=VfaLfbWyk-VaImPLNrNeAP4FvuJwQ5yEtJrkLST_-H4,104808
|
|
616
616
|
chalk/client/client_async.py,sha256=YmuExumlDkenlGc8ROtmPjUE2m6nQUZisUDvJmwTRdk,51546
|
|
617
617
|
chalk/client/client_async_impl.py,sha256=ZphhgTB49JBWHCGXe-dI0wWWKc9zPcOczy02q_gFy50,6925
|
|
618
618
|
chalk/client/client_grpc.py,sha256=z1WeFWjmKKCU8dK7fdvWEOsCUlBi-v_2-HijC2_oIVs,108854
|
|
619
|
-
chalk/client/client_impl.py,sha256=
|
|
619
|
+
chalk/client/client_impl.py,sha256=L0qE7Gr5MTMv71lg7-HkoPS672eERGVsfu8FObM_ZyQ,213759
|
|
620
620
|
chalk/client/dataset.py,sha256=LneWwaAOHCjtj7gaJjsSeVNruj-QJ51hjRi62zrFNVE,77561
|
|
621
621
|
chalk/client/exc.py,sha256=kZJ80YbSeSRDmTLTh240j_eRdJFZBa7IaDsNSRoDroU,4145
|
|
622
622
|
chalk/client/models.py,sha256=TWiRHDMP_9NUqlCAGaw2RI2UlFI5ED1BCBM1rZRK72k,67482
|
|
@@ -660,7 +660,7 @@ chalk/features/live_updates.py,sha256=8ZbiDjcLqfFruSL15_aycwzSqJ0TbKNhas06KfZLyL
|
|
|
660
660
|
chalk/features/namespace_context.py,sha256=fL-nPohqtNiyPDS1uQTAaHLns4aivuBL2Flf50DajU4,1813
|
|
661
661
|
chalk/features/primary.py,sha256=BZ8mrMmKfRNy_wnKGDJt2cdnejP_CZb6xBsD9Ljgajc,5209
|
|
662
662
|
chalk/features/pseudofeatures.py,sha256=50Pe_Xi8ttYWtgNNRpgkhBxP8xoCZCYwyLb0aWUQ-PI,2147
|
|
663
|
-
chalk/features/resolver.py,sha256=
|
|
663
|
+
chalk/features/resolver.py,sha256=Et-cngxAjqbstJC5lBD3AhMwzXvUjQ6Tj8FnnW5bACU,193610
|
|
664
664
|
chalk/features/tag.py,sha256=LRmKRA8ANCOvmaIAk-L5j1QW2U0aah2SeASy8Uydkmk,2675
|
|
665
665
|
chalk/features/underscore.py,sha256=4xnfQV3bfvVn0PNEtkT4J-k7hW4ebtH9KBe4_BvGjY4,26763
|
|
666
666
|
chalk/features/underscore_features.py,sha256=PlVCoaDDffOgtiSMaxPSWCoj8IjscbkOzDLA471HsJ4,13005
|
|
@@ -827,8 +827,8 @@ chalk/utils/tracing.py,sha256=NiiM-9dbuJhSCv6R1npR1uYNKWlkqTR6Ygm0Voi2NrY,13078
|
|
|
827
827
|
chalk/utils/weak_set_by_identity.py,sha256=VmikA_laYwFeOphCwXJIuyOIkrdlQe0bSzaXq7onoQw,953
|
|
828
828
|
chalk/utils/pydanticutil/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
829
829
|
chalk/utils/pydanticutil/pydantic_compat.py,sha256=O575lLYJ5GvZC4HMzR9yATxf9XwjC6NrDUXbNwZidlE,3031
|
|
830
|
-
chalkpy-2.98.
|
|
831
|
-
chalkpy-2.98.
|
|
832
|
-
chalkpy-2.98.
|
|
833
|
-
chalkpy-2.98.
|
|
834
|
-
chalkpy-2.98.
|
|
830
|
+
chalkpy-2.98.5.dist-info/METADATA,sha256=JSI5DNc3rEb8L4zKLTTNPL2y6uloR3VWxgg5-R_QWiE,27754
|
|
831
|
+
chalkpy-2.98.5.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
832
|
+
chalkpy-2.98.5.dist-info/entry_points.txt,sha256=Vg23sd8icwq-morJrljVFr-kQnMbm95rZfZj5wsZGis,42
|
|
833
|
+
chalkpy-2.98.5.dist-info/top_level.txt,sha256=1Q6_19IGYfNxSw50W8tYKEJ2t5HKQ3W9Wiw4ia5yg2c,6
|
|
834
|
+
chalkpy-2.98.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|