-
Notifications
You must be signed in to change notification settings - Fork 1
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
Base class for PathBase.stat()
return value?
#3
Comments
Proposal: add a
Users wouldn't need to deal with the low-level |
This sounds very interesting for In Apache Airflow provides a wrapper class based on dict that takes this In internal code I have mostly seen |
Very interesting, thank you! Out of interest, why not a dataclass rather than a dict with standardised keys? I was leaning towards a dataclass personally. Subclasses (e.g. And do you think there's any sense in adding a |
I'm not sure, but my guess would be that this was a pragmatic decision.
Hmmm, interesting. I'll try to collect some examples for specific filesystems, and will report back. |
Is it unreasonable or incorrect to expect users to instantiate an
os.stat_result
object? It's a little tricky.The text was updated successfully, but these errors were encountered: