Does anyone have an example of doing the equivalent of a lxc device add to share a folder using pylxd?

Does anyone have an example of doing the equivalent of a lxc device add to share a folder using pylxd?