Commit Graph

1 Commits (6ec3e105f98f051069c5e59401a9b15d29c1aab1)

Author SHA1 Message Date
Sloane Hertel 2c35d46298
argspec - fix validating type for required options that are None (#79677) (#80542)
* 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.

(cherry picked from commit 694c11d5bd)
2 years ago