Skip to content

Commit 807ed30

Browse files
vitaglianogmdr223
andauthored
Added policy parametrization from kwargs (#301)
* Added policy parametrization from kwargs * Added policy parametrization from kwargs * bump version --------- Co-authored-by: Matthew Russo <mdrusso@mit.edu>
1 parent 6440138 commit 807ed30

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "palimpzest"
3-
version = "1.5.2"
3+
version = "1.5.3"
44
description = "Palimpzest is a system which enables anyone to process AI-powered analytical queries simply by defining them in a declarative language"
55
readme = "README.md"
66
requires-python = ">=3.12"

src/palimpzest/core/data/dataset.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -716,6 +716,7 @@ def optimize_and_run(self, config: QueryProcessorConfig | None = None, train_dat
716716
policy = construct_policy_from_kwargs(**kwargs)
717717
if policy is not None:
718718
kwargs["policy"] = policy
719+
config.policy = policy
719720

720721
# construct unique logical op ids for all operators in this dataset
721722
self._generate_unique_logical_op_ids()

0 commit comments

Comments
 (0)