I made a procedure in mysql and i call it using python but it take an input and i need to pass the value of a variable in python to it but the mysql doesn't understand that it is a variable because the variable is not defined in it's list of fields .
for example for a code written in python :
variable = "someValue"
cursor.execute("call procedure1(variable);")
note the following is not a solution :
cursor.execute("call procedure1("someValue");")