Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
philvarner opened this issue May 27, 2022 · 0 comments
Assignees
Milestone

Comments

@philvarner
Copy link
Collaborator

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.

@philvarner philvarner self-assigned this Jun 2, 2022
@philvarner philvarner added this to the 0.4.0 milestone Jun 2, 2022
@philvarner philvarner mentioned this issue Jun 6, 2022
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant