add missing returns

This commit is contained in:
jan 2023-11-18 12:28:33 -08:00
parent 1f6d78386c
commit 2516f06e40

View File

@ -192,22 +192,27 @@ class Builder(PortList):
@wraps(Pattern.label) @wraps(Pattern.label)
def label(self, *args, **kwargs) -> Self: def label(self, *args, **kwargs) -> Self:
self.pattern.label(*args, **kwargs) self.pattern.label(*args, **kwargs)
return self
@wraps(Pattern.ref) @wraps(Pattern.ref)
def ref(self, *args, **kwargs) -> Self: def ref(self, *args, **kwargs) -> Self:
self.pattern.ref(*args, **kwargs) self.pattern.ref(*args, **kwargs)
return self
@wraps(Pattern.polygon) @wraps(Pattern.polygon)
def polygon(self, *args, **kwargs) -> Self: def polygon(self, *args, **kwargs) -> Self:
self.pattern.polygon(*args, **kwargs) self.pattern.polygon(*args, **kwargs)
return self
@wraps(Pattern.rect) @wraps(Pattern.rect)
def rect(self, *args, **kwargs) -> Self: def rect(self, *args, **kwargs) -> Self:
self.pattern.rect(*args, **kwargs) self.pattern.rect(*args, **kwargs)
return self
@wraps(Pattern.path) @wraps(Pattern.path)
def path(self, *args, **kwargs) -> Self: def path(self, *args, **kwargs) -> Self:
self.pattern.path(*args, **kwargs) self.pattern.path(*args, **kwargs)
return self
def plug( def plug(
self, self,