Skip to content

Commit

Permalink
✏️ Fix logging integer values (laminlabs#2056)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnyosun authored Oct 15, 2024
1 parent a0850e4 commit 8b3fe1c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ classifiers = [
dependencies = [
# Lamin PINNED packages
"lnschema_core==0.75.0",
"lamin_utils==0.13.6",
"lamin_utils==0.13.7",
"lamin_cli==0.19.0",
# PINNED in lamin-cli
"lamindb_setup",
Expand Down
5 changes: 5 additions & 0 deletions tests/core/test_can_validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,3 +115,8 @@ def test_set_abbr():
)

record.delete()


def test_validate_int():
result = ln.User.validate([1, 2], field=ln.User.id)
assert result.sum() == 1

0 comments on commit 8b3fe1c

Please sign in to comment.