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.