From 90b3157b0032fe6f081414c4d724319e18d27d7c Mon Sep 17 00:00:00 2001 From: jan Date: Wed, 19 Nov 2025 00:32:14 -0800 Subject: [PATCH] [PatherMixin] add at() for generating PortPather --- 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 571f0bb..9319a59 100644 --- a/masque/builder/pather_mixin.py +++ b/masque/builder/pather_mixin.py @@ -440,6 +440,9 @@ class PatherMixin(metaclass=ABCMeta): self.pattern.flatten(self.library) return self + def at(self, portspec: str) -> 'PortPather': + return PortPather(portspec, self) + class PortPather: