Skip to content

Commit

Permalink
fix: composite key unzip
Browse files Browse the repository at this point in the history
Signed-off-by: Avik Basu <[email protected]>
  • Loading branch information
ab93 committed Nov 21, 2023
1 parent 9d1b999 commit b761c94
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion numalogic/udfs/postprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,10 @@ def exec(self, keys: list[str], datum: Datum) -> Messages:
# Forward payload if a training request is tagged
if payload.header == Header.TRAIN_REQUEST or payload.status == Status.ARTIFACT_STALE:
_conf = self.get_conf(payload.config_id)
ckeys = [_item[1] for _item in zip(_conf.composite_keys, payload.composite_keys)]
train_payload = TrainerPayload(
uuid=payload.uuid,
composite_keys=_conf.composite_keys,
composite_keys=ckeys,
metrics=payload.metrics,
config_id=payload.config_id,
)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "numalogic"
version = "0.6.1.dev1"
version = "0.6.1.dev2"
description = "Collection of operational Machine Learning models and tools."
authors = ["Numalogic Developers"]
packages = [{ include = "numalogic" }]
Expand Down

0 comments on commit b761c94

Please sign in to comment.