I have created a custom property and want to set a minimum and a maximum for it through python; I tried to make it using bpy.ops.wm.properties_edit
but it didn't work,so how can I edit a custom property with Python?
Here is how I defined my property:
bpy.data.objects[name of my object]['name of my property'] = 2