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

check for both UnionSchema and NamedUnionSchema #846

Merged
merged 1 commit into from
Jul 10, 2024
Merged

Conversation

tetron
Copy link
Member

@tetron tetron commented Jul 10, 2024

NamedUnionSchema isn't a subclass of UnionSchema, and the first thing I tried (making NamedUnionSchema a subclass of both UnionSchema and NamedSchema) didn't work because mypyc didn't like multiple inheritance.

This should fix common-workflow-language/cwltool#1779

@tetron tetron force-pushed the named-map-union-fix branch from fe0125e to 221aa7b Compare July 10, 2024 01:22
@tetron tetron changed the title NamedUnionSchema should be a subclass of UnionSchema check for both UnionSchema and NamedUnionSchema Jul 10, 2024
@tetron tetron enabled auto-merge (squash) July 10, 2024 01:34
@tetron tetron merged commit 0f41ad1 into main Jul 10, 2024
40 checks passed
@tetron tetron deleted the named-map-union-fix branch July 10, 2024 01:45
Copy link

codecov bot commented Oct 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.37%. Comparing base (9e849f5) to head (221aa7b).
Report is 39 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #846   +/-   ##
=======================================
  Coverage   83.37%   83.37%           
=======================================
  Files          22       22           
  Lines        4813     4813           
  Branches     1302     1302           
=======================================
  Hits         4013     4013           
  Misses        526      526           
  Partials      274      274           

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

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