Skip to content

Consistently return None from setter methods #1392

Open
@gadomski

Description

@gadomski

Throughout pystac, "setter" methods usually return None, e.g.:

However, there are two instances (that I can find) where setters return something:

I think we should change those two methods to return None to make things consistent across the library. This can be part of a v2.0 since it is a breaking change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    breakingRepresents a potentially breaking change that may warrant a major version releaseenhancement

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions