Skip to content

Commit

Permalink
Update dependencies (#8)
Browse files Browse the repository at this point in the history
* update pydantic

* puck can also be int
  • Loading branch information
fhernandezvivanco authored Feb 13, 2025
1 parent be3fa08 commit a4de88d
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 6 deletions.
2 changes: 1 addition & 1 deletion mx_robot_library/schemas/common/sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ class Pin(BaseSample):
le=config.ASC_NUM_PINS,
ge=1,
)
puck: Annotated[Union[Puck, HotPuck], Field(union_mode="left_to_right")] = Field(
puck: Annotated[Union[Puck, HotPuck, int], Field(union_mode="left_to_right")] = Field(
title="Puck",
)
type: PinType = Field(
Expand Down
22 changes: 19 additions & 3 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "mx-robot-library"
version = "0.2.2"
version = "0.2.3"
description = "MX Robot Library"
license = "GPL-3.0-or-later"
authors = ["MX3 Team"]
Expand All @@ -13,7 +13,7 @@ priority = "primary"

[tool.poetry.dependencies]
python = ">=3.9,<3.13"
pydantic = ">=2.8.2,<2.9.0"
pydantic = ">=2.8.2,<3.0.0"
pydantic-settings = ">=2.4.0"
typing-extensions = ">=4.6.1"
cachetools = ">=5.3.3"
Expand Down

0 comments on commit a4de88d

Please sign in to comment.