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

Interface difference between CloudPath and its children #234

Closed
jruere opened this issue Jun 2, 2022 · 1 comment · Fixed by #250
Closed

Interface difference between CloudPath and its children #234

jruere opened this issue Jun 2, 2022 · 1 comment · Fixed by #250
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@jruere
Copy link

jruere commented Jun 2, 2022

In class CloudPath, stat is a property.

On all of the class children, stat is a method.

This looks like a mistake.

@pjbull
Copy link
Member

pjbull commented Jun 2, 2022

Thanks @jruere, the property is an error on CloudPath. We'd accept a PR to remove it. stat should be a method in order to follow pathlib: https://docs.python.org/3/library/pathlib.html#pathlib.Path.stat

@pjbull pjbull added bug Something isn't working good first issue Good for newcomers labels Jun 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants