Struct has a default bool function, and empty Struct returns False for bool(). Should compare with None instead of bool() when check if Struct is able to be created. PiperOrigin-RevId: 698205106pull/19312/head
parent
0e6a310156
commit
d3e9897b03
2 changed files with 27 additions and 1 deletions
Loading…
Reference in new issue