NowanIlfideme / pydantic-yaml

YAML support for Pydantic models
MIT License
136 stars 11 forks source link

signature mismatch for `__try_update_forward_refs__` #30

Closed novas0x2a closed 1 year ago

novas0x2a commented 1 year ago

This MR changed the signature for __try_update_forward_refs__ which unfortunately causes this signature to need to change, too: https://github.com/NowanIlfideme/pydantic-yaml/blob/4f698b6eb04d1cd722709cff241ab149d639c0a2/pydantic_yaml/mixin.py#L264 (it was retroactively marked a breaking change: https://github.com/pydantic/pydantic/blob/main/HISTORY.md#v191-2022-05-19)

NowanIlfideme commented 1 year ago

Fixed in v0.8.1, thanks for reporting!

novas0x2a commented 1 year ago

Cheers!