diff --git a/ereuse_devicehub/resources/action/models.py b/ereuse_devicehub/resources/action/models.py index dfa87cb5..cc999136 100644 --- a/ereuse_devicehub/resources/action/models.py +++ b/ereuse_devicehub/resources/action/models.py @@ -740,7 +740,7 @@ class Snapshot(JoinedWithOneDeviceMixin, ActionWithOneDevice): """ uuid = Column(UUID(as_uuid=True), unique=True) - version = Column(StrictVersionType(STR_SM_SIZE), nullable=False) + version = Column(Unicode(STR_SM_SIZE), nullable=False) software = Column(DBEnum(SnapshotSoftware), nullable=False) elapsed = Column(Interval) elapsed.comment = """For Snapshots made with Workbench, the total amount diff --git a/ereuse_devicehub/resources/action/schemas.py b/ereuse_devicehub/resources/action/schemas.py index 5eba4a12..774f8da2 100644 --- a/ereuse_devicehub/resources/action/schemas.py +++ b/ereuse_devicehub/resources/action/schemas.py @@ -442,7 +442,7 @@ class Snapshot(ActionWithOneDevice): required=True, description='The software that generated this Snapshot.', ) - version = Version(required=True, description='The version of the software.') + version = String(required=True, description='The version of the software.') actions = NestedOn(Action, many=True, dump_only=True) elapsed = TimeDelta(precision=TimeDelta.SECONDS) components = NestedOn(