diff --git a/src/snapred/backend/dao/indexing/Versioning.py b/src/snapred/backend/dao/indexing/Versioning.py index 7f6bcc410..39b99452a 100644 --- a/src/snapred/backend/dao/indexing/Versioning.py +++ b/src/snapred/backend/dao/indexing/Versioning.py @@ -12,6 +12,9 @@ class VersionState(StrEnum): NEXT = "next" +# I'm not sure why ci is failing without this, it doesn't seem to be used anywhere +VERSION_DEFAULT = VersionState.DEFAULT + Version = int | VersionState diff --git a/src/snapred/backend/dao/request/DiffractionCalibrationRequest.py b/src/snapred/backend/dao/request/DiffractionCalibrationRequest.py index f7be8c0b5..f8bff02f2 100644 --- a/src/snapred/backend/dao/request/DiffractionCalibrationRequest.py +++ b/src/snapred/backend/dao/request/DiffractionCalibrationRequest.py @@ -49,6 +49,3 @@ def validate_fwhmMultipliers(cls, v: Any) -> Pair[float]: # Coerce Generic[T]-derived type v = Pair[float](**v.dict()) return v - - -# Comment to appease git, please delete me