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
Right now, validation functions return ValidationResult | str (which is a string on error), so this means that every caller must isinstance(result, str) to detect any failures, and an error string is indistinguishable by type to a real result.
Issue
Right now, validation functions return
ValidationResult | str(which is a string on error), so this means that every caller mustisinstance(result, str)to detect any failures, and an error string is indistinguishable by type to a real result.