Skip to content

is there still a need for irradiance functions to return OrderDict since Python-3.7 is minimum version? #1684

Open
@mikofski

Description

@mikofski

Is your feature request related to a problem? Please describe.
Python-3.7 is the minimum python. I believe since Python-3ish, all dicts are ordered by default. So do we still need to use OrderedDict for returns in irradiance.py?

Describe the solution you'd like
If no longer necessary, remove import of OrderedDict and replace all calls with simple dictionary.

Describe alternatives you've considered
Leave it as is. It seems to function now, and there may be an added benefit b/c an OrderedDict can be compared to another mapping that doesn't respect order?

Additional context
related to #1455 and raised in #1179 (comment)

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