MCPcopy Create free account
hub / github.com/kiibohd/controller / get_method_dict

Function get_method_dict

Lib/host.py:630–637  ·  view source on GitHub ↗

Given an object return a dictionary of function name:function mappings

( obj )

Source from the content-addressed store, hash-verified

628### Functions ###
629
630def 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
640def refresh_callback():

Callers 2

build_command_listMethod · 0.85
build_callback_listMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…