@shared_task()<EOL>def load_deposit(data):
from invenio_db import db<EOL>deposit, dep_pid = create_record_and_pid(data)<EOL>deposit = create_files_and_sip(deposit, dep_pid)<EOL>db.session.commit()<EOL>
Load the raw JSON dump of the Deposition.

    Uses Record API in order to bypass all Deposit-specific initialization,
    which are to be done after the final stage of deposit migration.

    :param data: Dictionary containing deposition data.
    :type data: dict