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 committed Jun 21, 2023
1 parent 2a3d712 commit e1dd6b7
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 e1dd6b7

Please sign in to comment.