import bpy
scene=bpy.context.scene
tree=bpy.data.node_groups.get('Lantern Compositor')
result={'glare_attrs':[a for a in dir(tree.nodes.get('Glare')) if not a.startswith('_')][:100], 'glare_type':tree.nodes.get('Glare').bl_idname if tree and tree.nodes.get('Glare') else None, 'socket_inputs':[s.name for s in tree.nodes.get('Glare').inputs] if tree and tree.nodes.get('Glare') else [], 'socket_outputs':[s.name for s in tree.nodes.get('Glare').outputs] if tree and tree.nodes.get('Glare') else [], 'iface':[(it.name,getattr(it,'in_out',''),getattr(it,'item_type','')) for it in tree.interface.items_tree] if tree else []}


Image
Type
Quality
Threshold
Smoothness
Clamp
Maximum
Strength
Saturation
Tint
Size
Streaks
Streaks Angle
Iterations
Fade
Color Modulation
Diagonal
Sun Position
Jitter
Kernel Data Type
Kernel
Kernel