Unverified Commit fcf8f2bd authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

create new record instance in recordProcessor

parent 1343e617
Pipeline #19044 passed with stages
in 2 minutes and 8 seconds
......@@ -284,6 +284,7 @@ class MediametadataToDB:
record = record_object.value['@graph']
record_id = _get_record_id(record)
logging.debug(f'Processing record {record_id}')
record_processor.new_record(record_id)
access_status = _get_access_status(record, record_id)
for record_resource in record:
if _is_digital_object(record_resource) and _is_playable(access_status):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment