palimpzest 0.7.19__py3-none-any.whl → 0.7.21__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.
@@ -164,7 +164,7 @@ class DataRecord:
164
164
  cardinality_idx: int | None = None,
165
165
  ) -> DataRecord:
166
166
  # project_cols must be None or contain at least one column
167
- assert project_cols is None or len(project_cols) > 1, "must have at least one column if using projection"
167
+ assert project_cols is None or len(project_cols) >= 1, "must have at least one column if using projection"
168
168
 
169
169
  # if project_cols is None, then the new schema is a union of the provided schema and parent_record.schema;
170
170
  # otherwise, it's a ProjectSchema
@@ -239,7 +239,7 @@ class OpFrontier:
239
239
  op_input_pairs = [
240
240
  (op, input)
241
241
  for op, source_idx in op_source_idx_pairs
242
- for input in self.source_idx_to_input[source_idx]
242
+ for input in self.source_idx_to_input.get(source_idx, [])
243
243
  ]
244
244
 
245
245
  return op_input_pairs
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: palimpzest
3
- Version: 0.7.19
3
+ Version: 0.7.21
4
4
  Summary: Palimpzest is a system which enables anyone to process AI-powered analytical queries simply by defining them in a declarative language
5
5
  Author-email: MIT DSG Semantic Management Lab <michjc@csail.mit.edu>
6
6
  Project-URL: homepage, https://palimpzest.org
@@ -10,7 +10,7 @@ palimpzest/core/elements/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZ
10
10
  palimpzest/core/elements/filters.py,sha256=fU2x0eWDwfP52_5fUmqJXTuhs4H0vvHtPZLdA3IIw8I,1642
11
11
  palimpzest/core/elements/groupbysig.py,sha256=1qHuR2-fcW-E4rxPSieYGSXZYwvFaPwf1ld9VPWvWjw,2233
12
12
  palimpzest/core/elements/index.py,sha256=adO67DgzHhA4lBME0-h4SjXfdz9UcNMSDGXTpUdKbgE,1929
13
- palimpzest/core/elements/records.py,sha256=7CDu2yMy83kcrWXerHHVSfSICDR83fiqrYZEB1V5LnM,15007
13
+ palimpzest/core/elements/records.py,sha256=IqCZ7tOcq59viNmwg9lHmqx8tF6SfzqSihs06QMOwH8,15008
14
14
  palimpzest/core/lib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
15
  palimpzest/core/lib/fields.py,sha256=czzN7v4AgRzMSqgCWOelTEOJz3r-RCvwRTxQ3B0xG0U,4099
16
16
  palimpzest/core/lib/schemas.py,sha256=_WMPR_YcAIeUNRne7gQLJHLqDNVz7LBxFXN3osu659Q,17105
@@ -30,7 +30,7 @@ palimpzest/query/execution/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJ
30
30
  palimpzest/query/execution/all_sample_execution_strategy.py,sha256=0-n_NxwC4eQ0d7qAfvNdV9grBFBIUgrpYGNefzl33No,10470
31
31
  palimpzest/query/execution/execution_strategy.py,sha256=G5q-obhzO_odfXslR-YAQJd6vMs3TJsrfXhdmN-y-EA,21857
32
32
  palimpzest/query/execution/execution_strategy_type.py,sha256=7zKpaB5j5cialRX15dx9nAUjtx8b8JjEHlSuPyeyd90,1076
33
- palimpzest/query/execution/mab_execution_strategy.py,sha256=9c1F5d8RKjmDCS6AN8wrkbQha8kvSR24XtUW3v80R08,34756
33
+ palimpzest/query/execution/mab_execution_strategy.py,sha256=42YMIERsQuBF1Fq7HOEA4URmgD254Eq0kjhEpPXRE4M,34764
34
34
  palimpzest/query/execution/parallel_execution_strategy.py,sha256=H47MpktsOYFDcnm1lINNUfgjJhf2WxLA1iROyGFBmEc,17381
35
35
  palimpzest/query/execution/random_sampling_execution_strategy.py,sha256=jWPd-sBsTbkwxXRlKgnR3FO6jEEqViaYUvBb0RJkP5g,11585
36
36
  palimpzest/query/execution/single_threaded_execution_strategy.py,sha256=-31gg7ha0D97g2zipzF72f7nrJFcDuiRKmo10_q5ykE,12389
@@ -88,8 +88,8 @@ palimpzest/utils/model_helpers.py,sha256=GEtWn0SIoTjEf94ZQZyP99zJ2sOEIYJYxhOCjaT
88
88
  palimpzest/utils/progress.py,sha256=RiV753fKV8dFCNan4_wvdN2S3gvTvyRPq4Ksz6nSV1U,18536
89
89
  palimpzest/utils/sandbox.py,sha256=Ge96gmzqeOGlNkMCG9A95_PB8wRQbvTFua136of8FcA,6465
90
90
  palimpzest/utils/udfs.py,sha256=LjHic54B1az-rKgNLur0wOpaz2ko_UodjLEJrazkxvY,1854
91
- palimpzest-0.7.19.dist-info/licenses/LICENSE,sha256=5GUlHy9lr-Py9kvV38FF1m3yy3NqM18fefuE9wkWumo,1079
92
- palimpzest-0.7.19.dist-info/METADATA,sha256=HHKbFRcxR6v21CfTmnLOOP19mbLnyOQu971UNEbBqLg,7120
93
- palimpzest-0.7.19.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
94
- palimpzest-0.7.19.dist-info/top_level.txt,sha256=raV06dJUgohefUn3ZyJS2uqp_Y76EOLA9Y2e_fxt8Ew,11
95
- palimpzest-0.7.19.dist-info/RECORD,,
91
+ palimpzest-0.7.21.dist-info/licenses/LICENSE,sha256=5GUlHy9lr-Py9kvV38FF1m3yy3NqM18fefuE9wkWumo,1079
92
+ palimpzest-0.7.21.dist-info/METADATA,sha256=ey9l5hMtVSzq2WtdXc_PFitD3IVxn1lYL2OVvVChimo,7120
93
+ palimpzest-0.7.21.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
94
+ palimpzest-0.7.21.dist-info/top_level.txt,sha256=raV06dJUgohefUn3ZyJS2uqp_Y76EOLA9Y2e_fxt8Ew,11
95
+ palimpzest-0.7.21.dist-info/RECORD,,