trogon
trogon copied to clipboard
click tuple with diffrent data types
If I try to use click.Tuple with 2 different data types i.e. type=click.Tuple([float, str]), default=(0.0, 'test') The TUI breaks with this error: TypeError: '<' not supported between instances of 'float' and 'str'
It works fine if no default is provided or the default is set to None. It also works if both tuple values are str. Not sure if that is a known issue or if it is on my side.