The property callback update_func() receives a reference to the collection coll as the self-argument, not a reference to the property with the callback attached (an item in the collection). It is supposed to be like that?
import bpy
def update_func(self, context):
print(self, context)
class PropGroup(bpy.types.PropertyGroup):
pfloat = bpy.props.FloatProperty(update=update_func)
bpy.utils.register_class(PropGroup)
bpy.types.Scene.coll = bpy.props.CollectionProperty(type=PropGroup)It makes it impossible to have dynamic properties in a collection, 'cause the calling property can't be determined.