Skip to content

Commit

Permalink
Fix minor bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
MatsMoll committed Jan 5, 2024
1 parent 25e84a1 commit abb4088
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion aligned/compiler/transformation_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,8 @@ def using_features(self) -> list[FeatureFactory]:
def compile(self) -> Transformation:
from aligned.schemas.transformation import ReplaceStrings

return ReplaceStrings(self.source_feature.name, self.values)
values = list(self.values.items())
return ReplaceStrings(self.source_feature.name, values)


@dataclass
Expand Down
1 change: 1 addition & 0 deletions aligned/schemas/feature.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
'uuid': pl.Utf8,
'array': pl.List(pl.Utf8),
'embedding': pl.List,
'json': pl.Utf8,
}


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 = "aligned"
version = "0.0.57"
version = "0.0.58"
description = "A data managment and lineage tool for ML applications."
authors = ["Mats E. Mollestad <mats@mollestad.no>"]
license = "Apache-2.0"
Expand Down

0 comments on commit abb4088

Please sign in to comment.