linkml / linkml-runtime

Runtime support for linkml generated models
https://linkml.io/linkml/
Creative Commons Zero v1.0 Universal
25 stars 23 forks source link

Adding from_schema to types. Fixes https://github.com/linkml/linkml/issues/784 #173

Closed cmungall closed 2 years ago

codecov-commenter commented 2 years ago

Codecov Report

Merging #173 (f0a8758) into main (482a7c2) will decrease coverage by 0.21%. The diff coverage is 45.26%.

@@            Coverage Diff             @@
##             main     #173      +/-   ##
==========================================
- Coverage   62.54%   62.32%   -0.22%     
==========================================
  Files          49       49              
  Lines        5219     5391     +172     
  Branches     1468     1532      +64     
==========================================
+ Hits         3264     3360      +96     
- Misses       1593     1645      +52     
- Partials      362      386      +24     
Impacted Files Coverage Δ
linkml_runtime/linkml_model/annotations.py 90.38% <ø> (ø)
linkml_runtime/linkml_model/extensions.py 85.45% <ø> (ø)
linkml_runtime/linkml_model/mappings.py 0.00% <ø> (ø)
linkml_runtime/linkml_model/types.py 100.00% <ø> (ø)
linkml_runtime/utils/namespaces.py 70.25% <ø> (+0.44%) :arrow_up:
linkml_runtime/linkml_model/meta.py 51.49% <38.50%> (-2.70%) :arrow_down:
linkml_runtime/utils/context_utils.py 70.17% <100.00%> (+22.17%) :arrow_up:
linkml_runtime/utils/dataclass_extensions_376.py 100.00% <100.00%> (+82.64%) :arrow_up:
linkml_runtime/utils/schemaview.py 84.44% <100.00%> (+0.19%) :arrow_up:
linkml_runtime/utils/schemaops.py 72.00% <0.00%> (-8.44%) :arrow_down:
... and 16 more

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 192a339...f0a8758. Read the comment docs.