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

Mapping function plugin system #152

Merged
merged 21 commits into from
Jan 25, 2024
Merged

Conversation

jesper-friis
Copy link
Contributor

@jesper-friis jesper-friis commented Nov 12, 2023

Description:

Closes #128

See #128 for design and reasoning behind this PR. Needed for using mapping functions in OTEAPI pipelines.

Type of change:

  • Bug fix.
  • New feature.
  • Documentation update.
  • Testing.

Checklist for the reviewer:

This checklist should be used as a help for the reviewer.

  • Is the change limited to one issue?
  • Does this PR close the issue?
  • Is the code easy to read and understand?
  • Do all new feature have an accompanying new test?
  • Has the documentation been updated as necessary?

@jesper-friis jesper-friis linked an issue Nov 12, 2023 that may be closed by this pull request
@jesper-friis jesper-friis removed the request for review from francescalb November 12, 2023 19:47
@jesper-friis jesper-friis marked this pull request as draft November 12, 2023 19:47
@jesper-friis jesper-friis changed the title Added documentation of mapping function WIP: Mapping function plugin system Nov 12, 2023
@codecov-commenter
Copy link

codecov-commenter commented Nov 12, 2023

Codecov Report

Attention: 8 lines in your changes are missing coverage. Please review.

Comparison is base (11fa3dc) 75.21% compared to head (692a5a3) 76.05%.

Files Patch % Lines
tripper/triplestore.py 91.17% 6 Missing ⚠️
tripper/mappings/mappings.py 87.50% 2 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #152      +/-   ##
==========================================
+ Coverage   75.21%   76.05%   +0.84%     
==========================================
  Files          17       17              
  Lines        1416     1491      +75     
==========================================
+ Hits         1065     1134      +69     
- Misses        351      357       +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jesper-friis jesper-friis marked this pull request as ready for review December 21, 2023 09:01
@jesper-friis jesper-friis changed the title WIP: Mapping function plugin system Mapping function plugin system Dec 21, 2023
@jesper-friis jesper-friis removed the request for review from francescalb December 21, 2023 09:39
func_name="ufloat",
module_name="uncertainties",
# package_name="uncertainties",
pypi_package_name="uncertainties",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Add version number

if not kwargs:
kwargs = {}

# FIXME: Add sandboxing
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there an issue to address this FIXME?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

An issue has now been created: #167

@quaat
Copy link
Contributor

quaat commented Jan 22, 2024

@jesper-friis Merge at your own convenience

@jesper-friis jesper-friis merged commit 103d67d into master Jan 25, 2024
14 checks passed
@jesper-friis jesper-friis deleted the 128-function-repo-plugin-system branch January 25, 2024 08:09
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.

Function repo plugin system
3 participants