Convert to spawnable with python (ue 5.1)

I’m quite new to scripting in Unreal, I’m trying to make a camera importer and I’m able to create a Level Sequence and assign a camera to it, but how do I convert it to a spawnable?

This should be doable in the 5.1 Preview at the moment.

I found the unreal.TakeRecorderActorRecordType class in the documentation, but how do I implement it in my code?

Here is a draft of my code:

level_sequence = unreal.LevelSequence.cast(unreal.AssetToolsHelpers.get_asset_tools().create_asset(
asset_name=‘LevelSequenceName’,
package_path= ‘ue_folder’,
asset_class=unreal.LevelSequence,
factory=unreal.LevelSequenceFactoryNew()
))

cine_camera = unreal.EditorLevelLibrary.spawn_actor_from_class(unreal.CineCameraActor, unreal.Vector())
cine_camera.set_actor_label( ‘camname’ )

binding = level_sequence.add_possessable(cine_camera)
cam_sequence = level_sequence.add_spawnable_from_instance(cine_camera.get_cine_camera_component())

Any help would be appreciated

found it :