diff --git a/affine/collection.py b/affine/collection.py index 3997b22..3744b7c 100644 --- a/affine/collection.py +++ b/affine/collection.py @@ -177,6 +177,14 @@ def __post_init__(self): ) self.id = None + @property + def id(self) -> str | None: + return self._id + + @id.setter + def id(self, value: str): + self._id = value + @classmethod def get_vector_fields( cls: Type["Collection"],