Updated from_dict function

Status Job ID Name Coverage
  Build
passed #170744
docker
build_linux_36

00:05:38

88.0%
passed #170745
macosx
build_macosx_36

00:06:03

88.0%