Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(python): cannot call a method that takes an empty struct (#3372)
Empty dictionaries are false-y in Python, so the test that checked for structs via the existence of a property mapping table was incorrect, as it only checked truthiness of the mapping, instead of checking for it being non-`None`. Fixes #2846 --- By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license]. [Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0
- Loading branch information