Assign types to a Dict returned by PyCall

d = Dict{String, Int}(py"{‘foo’: 123, ‘bar’: 456}")

1 Like