Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: use sync methods in thread from LocalFileSystem in async methods #12

Merged
merged 1 commit into from
Oct 3, 2022

Conversation

skshetry
Copy link
Member

@skshetry skshetry commented Oct 3, 2022

Previosuly, it used to use aiofiles method which where run in thread. For maximum compatibility, now we use LocalFileSystem's implementation.

@codecov-commenter
Copy link

codecov-commenter commented Oct 3, 2022

Codecov Report

Base: 85.92% // Head: 86.15% // Increases project coverage by +0.22% 🎉

Coverage data is based on head (b45144a) compared to base (fe9e3ff).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #12      +/-   ##
==========================================
+ Coverage   85.92%   86.15%   +0.22%     
==========================================
  Files           8        8              
  Lines        1023      946      -77     
  Branches      208      176      -32     
==========================================
- Hits          879      815      -64     
+ Misses        129      123       -6     
+ Partials       15        8       -7     
Impacted Files Coverage Δ
src/morefs/asyn_local.py 100.00% <100.00%> (+11.20%) ⬆️
tests/test_asyn_local.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

…thods.

Previosuly, it used to use aiofiles method which where run in thread. For maximum
compatibility, now we use LocalFileSystem's implementation.
@skshetry skshetry marked this pull request as ready for review October 3, 2022 04:42
@skshetry skshetry merged commit 33da6c4 into main Oct 3, 2022
@skshetry skshetry deleted the refactor branch October 3, 2022 04:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants