From 45f6daa85f05ad916db04791779d3acd06d05897 Mon Sep 17 00:00:00 2001 From: Bryann Valderrama Date: Mon, 15 Apr 2024 11:13:37 -0500 Subject: [PATCH] chore: address PR review --- openassessment/xblock/ui_mixins/legacy/handlers_mixin.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openassessment/xblock/ui_mixins/legacy/handlers_mixin.py b/openassessment/xblock/ui_mixins/legacy/handlers_mixin.py index 7d8ef669aa..882cae116f 100644 --- a/openassessment/xblock/ui_mixins/legacy/handlers_mixin.py +++ b/openassessment/xblock/ui_mixins/legacy/handlers_mixin.py @@ -71,11 +71,11 @@ def send_ora_submission_created_event(submission: dict) -> None: Args: submission (dict): The submission data """ + # This import is here to avoid a circular import from openassessment.xblock.openassessmentblock import OpenAssessmentBlock - file_downloads = OpenAssessmentBlock.get_download_urls_from_submission( - submission - ) + file_downloads = OpenAssessmentBlock.get_download_urls_from_submission(submission) + # .. event_implemented_name: ORA_SUBMISSION_CREATED ORA_SUBMISSION_CREATED.send_event( submission=ORASubmissionData( id=submission.get("uuid"),