cloudpathlib icon indicating copy to clipboard operation
cloudpathlib copied to clipboard

Plumping force_overwrite parameters to `{read,write}_{text,bytes}` methods

Open hwong557 opened this issue 1 year ago • 0 comments

These methods essentially wrap the open context manager. The open context manager accepts force overwrite kwargs: https://github.com/drivendataorg/cloudpathlib/blob/08b018b36f90f89003e0c9e5ebd19030b41c2433/cloudpathlib/cloudpath.py#L552-L553

Would you support a PR that:

  • adds force_overwrite_from_cloud to read_{text,bytes}
  • adds force_overwrite_to_cloud to write_{text,bytes}?

Thanks.

hwong557 avatar Jun 07 '24 15:06 hwong557