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

Add optional kwargs to Job(callback=lambda i, j, res, **kwargs: None, **kwargs) #642

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

adtzlr
Copy link
Owner

@adtzlr adtzlr commented Feb 20, 2024

  • Job(callback=lambda stepnumber, substepnumber, substep, **kwargs: None, **kwargs) and
  • CharacteristicCurve(callback=lambda stepnumber, substepnumber, substep, **kwargs: None, **kwargs).

closes #637

@adtzlr adtzlr added the enhancement New feature or request label Feb 20, 2024
@adtzlr adtzlr self-assigned this Feb 20, 2024
@adtzlr adtzlr changed the title Add optional kwargs to job-callback Add optional kwargs to Job(callback=lambda i, j, res, **kwargs: None, **kwargs) Feb 20, 2024
Copy link

codecov bot commented Feb 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (0c244ae) 97.05% compared to head (1ac48f9) 97.05%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #642   +/-   ##
=======================================
  Coverage   97.05%   97.05%           
=======================================
  Files          94       94           
  Lines        4760     4761    +1     
=======================================
+ Hits         4620     4621    +1     
  Misses        140      140           

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

@adtzlr adtzlr merged commit 02f9786 into main Feb 20, 2024
9 checks passed
@adtzlr adtzlr deleted the add-job-callback-kwargs branch February 20, 2024 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add optional keyword-arguments for the callback-function in a Job
1 participant