Skip to content

Commit b7310a7

Browse files
author
Matt Sokoloff
committed
add return type
1 parent bc83de9 commit b7310a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

labelbox/data/annotation_types/geometry/geometry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def raster(self, *args, **kwargs) -> np.ndarray:
2727
raise NotImplementedError("Subclass must override this")
2828

2929
def get_or_create_canvas(self, height: Optional[int], width: Optional[int],
30-
canvas: Optional[np.ndarray]):
30+
canvas: Optional[np.ndarray]) -> np.ndarray:
3131
if canvas is None:
3232
if height is None or width is None:
3333
raise ValueError(

0 commit comments

Comments
 (0)