Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions archinstall/lib/models/device_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -890,7 +890,7 @@ class PartitionModification:
def __post_init__(self) -> None:
# needed to use the object as a dictionary key due to hash func
if not hasattr(self, '_obj_id'):
self._obj_id: uuid.UUID | str = uuid.uuid4()
self._obj_id = uuid.uuid4()

if self.is_exists_or_modify() and not self.dev_path:
raise ValueError('If partition marked as existing a path must be set')
Expand Down Expand Up @@ -1157,7 +1157,7 @@ class LvmVolume:
def __post_init__(self) -> None:
# needed to use the object as a dictionary key due to hash func
if not hasattr(self, '_obj_id'):
self._obj_id: uuid.UUID | str = uuid.uuid4()
self._obj_id = uuid.uuid4()

@override
def __hash__(self) -> int:
Expand Down