Skip to content

[python] Refactor pybind11 inheritance to reduce repetition#2126

Merged
nguyenv merged 1 commit intomainfrom
viviannguyen/refactor-pybind11-inheritance
Feb 12, 2024
Merged

[python] Refactor pybind11 inheritance to reduce repetition#2126
nguyenv merged 1 commit intomainfrom
viviannguyen/refactor-pybind11-inheritance

Conversation

@nguyenv
Copy link
Copy Markdown
Contributor

@nguyenv nguyenv commented Feb 12, 2024

Issue and/or context:

#2125

Changes:

DRY: refactor binding code to have proper inheritance from SOMADataframe, SOMAArray, and SOMAObject.

These changes were picked out of #1817. I am opening smaller PRs to make it easier to review this time.

Notes for Reviewer:

These changes are meant to be on top of #2124. Please review that PR first.

@nguyenv nguyenv force-pushed the viviannguyen/refactor-pybind11-inheritance branch from faa7509 to ce950db Compare February 12, 2024 17:23
@johnkerl johnkerl changed the title [python] Refactor Pybind11 inheritance to reduce repetition [python] Refactor pybind11 inheritance to reduce repetition Feb 12, 2024
Copy link
Copy Markdown
Contributor

@johnkerl johnkerl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢

Base automatically changed from viviannguyen/refactor-inheritance to main February 12, 2024 20:16
@nguyenv nguyenv force-pushed the viviannguyen/refactor-pybind11-inheritance branch from ce950db to 32decdd Compare February 12, 2024 20:17
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 12, 2024

Codecov Report

Merging #2126 (32decdd) into main (57347c0) will increase coverage by 12.91%.
The diff coverage is 0.00%.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #2126       +/-   ##
===========================================
+ Coverage   78.47%   91.38%   +12.91%     
===========================================
  Files         136       35      -101     
  Lines       10679     3784     -6895     
  Branches      211        0      -211     
===========================================
- Hits         8380     3458     -4922     
+ Misses       2197      326     -1871     
+ Partials      102        0      -102     
Flag Coverage Δ
libtiledbsoma ?
python 91.38% <0.00%> (+0.64%) ⬆️
r ?

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
python_api 91.38% <0.00%> (+0.64%) ⬆️
libtiledbsoma ∅ <ø> (∅)

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.

[python] Refactor binding code to inherit from SOMAArray and SOMAObject

2 participants