type annotation updates
This commit is contained in:
parent
3d50ff0070
commit
9d5b1ef5e6
15 changed files with 28 additions and 28 deletions
|
|
@ -93,7 +93,7 @@ class Port(PositionableImpl, Rotatable, PivotableImpl, Copyable, Mirrorable):
|
|||
def copy(self) -> Self:
|
||||
return self.deepcopy()
|
||||
|
||||
def get_bounds(self):
|
||||
def get_bounds(self) -> NDArray[numpy.float64]:
|
||||
return numpy.vstack((self.offset, self.offset))
|
||||
|
||||
def set_ptype(self, ptype: str) -> Self:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue