Closed mgab closed 7 months ago
Hi
I'll remove the type hint from the classmethods
Thanks @liormizr. I'd say there's no need though, in PR #148 I tried to make the changes so that the correct type is deduced also for subclasses
@mgab I prefer to remove the hints from the classmethods But thank you for your PR..
New Version deployed 0.5.1 with this card fix
When creating an S3Path from a
classmethod
factory inherited from PureS3Path, such asfrom_uri
, the typing hint infers the result to be of type PureS3Path while in reality it's of type S3Path.For example, doing
While one would expect