How to use Revit api "Documentedchange Event" in Python?

Dynamo generally doesn’t work in a way which supports events to my knowledge.

It would probably be possible using an addin to load dynamo and run a script when an event is detected, but unless it’s an infrequent event it might cause issues or just slow the overall experience. At that point you’d likely just code the addin to run code after the event anyway.

Maybe look into pyRevit and its ‘hook’ system which enables scripts written in Python whilst detecting events.