From 69e6b1bff1c365c197792eb678cfd68fb8ce508e Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Tue, 11 Nov 2025 20:52:33 -0800 Subject: [PATCH] fixup! [Pather / RenderPather] move common functionality into PatherMixin; redo hierarchy --- masque/builder/pather_mixin.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/masque/builder/pather_mixin.py b/masque/builder/pather_mixin.py index 4cb8ce9..e2c7eee 100644 --- a/masque/builder/pather_mixin.py +++ b/masque/builder/pather_mixin.py @@ -203,7 +203,6 @@ class PatherMixin(metaclass=ABCMeta): portspec_src: str, portspec_dst: str, *, - tool_port_names: tuple[str, str] = ('A', 'B'), out_ptype: str | None = None, plug_destination: bool = True, **kwargs, @@ -226,9 +225,6 @@ class PatherMixin(metaclass=ABCMeta): Args: portspec_src: The name of the starting port into which the wire will be plugged. portspec_dst: The name of the destination port. - tool_port_names: The names of the ports on the generated pattern. It is unlikely - that you will need to change these. The first port is the input (to be - connected to `portspec`). out_ptype: Passed to the pathing tool in order to specify the desired port type to be generated at the destination end. If `None` (default), the destination port's `ptype` will be used. @@ -284,7 +280,7 @@ class PatherMixin(metaclass=ABCMeta): if plug_destination: dst_extra_args['plug_into'] = portspec_dst - src_args = {**kwargs, 'tool_port_names': tool_port_names} + src_args = {**kwargs} dst_args = {**src_args, **dst_extra_args} if src_is_horizontal and not dst_is_horizontal: # single bend should suffice