Skip to content

StacIO._json_dumps requires unused argument #467

@matthewhanson

Description

@matthewhanson

StacIO._json_loads requires a source argument:

https://github.com/stac-utils/pystac/blob/main/pystac/stac_io.py#L89

But it is unused. In StacIO.read_json:

        txt = self.read_text(source, *args, **kwargs)
        return self._json_loads(txt, source)

it reads from source, then passes both txt and source into _read_json

Metadata

Metadata

Assignees

Labels

bugThings which are broken

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions