<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_attr(self, method_name):
 """Get attribute from the target object"""

        return self.attrs.get(method_name) or self.get_callable_attr(method_name)