Skip to content

Boolean value handling #224

@mpsonntag

Description

@mpsonntag

Currently values "false", "f", False and 0 are automatically converted to boolean False; everything else including any string characters, int and float values are converted to True.

Maybe any value other than "false", "f", 0, False, "true", "t", 1, True should raise a ValueError when trying to assign it to an odML boolean value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions