drivendataorg / cloudpathlib

Python pathlib-style classes for cloud storage services such as Amazon S3, Azure Blob Storage, and Google Cloud Storage.
https://cloudpathlib.drivendata.org
MIT License
478 stars 62 forks source link

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

Open hwong557 opened 5 months ago

hwong557 commented 5 months ago

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:

Thanks.