MCPcopy Create free account
hub / github.com/JacquesLucke/code_autocomplete / __repr__

Method __repr__

documentation.py:440–445  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

438 return [output.name for output in self.outputs]
439
440 def __repr__(self):
441 output_names = ", ".join(self.get_output_names())
442 if output_names != "": output_names = " -> " + output_names
443 function_string = self.name + "(" + ", ".join(self.get_input_names()) + ")" + output_names
444 if self.owner is None: return function_string
445 else: return self.owner + "." + function_string
446
447
448class TypeDocumentation:

Callers

nothing calls this directly

Calls 2

get_output_namesMethod · 0.95
get_input_namesMethod · 0.95

Tested by

no test coverage detected