Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Refactor function parsing and enhance test validations. #83

Merged
merged 3 commits into from
Jan 4, 2025
Merged

Conversation

DanielAvdar
Copy link
Owner

No description provided.

This change restores the `parse_components_to_file` method to ensure components can be parsed and written into a file. The method was previously removed but is necessary for generating KFP component files correctly.

Signed-off-by: DanielAvdar <66269169+DanielAvdar@users.noreply.github.com>
Refactored function scope generation to handle empty cases more cleanly. Updated test cases to validate the number of initializer parameters and function parameters explicitly. Added missing meta components to valid_classes_meta and valid_classes_meta_v2 lists.

Signed-off-by: DanielAvdar <66269169+DanielAvdar@users.noreply.github.com>
Removed redundant mypy overrides for tests in `pyproject.toml` and adjusted the `mypy` target in the Makefile to run checks specifically on the `ml_orchestrator` module. Also added a missing type ignore comment in `t_suites.py` for consistent type checking behavior.

Signed-off-by: DanielAvdar <66269169+DanielAvdar@users.noreply.github.com>
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.94%. Comparing base (b0585ed) to head (d3ee223).
Report is 7 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #83      +/-   ##
==========================================
+ Coverage   98.93%   98.94%   +0.01%     
==========================================
  Files          11       11              
  Lines         281      285       +4     
==========================================
+ Hits          278      282       +4     
  Misses          3        3              

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

@DanielAvdar DanielAvdar merged commit daac7a3 into main Jan 4, 2025
19 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants