Skip to content

Commit e61ea69

Browse files
author
Matt Sokoloff
committed
make raster abstract
1 parent 801d702 commit e61ea69

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

labelbox/data/annotation_types/data/raster.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from typing import Callable, Optional
22
from io import BytesIO
3+
from abc import ABC
34

45
import numpy as np
56
from pydantic import BaseModel
@@ -13,7 +14,7 @@
1314
from ..types import TypedArray
1415

1516

16-
class RasterData(BaseModel):
17+
class RasterData(BaseModel, ABC):
1718
"""
1819
Represents an image or segmentation mask.
1920
"""

0 commit comments

Comments
 (0)