drivendataorg / drivendataorg/cloudpathlib
Plumping force_overwrite parameters to `{read,write}_{text,bytes}` methods
Open
design decision
enhancement
- Dominant language
- Python
- Stars
- 628
- Forks
- 88
- Avg merge
- 17h 28m
- Merged PRs (30d)
- 2
Description
[These methods](https://github.com/drivendataorg/cloudpathlib/blob/08b018b36f90f89003e0c9e5ebd19030b41c2433/cloudpathlib/cloudpath.py#L684-L719) 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.
Contributor guide
Assessment
This issue has not been assessed yet.