Skip to content

Commit

Permalink
Merge pull request #37 from yummyml/rust-v-embeddings
Browse files Browse the repository at this point in the history
fix backend
  • Loading branch information
qooba authored Jan 28, 2024
2 parents 189e5b3 + 5489eaf commit fcac1eb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -136,3 +136,4 @@ dmypy.json
yummy-rs/protos
yummy-rs/yummy-core/protos
Cargo.lock
.benchmark
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@

setup(
name=NAME,
version="0.0.10",
version="0.0.11",
author="Qooba",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
Expand Down
2 changes: 1 addition & 1 deletion yummy/backends/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ def read_schema(
elif backend_type in [BackendType.ray, BackendType.dask]:
return [(k,str(v)) for (k,v) in df.dtypes.to_dict().items()]
elif backend_type == BackendType.polars:
return [(k,v.__name__.lower()) for (k,v) in df.schema.items()]
return [(k,str(v).lower()) for (k,v) in df.schema.items()]


class YummyOfflineStoreConfig(BackendConfig):
Expand Down

0 comments on commit fcac1eb

Please sign in to comment.