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

fix: change enum to const for single enums #449

Merged
merged 1 commit into from
Mar 4, 2021
Merged

fix: change enum to const for single enums #449

merged 1 commit into from
Mar 4, 2021

Conversation

satra
Copy link
Member

@satra satra commented Mar 4, 2021

This should address the change to using Enum for Literal in pydantic 1.8+. This reverts the schema generation to use const. This change can be reverted once koumoul-dev/vuetify-jsonschema-form#212 is addressed.

@codecov
Copy link

codecov bot commented Mar 4, 2021

Codecov Report

Merging #449 (b9b1507) into master (754af6e) will increase coverage by 0.06%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #449      +/-   ##
==========================================
+ Coverage   82.15%   82.21%   +0.06%     
==========================================
  Files          55       55              
  Lines        5687     5691       +4     
==========================================
+ Hits         4672     4679       +7     
+ Misses       1015     1012       -3     
Flag Coverage Δ
unittests 82.21% <100.00%> (+0.06%) ⬆️

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

Impacted Files Coverage Δ
dandi/models.py 86.11% <100.00%> (+0.15%) ⬆️
dandi/upload.py 75.93% <0.00%> (+0.75%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 754af6e...b9b1507. Read the comment docs.

@satra
Copy link
Member Author

satra commented Mar 4, 2021

merging so that @AlmightyYakob can proceed.

@satra satra merged commit 7ec60bf into master Mar 4, 2021
@satra satra deleted the fix/json-const branch March 4, 2021 01:42
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.

1 participant