Custom completer dispatching for python objects. Parameters ---------- obj : object The object to complete. prev_completions : list List of attributes discovered so far. This should return the list of attributes in obj. If you only wish to add to the attribu
(obj, prev_completions)
| 14 | |
| 15 | @singledispatch |
| 16 | def complete_object(obj, prev_completions): |
| 17 | """Custom completer dispatching for python objects. |
| 18 | |
| 19 | Parameters |
| 20 | ---------- |
| 21 | obj : object |
| 22 | The object to complete. |
| 23 | prev_completions : list |
| 24 | List of attributes discovered so far. |
| 25 | |
| 26 | This should return the list of attributes in obj. If you only wish to |
| 27 | add to the attributes already discovered normally, return |
| 28 | own_attrs + prev_completions. |
| 29 | """ |
| 30 | raise TryNext |
nothing calls this directly
no outgoing calls
no test coverage detected