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

DM-40435: Add fallback check for existence with getDeferred #881

Merged
merged 4 commits into from
Aug 18, 2023

Conversation

timj
Copy link
Member

@timj timj commented Aug 17, 2023

Execution butler doesn't know about these files.

Checklist

  • ran Jenkins
  • added a release note for user-visible changes to doc/changes

andy-slac and others added 2 commits August 18, 2023 09:27
In newer pydantic this converts a 0 to 0.0 when serializing
to Json and this breaks when reading a record back that is
meant to be an integer. This changes in pydantic 2.2 whereas
2.1 behaved like 1.0.

This happens because the dynamic subclasses apply dynamic constraints
based on the specific record data model so they know that something
must be an integer.
@codecov
Copy link

codecov bot commented Aug 18, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (363042d) 87.70% compared to head (40e041c) 87.71%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #881   +/-   ##
=======================================
  Coverage   87.70%   87.71%           
=======================================
  Files         274      274           
  Lines       36108    36117    +9     
  Branches     7553     7553           
=======================================
+ Hits        31670    31680   +10     
  Misses       3264     3264           
+ Partials     1174     1173    -1     
Files Changed Coverage Δ
python/lsst/daf/butler/_butler.py 79.08% <100.00%> (ø)
python/lsst/daf/butler/core/dimensions/_records.py 83.85% <100.00%> (ø)
tests/test_butler.py 97.92% <100.00%> (+0.09%) ⬆️

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

@timj timj merged commit c6c2f70 into main Aug 18, 2023
16 checks passed
@timj timj deleted the tickets/DM-40435 branch August 18, 2023 19: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.

3 participants