From d3b83a7543134a923ac5184ae17a97f1783754e8 Mon Sep 17 00:00:00 2001 From: jan Date: Wed, 19 Nov 2025 02:23:11 -0800 Subject: [PATCH] fixup! [PortPather] add rename_to and rename_from --- masque/builder/pather_mixin.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/masque/builder/pather_mixin.py b/masque/builder/pather_mixin.py index b0ccf61..f2b8229 100644 --- a/masque/builder/pather_mixin.py +++ b/masque/builder/pather_mixin.py @@ -506,7 +506,10 @@ class PortPather: return self def path_from(self, *args, **kwargs) -> Self: + thru = kwargs.pop('thru', None) self.pather.path_into(args[0], self.port, *args[1:], **kwargs) + if thru is not None: + self.rename_from(thru) return self def mpath(self, *args, **kwargs) -> Self: