omni-us / jsonargparse

Implement minimal boilerplate CLIs derived from type hints and parse from command line, config files and environment variables
https://jsonargparse.readthedocs.io
MIT License
326 stars 49 forks source link

The CLASS_PATH_OR_NAME for subclass help is now optional and if not given the help of the base class is printed #628

Open mauvilsa opened 2 days ago

mauvilsa commented 2 days ago

What does this PR do?

Implements https://github.com/omni-us/jsonargparse/issues/624#issuecomment-2478180917

Before submitting

codecov[bot] commented 2 days ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (a1137c1) to head (8207f48).

:white_check_mark: All tests successful. No failed tests found.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #628 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 22 22 Lines 6490 6496 +6 ========================================= + Hits 6490 6496 +6 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

sonarcloud[bot] commented 3 hours ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud