From 58f9485163aefdc3cb2a2a8b0b3c30af9b23ce8c Mon Sep 17 00:00:00 2001 From: Zacharis278 Date: Fri, 19 Jan 2024 14:36:29 -0500 Subject: [PATCH] feat: remove duplicate --- lti_consumer/api.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lti_consumer/api.py b/lti_consumer/api.py index de85405d..768b3649 100644 --- a/lti_consumer/api.py +++ b/lti_consumer/api.py @@ -8,7 +8,6 @@ import json from opaque_keys.edx.keys import CourseKey -from edx_django_utils.monitoring import function_traceyy from lti_consumer.lti_1p3.constants import LTI_1P3_ROLE_MAP from .models import CourseAllowPIISharingInLTIFlag, LtiConfiguration, LtiDlContentItem @@ -97,7 +96,7 @@ def config_id_for_block(block): config = _get_lti_config_for_block(block) return config.config_id -@function_trace('lti_consumer.api.get_lti_consumer') + def get_lti_consumer(config_id): """ Retrieves an LTI Consumer instance for a given configuration.