Skip to content

Make parsers inherit from schema_salad.metaschema#413

Draft
GlassOfWhiskey wants to merge 7 commits intomainfrom
inherit-from-metaschema
Draft

Make parsers inherit from schema_salad.metaschema#413
GlassOfWhiskey wants to merge 7 commits intomainfrom
inherit-from-metaschema

Conversation

@GlassOfWhiskey
Copy link
Copy Markdown
Collaborator

This commit regenerates CWL parsers by making them inherit from the schema_salad.metaschema package, ensuring that different CWL versions share common ancestors in their class hierarchies.

BREAKING CHANGE: parsers do not inherit from cwltool extensions anymore. If you want to use CWL extensions within your project, you have to generate your own parsers.

This commit regenerates CWL parsers by making them inherit from
the `schema_salad.metaschema` package, ensuring that different
CWL versions share common ancestors in their class hierarchies.

BREAKING CHANGE: parsers do not inherit from cwltool extensions
anymore. If you want to use CWL extensions within your project,
you have to generate your own parsers.
@GlassOfWhiskey GlassOfWhiskey force-pushed the inherit-from-metaschema branch from eefaaa3 to bf92bd9 Compare April 24, 2026 20:47
@GlassOfWhiskey GlassOfWhiskey force-pushed the inherit-from-metaschema branch from bf92bd9 to 0471d04 Compare April 24, 2026 20:49
@GlassOfWhiskey GlassOfWhiskey force-pushed the inherit-from-metaschema branch from e221e24 to 016e95f Compare April 25, 2026 09:33
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 25, 2026

Codecov Report

❌ Patch coverage is 75.77640% with 39 lines in your changes missing coverage. Please review.
✅ Project coverage is 36.92%. Comparing base (07d47a1) to head (c31155e).

Files with missing lines Patch % Lines
src/cwl_utils/parser/cwl_v1_2_utils.py 57.14% 9 Missing and 3 partials ⚠️
src/cwl_utils/parser/cwl_v1_1_utils.py 61.53% 9 Missing and 1 partial ⚠️
src/cwl_utils/parser/cwl_v1_0_utils.py 73.07% 7 Missing ⚠️
src/cwl_utils/cwl_v1_0_expression_refactor.py 50.00% 1 Missing and 1 partial ⚠️
src/cwl_utils/cwl_v1_1_expression_refactor.py 50.00% 1 Missing and 1 partial ⚠️
src/cwl_utils/cwl_v1_2_expression_refactor.py 60.00% 1 Missing and 1 partial ⚠️
src/cwl_utils/normalizer.py 0.00% 2 Missing ⚠️
src/cwl_utils/parser/__init__.py 93.33% 1 Missing ⚠️
src/cwl_utils/parser/utils.py 85.71% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #413      +/-   ##
==========================================
- Coverage   37.15%   36.92%   -0.24%     
==========================================
  Files          47       46       -1     
  Lines       36683    31895    -4788     
  Branches     9529     8200    -1329     
==========================================
- Hits        13630    11777    -1853     
+ Misses      20171    17795    -2376     
+ Partials     2882     2323     -559     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@GlassOfWhiskey GlassOfWhiskey force-pushed the inherit-from-metaschema branch 3 times, most recently from a73cdf7 to f7c6fbb Compare April 25, 2026 10:18
@GlassOfWhiskey GlassOfWhiskey force-pushed the inherit-from-metaschema branch from f7c6fbb to 2cf65d6 Compare April 25, 2026 11:10
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