AttributeError: 'World' object has no attribute 'light_manager'


I’ve got an issue with the LightManager. I would like to use it, but i am getting an error.

client = carla.Client(“localhost”, 2000)
client.set_timeout(5.0) = client.get_world()
manager =

According to the error message: ‘World’ object has no attribute ‘light_manager’

Did something change in the use of lightmanager without updating documentation or it’s my fault?