Passing a dict from Python to Julia

This works:

from juliacall import Main as jl, convert as jlconvert

setdict = {
  "log_level": 1,
  "area": 20.0,
  "solver": "IDA"
}

jlstore = jl.seval("(k, v) -> (@eval $(Symbol(k)) = $v; return)")
jlstore("set", setdict)

print(jl.set)

Most of the time you should not use jl.seval, but sometimes it is needed. Not so clear to me when it is needed.