3 ms·
This can be done using click.
by dodslaser 1y ago
This can be done using click.
- ErikBjare 1y agoNot with multiple=True, since it then always returns an empty list and never None, even if the default is None.
- dodslaser 1y agoYes it can. click.Context provides a get_parameter_source method that should help with that.
- ErikBjare 1y agoThank you! I recently got bitten by this limitation and will make use of get_parameter_source. I gave you credit/mentioned in the issue to restore our use of `multiple=True` behavior: https://github.com/gptme/gptme/issues/560 https://github.com/gptme/gptme/issues/560