Skip to content

Return a tuple from get_evaluation instead #98

@johndoknjas

Description

@johndoknjas

The dict that's returned from get_evaluation is a bit confusing, especially because one of the two keys is called "value". If we instead return a Tuple[str, int], that feels like it could be simpler.
However, there are backwards compatibility issues, as existing users might get a tuple and assume they still get a dict. If they do something like iterating over the keys of the dict, this would now iterate over the values of the tuple.

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