You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ATM the inputs.boolean() function handles the following inputs:
bool
str: "true", "false", "1", "0"
Since the function already accepts non-string inputs, I think it would make sense to handle the int values 1 and 0 as well (or any int value according to the Python int -> bool conversion rules, for that matter).
The text was updated successfully, but these errors were encountered:
ATM the
inputs.boolean()
function handles the following inputs:bool
str
:"true"
,"false"
,"1"
,"0"
Since the function already accepts non-string inputs, I think it would make sense to handle the
int
values1
and0
as well (or anyint
value according to the Pythonint -> bool
conversion rules, for that matter).The text was updated successfully, but these errors were encountered: