wooey / Wooey

A Django app that creates automatic web UIs for Python scripts.
http://wooey.readthedocs.org
BSD 3-Clause "New" or "Revised" License
2.11k stars 183 forks source link

Parse URL query parameters to prepopulate subparser and script parameters #395

Closed Lioscro closed 8 months ago

Lioscro commented 8 months ago

Support prepopulating script parameters by parsing URL query parameters. This is useful in generating Wooey URLs for user-facing scripts to minimize user error in filling out info that the component generating the URL may already know about.

codecov-commenter commented 8 months ago

Codecov Report

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

Comparison is base (d2f65d3) 77.33% compared to head (469c136) 77.63%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #395 +/- ## ========================================== + Coverage 77.33% 77.63% +0.29% ========================================== Files 143 143 Lines 5022 5070 +48 Branches 666 668 +2 ========================================== + Hits 3884 3936 +52 + Misses 989 988 -1 + Partials 149 146 -3 ``` | [Flag](https://app.codecov.io/gh/wooey/Wooey/pull/395/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wooey) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/wooey/Wooey/pull/395/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wooey) | `77.57% <100.00%> (+0.29%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wooey#carryforward-flags-in-the-pull-request-comment) to find out more.

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

Lioscro commented 8 months ago

@Chris7 should we also update the docs on how this works?

Chris7 commented 8 months ago

This is awesome. Docs would be great. I generally build them locally in docs with make docs and you can check the output in build