"""Validation error constants.""" # If the ingestion gets to validate_product before the assets have # enough time to process we might get these validation errors. # Those errors go away if we just wait for the assets to finish processing. ARTWORK_ASSET_ERROR = 'Artwork has not been uploaded successfully.' AUDIO_ASSET_ERROR = 'Field `audio_file` is required' WAIT_FOR_ASSET_PROCESSING_ERRORS = [ARTWORK_ASSET_ERROR, AUDIO_ASSET_ERROR]