feat: add daily manual price review workflow
This commit is contained in:
@@ -10,6 +10,7 @@ from typing import Any, Dict, Mapping, Optional
|
||||
|
||||
from arr_ingestion.contracts import (
|
||||
ARTIFACT_SIZE_LIMITS,
|
||||
LEGACY_RESULT_SCHEMA_VERSION,
|
||||
OPAQUE_ID_RE,
|
||||
PROCESSOR_VERSION_RE,
|
||||
RESULT_SCHEMA_VERSION,
|
||||
@@ -269,7 +270,7 @@ class ProcessingResult:
|
||||
_fail("PROCESSING_CONTRACT_INVALID", "failed result artifact shape is invalid")
|
||||
|
||||
result_schema_version = values.get("result_schema_version")
|
||||
if result_schema_version != RESULT_SCHEMA_VERSION:
|
||||
if result_schema_version != LEGACY_RESULT_SCHEMA_VERSION:
|
||||
_fail("PROCESSING_CONTRACT_INVALID", "result schema version is unsupported")
|
||||
return cls(
|
||||
delivery_id=_opaque(values.get("delivery_id"), "delivery identifier"),
|
||||
|
||||
Reference in New Issue
Block a user