You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After migration, openid field of BaseXapiOpenIdIFI is of type str (no longer AnyStr). The reason is that AnyUrl in pydantic V2 modifies input strings (adding trailing slashes). This might be correct on a URL standpoint but not necessarily right when using it as an ID, where you would expect strings to be untouched.
It would be nice to add back the initial validation of the URL format (without modifying the string).
The text was updated successfully, but these errors were encountered:
Feature Request
After migration,
openid
field ofBaseXapiOpenIdIFI
is of typestr
(no longerAnyStr
). The reason is thatAnyUrl
in pydantic V2 modifies input strings (adding trailing slashes). This might be correct on a URL standpoint but not necessarily right when using it as an ID, where you would expect strings to be untouched.It would be nice to add back the initial validation of the URL format (without modifying the string).
The text was updated successfully, but these errors were encountered: