The type of an RNA types "bl_rna" should be `bpy.types.Struct`, it was being set to the type it represented so: `type(bpy.types.Object.bl_rna) == bpy.types.Object` which wasn't correct. Ref !126877 Co-authored-by: Bastien Montagne <bastien@blender.org>