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

Optionally avoid deserialization when resolving references #512

Merged
merged 2 commits into from
Jan 7, 2024

Conversation

gpetretto
Copy link
Contributor

Summary

Following the discussion about the need to deserialize objects when the output references are being resolved, I have added an option to avoid it. This would fail if the reference is a property of the deserialized object.

Copy link

codecov bot commented Dec 18, 2023

Codecov Report

Merging #512 (2917456) into main (0032693) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #512   +/-   ##
=======================================
  Coverage   99.86%   99.86%           
=======================================
  Files          20       20           
  Lines        1512     1513    +1     
  Branches      415      416    +1     
=======================================
+ Hits         1510     1511    +1     
  Misses          2        2           
Files Coverage Δ
src/jobflow/core/reference.py 100.00% <100.00%> (ø)

@utf
Copy link
Member

utf commented Jan 7, 2024

This looks great, thanks @gpetretto

@utf utf merged commit af862b3 into materialsproject:main Jan 7, 2024
9 checks passed
@utf utf added the enhancement New feature or request label Jan 7, 2024
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.

None yet

2 participants