From 10436b59f45e2291b132a5613031a0d7b8d8fdb4 Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Sat, 7 Oct 2023 01:50:22 -0700 Subject: [PATCH] repr updates --- masque/builder/builder.py | 2 +- masque/builder/pather.py | 3 ++- masque/builder/renderpather.py | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/masque/builder/builder.py b/masque/builder/builder.py index d1f8d21..834171b 100644 --- a/masque/builder/builder.py +++ b/masque/builder/builder.py @@ -381,7 +381,7 @@ class Builder(PortList): return self def __repr__(self) -> str: - s = f'' # TODO maybe show lib and tools? in builder repr? + s = f'' return s diff --git a/masque/builder/pather.py b/masque/builder/pather.py index 37b01ac..f9e0186 100644 --- a/masque/builder/pather.py +++ b/masque/builder/pather.py @@ -1,6 +1,7 @@ from typing import Self, Sequence, MutableMapping, Mapping import copy import logging +from pprint import pformat import numpy from numpy import pi @@ -196,7 +197,7 @@ class Pather(Builder): return new def __repr__(self) -> str: - s = f'' # TODO maybe show lib and tools? in builder repr? + s = f'' return s def retool( diff --git a/masque/builder/renderpather.py b/masque/builder/renderpather.py index f5bf481..8997182 100644 --- a/masque/builder/renderpather.py +++ b/masque/builder/renderpather.py @@ -2,6 +2,7 @@ from typing import Self, Sequence, Mapping, MutableMapping import copy import logging from collections import defaultdict +from pprint import pformat import numpy from numpy import pi @@ -508,7 +509,7 @@ class RenderPather(PortList): return self def __repr__(self) -> str: - s = f'' # TODO maybe show lib and tools? in builder repr? + s = f'' return s