Given an object return a dictionary of function name:function mappings
( obj )
| 628 | ### Functions ### |
| 629 | |
| 630 | def get_method_dict( obj ): |
| 631 | ''' |
| 632 | Given an object return a dictionary of function name:function mappings |
| 633 | ''' |
| 634 | output = {} |
| 635 | for name, function in inspect.getmembers( obj, predicate=inspect.ismethod ): |
| 636 | output[ name ] = function |
| 637 | return output |
| 638 | |
| 639 | |
| 640 | def refresh_callback(): |
no outgoing calls
no test coverage detected
searching dependent graphs…