From 6f3d7b8452a0cabd13064c8b1ccc36bb5bc0ca26 Mon Sep 17 00:00:00 2001 From: Kevin Deldycke Date: Tue, 16 May 2023 16:34:03 +0200 Subject: [PATCH] Add reference to Click PRs: https://github.com/pallets/click/issues/2516 https://github.com/pallets/click/pull/2517 --- click_extra/parameters.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/click_extra/parameters.py b/click_extra/parameters.py index 83d066671..35dfa614c 100644 --- a/click_extra/parameters.py +++ b/click_extra/parameters.py @@ -179,7 +179,9 @@ def get_help_default(option: click.Option, ctx: click.Context) -> str | None: ~/(...)/multiple_envvars.py/*.{toml,yaml,yml,json,ini,xml} .. todo:: - Contribute this code upstream to Click. + A better solution has been proposed upstream to Click: + - https://github.com/pallets/click/issues/2516 + - https://github.com/pallets/click/pull/2517 """ # Temporarily enable resilient parsing to avoid type casting # failing for the default. Might be possible to extend this to