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

Class vocab #412

Merged
merged 6 commits into from
Jun 27, 2021
Merged

Class vocab #412

merged 6 commits into from
Jun 27, 2021

Conversation

tetron
Copy link
Member

@tetron tetron commented Jun 27, 2021

No description provided.

@codecov
Copy link

codecov bot commented Jun 27, 2021

Codecov Report

Merging #412 (f0fcc54) into main (f537afd) will increase coverage by 0.09%.
The diff coverage is 91.89%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #412      +/-   ##
==========================================
+ Coverage   78.45%   78.54%   +0.09%     
==========================================
  Files          18       18              
  Lines        3245     3254       +9     
  Branches      876      879       +3     
==========================================
+ Hits         2546     2556      +10     
+ Misses        460      459       -1     
  Partials      239      239              
Impacted Files Coverage Δ
schema_salad/validate.py 71.12% <82.35%> (+0.34%) ⬆️
schema_salad/avro/schema.py 62.73% <100.00%> (+0.63%) ⬆️
schema_salad/makedoc.py 83.00% <100.00%> (+0.04%) ⬆️
schema_salad/schema.py 76.82% <100.00%> (+0.25%) ⬆️

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 f537afd...f0fcc54. Read the comment docs.

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
@mergify mergify bot merged commit 5806234 into main Jun 27, 2021
@mergify mergify bot deleted the class-vocab branch June 27, 2021 16:11
@@ -98,7 +98,7 @@

setup(
name="schema-salad",
version="8.0", # update the VERSION prefix in the Makefile as well 🙂
version="8.1", # update the VERSION prefix in the Makefile as well 🙂
Copy link
Member

Choose a reason for hiding this comment

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

As the comment says, please update the VERSION prefix in the Makefile as well!

@@ -87,6 +127,9 @@ def validate_ex(
if not foreign_properties:
foreign_properties = set()

if vocab is None:
raise Exception("vocab must be provided")
Copy link
Member

Choose a reason for hiding this comment

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

Then why is vocab typed as Optional?

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.

2 participants