Closed DomThePorcupine closed 11 months ago
My apologies I was running make test
which disables the warnings :(
I was able to go through and address all the pydantic deprecations. I think it's much better now!
validate
decorator in favor of @field_validator
smart_union
(it's the default now)parse_obj
and .dict()
in favor of model_validate()
and model_dump
Optional[]
Let me know if there's anything else you need
Hi @DomThePorcupine this is awesome, thanks for working on the changes so quickly. Just the one test you commented out that we should have back in, but everything else is looking great! 🙂
Whoops! That was embarrassing, thanks for catching that :)
Think I found all the parts that needed changing, but it's probably wise to double check
I missed that someone else already had a PR open for this :( but I did manage to get all the tests passing with minimal changes, so I'm opening this in case it's helpful :)