Commit Graph

1 Commits (5167618e46c18ecabe190fb5fe7342c9f8a9dc3d)

Author SHA1 Message Date
Sloane Hertel 694c11d5bd
argspec - fix validating type for required options that are None (#79677)
* Only bypass type validation for null parameters if the default is None. A default is mutually exclusive with required.

* Prevent coercing None to str type. Fail the type check instead.
2 years ago