Skip to content

Commit 4c77747

Browse files
committed
update base model
1 parent d233eb1 commit 4c77747

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/merge/core/pydantic_utilities.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def encode_by_type(o: typing.Any) -> typing.Any:
138138

139139
def update_forward_refs(model: typing.Type["Model"], **localns: typing.Any) -> None:
140140
if IS_PYDANTIC_V2:
141-
model.model_rebuild(force=True) # type: ignore # Pydantic v2
141+
model.model_rebuild(force=True, raise_errors=False) # type: ignore # Pydantic v2
142142
else:
143143
model.update_forward_refs(**localns)
144144

0 commit comments

Comments
 (0)