Skip to content

Providing a non-StacApiIO instance when creating a client will cause many methods to throw exceptions #186

@philvarner

Description

@philvarner

If a Client is created with the from_file static method and a StacIO instance that is not a StacApiIO instance is provided as an argument, many methods will raise method not found errors.

The reason is that many methods call conforms_to method on the StacIO instance, which is only a method in StacApiIO and not
pystac.StacIO.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions