There appears to be several stored procedures that were renamed with sp_rename, causing the syscomments to be left with the old proc name instead 开发者_JAVA百科of the new proc name.
How can I quickly disable all methods in a class instance based on a condition? My naive solution is to override using the __getattr__ but this is not called when the function name exists already.