Blender 2.8 removed use_environment_light API, what to use instead?
The property use_environment_light was part of the settings for the world when the Blender Internal render engine was used. This render engine has been removed in Blender 2.80 and replaced by Eevee. Like Cycles, Eevee uses the nodes based system for the world settings. Enabling environment lighting isn't necessary, it's always on.