Skip to content

028.0 Python SDK: Assertion failure on Boolean types in type_map.py #3443

@cbarcroft

Description

@cbarcroft

if sample == 0 or sample == 0.0:

A bug was introduced in 0.28.0 at the referenced check above. For boolean types, if sample = False, then False DOES equal 0 and then triggers a failure on the following assertion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions