fsspec / ossfs

fsspec filesystem for Alibaba Cloud (Aliyun) Object Storage System (OSS)
Apache License 2.0
21 stars 11 forks source link

Add file support for the Async OSSFileSystem #111

Closed karajan1001 closed 1 year ago

karajan1001 commented 1 year ago

fix: #92

  1. Add open, append_object and get_object to AioOSSFileSystem.
  2. Add file operation support for AioOSSFileSystem.
  3. Make tests passed for the file opened from a AioOSSFileSystem.
codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.50 :tada:

Comparison is base (4e646a7) 91.62% compared to head (5a9dc25) 92.12%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #111 +/- ## ========================================== + Coverage 91.62% 92.12% +0.50% ========================================== Files 13 13 Lines 1611 1651 +40 Branches 303 325 +22 ========================================== + Hits 1476 1521 +45 + Misses 92 87 -5 Partials 43 43 ``` | [Impacted Files](https://codecov.io/gh/fsspec/ossfs/pull/111?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | Coverage Δ | | |---|---|---| | [src/ossfs/core.py](https://codecov.io/gh/fsspec/ossfs/pull/111?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL29zc2ZzL2NvcmUucHk=) | `82.53% <ø> (-0.28%)` | :arrow_down: | | [src/ossfs/async\_oss.py](https://codecov.io/gh/fsspec/ossfs/pull/111?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL29zc2ZzL2FzeW5jX29zcy5weQ==) | `80.75% <100.00%> (+3.61%)` | :arrow_up: | | [src/ossfs/base.py](https://codecov.io/gh/fsspec/ossfs/pull/111?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL29zc2ZzL2Jhc2UucHk=) | `87.50% <100.00%> (+0.54%)` | :arrow_up: | | [src/ossfs/file.py](https://codecov.io/gh/fsspec/ossfs/pull/111?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL29zc2ZzL2ZpbGUucHk=) | `85.18% <100.00%> (ø)` | | | [tests/test\_file.py](https://codecov.io/gh/fsspec/ossfs/pull/111?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-dGVzdHMvdGVzdF9maWxlLnB5) | `100.00% <100.00%> (ø)` | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.