in pulsar/schema/definition.py [0:0]
def _string_representation(x): if hasattr(x, "__name__"): return x.__name__ else: return str(x)