I am new to robot framework, and inherited some .robot files which call some python functions.
Within the .robot file we have some variables defined as:
| *** Variables *** |
| ${file} | 2021
| ${useV2} | False
However when the python function is called and this code runs:
log.info(f"{useV2} , type: {type(useV2)}")
the output is
False , type: <class 'str'>
So short of checking for "False" and "True" in this function, and subsequent functions where needed, how do I setup a robot framework variable as a boolean and have python derive true/false accurately?