Skip to content

Commit

Permalink
Add "CloudPath" to possible cloud_path types (#342)
Browse files Browse the repository at this point in the history
  • Loading branch information
karolzlot authored and pjbull committed Jul 22, 2023
1 parent 6b4afe9 commit a9f1765
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloudpathlib/cloudpath.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ class CloudPath(metaclass=CloudPathMeta):

def __init__(
self,
cloud_path: Union[str, Self],
cloud_path: Union[str, Self, "CloudPath"],
client: Optional["Client"] = None,
) -> None:
# handle if local file gets opened. must be set at the top of the method in case any code
Expand Down

0 comments on commit a9f1765

Please sign in to comment.