Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(python): cannot call a method that takes an empty struct #3372

Merged
merged 1 commit into from Feb 8, 2022

Commits on Feb 8, 2022

  1. fix(python): cannot call a method that takes an empty struct

    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
    RomainMuller committed Feb 8, 2022
    Configuration menu
    Copy the full SHA
    6a4a3ce View commit details
    Browse the repository at this point in the history