How does python3 dynamically add decorators to a specified batch of functions under a py?

Hello, everyone. The thing is, there is a micro service. Now you need to add decorators to different functions under different py, although you can add one by one manually, but it feels very slow, so is there a way to dynamically add decorators to each function you need, and then you can use it at any time? Thank you

Nov.09,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e9cc5f-1900.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e9cc5f-1900.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?