From bb986ffc1c1f59664374bb1c2fee592c76ed46ee Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Mon, 17 Jul 2023 21:29:25 -0700 Subject: [PATCH] find_ptransform -> find_port_transform --- masque/ports.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/masque/ports.py b/masque/ports.py index add336c..fcd3ebf 100644 --- a/masque/ports.py +++ b/masque/ports.py @@ -303,7 +303,7 @@ class PortList(metaclass=ABCMeta): """ s_ports = self[map_in.keys()] o_ports = other[map_in.values()] - return self.find_ptransform( + return self.find_port_transform( s_ports=s_ports, o_ports=o_ports, map_in=map_in, @@ -312,7 +312,7 @@ class PortList(metaclass=ABCMeta): ) @staticmethod - def find_ptransform( # TODO needs better name + def find_port_transform( s_ports: Mapping[str, Port], o_ports: Mapping[str, Port], map_in: dict[str, str],