aerospike-client-python icon indicating copy to clipboard operation
aerospike-client-python copied to clipboard

[CLIENT-2760] Move raise exception code to aerospike module

Open juliannguyen4 opened this issue 1 year ago • 1 comments

Extra changes:

  • Create a dummy package called aerospike. Rename the aerospike extension module to _aerospike and place under this dummy package

running importlib.import_module while an AerospikeError is set causes it to fail

juliannguyen4 avatar Nov 25 '24 21:11 juliannguyen4

Codecov Report

Attention: Patch coverage is 74.41860% with 44 lines in your changes missing coverage. Please review.

Project coverage is 80.19%. Comparing base (ca2f4be) to head (8869287). Report is 7 commits behind head on dev.

Files with missing lines Patch % Lines
src/main/aerospike.c 75.72% 25 Missing :warning:
src/main/client/info.c 33.33% 6 Missing :warning:
src/main/exception.c 61.53% 5 Missing :warning:
src/main/query/where.c 0.00% 3 Missing :warning:
src/main/client/sec_index.c 50.00% 2 Missing :warning:
src/main/scan/apply.c 0.00% 2 Missing :warning:
src/main/client/batch_get_ops.c 0.00% 1 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #698      +/-   ##
==========================================
- Coverage   80.89%   80.19%   -0.71%     
==========================================
  Files         102      102              
  Lines       15186    15019     -167     
==========================================
- Hits        12285    12044     -241     
- Misses       2901     2975      +74     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov-commenter avatar Nov 25 '24 21:11 codecov-commenter