from panda3d._rplight import RPSpotLight
This represents a spot light, a light which has a position, radius, direction and FoV. Checkout the RenderPipeline documentation for more information about this type of light.
This creates a new spot light with default properties set. You should set at least a direction, fov, radius and position to make the light useful.