Skip to content

Commit 0c7c4b0

Browse files
committed
Use pydantic.config.with_config to avoid picking up migration version
1 parent 97db0ac commit 0c7c4b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chipflow_lib/platforms/_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ class IOModelOptions(TypedDict):
100100
init_oe: NotRequired[int | bool]
101101

102102

103-
@pydantic.with_config(ConfigDict(arbitrary_types_allowed=True)) # type: ignore[reportCallIssue]
103+
@pydantic.config.with_config(ConfigDict(arbitrary_types_allowed=True)) # type: ignore[reportCallIssue]
104104
class IOModel(IOModelOptions):
105105
"""
106106
Setting for IO Ports (see also base class `IOModelOptions`)

0 commit comments

Comments
 (0)