mirror of
https://github.com/norandom/OpenUltraSAST.git
synced 2026-12-04 10:48:19 +00:00
feat(valid-detection-benchmark): 8.3 commit spend before label release with independent V3 case review
This commit is contained in:
@@ -587,7 +587,7 @@ class AdmissionOrchestrator:
|
||||
def _freeze_gate(self, request: AdmissionRunRequestV1) -> None:
|
||||
try:
|
||||
population_freeze_bytes(request.freeze)
|
||||
except (TypeError, ValueError):
|
||||
except (TypeError, ValueError, AttributeError):
|
||||
raise _refused(AdmissionPreflightReason.FREEZE_NOT_ADMISSION_CLASS) from None
|
||||
if request.freeze.population_class is not PopulationClass.ADMISSION:
|
||||
raise _refused(AdmissionPreflightReason.FREEZE_NOT_ADMISSION_CLASS)
|
||||
|
||||
Reference in New Issue
Block a user