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

Fix subclass nested in Iterable makes help fail #578

Merged
merged 2 commits into from
Sep 18, 2024

Conversation

mauvilsa
Copy link
Member

What does this PR do?

Fixes Lightning-AI/pytorch-lightning#20199

Before submitting

  • Did you read the contributing guideline?
  • [n/a] Did you update the documentation? (readme and public docstrings)
  • Did you write unit tests such that there is 100% coverage on related code? (required for bug fixes and new features)
  • Did you verify that new and existing tests pass locally?
  • Did you make sure that all changes preserve backward compatibility?
  • Did you update the CHANGELOG? (not for typos, docs, test updates, or minor internal changes/refactors)

@mauvilsa mauvilsa added the bug Something isn't working label Sep 18, 2024
Copy link

codecov bot commented Sep 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (6300b8c) to head (6d0c3e0).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #578   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           22        22           
  Lines         6466      6466           
=========================================
  Hits          6466      6466           
Flag Coverage Δ
py3.10 85.73% <100.00%> (ø)
py3.10_all 98.70% <100.00%> (ø)
py3.10_pydantic1 48.88% <0.00%> (ø)
py3.10_pydantic2 48.66% <0.00%> (ø)
py3.10_types 98.71% <100.00%> (ø)
py3.11 85.72% <100.00%> (ø)
py3.11_all 98.66% <100.00%> (ø)
py3.11_types 98.68% <100.00%> (ø)
py3.12 85.86% <100.00%> (ø)
py3.12_all 98.66% <100.00%> (ø)
py3.12_types 98.68% <100.00%> (ø)
py3.7 86.36% <100.00%> (ø)
py3.7_all 99.32% <100.00%> (ø)
py3.7_types 99.37% <100.00%> (ø)
py3.8 86.36% <100.00%> (ø)
py3.8_all 99.33% <100.00%> (ø)
py3.8_types 99.36% <100.00%> (ø)
py3.9 86.29% <100.00%> (ø)
py3.9_all 99.28% <100.00%> (ø)
py3.9_types 99.30% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

Copy link

sonarcloud bot commented Sep 18, 2024

@mauvilsa mauvilsa merged commit 7874273 into main Sep 18, 2024
29 checks passed
@mauvilsa mauvilsa deleted the fix-pl-20199-help-iterable-subclass branch September 18, 2024 04:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LightningCLI: --help argument given after the subcommand fails
1 participant