code: def course_run_detail(self, request, pk, course_id):  # pylint: disable=invalid-name,unused-argument
          
          enterprise_customer_catalog = self.get_object()
          course_run = enterprise_customer_catalog.get_course_run(course_id)
          if not course_run:
              raise Http404
  
          context = self.get_serializer_context()
          context['enterprise_customer_catalog'] = enterprise_customer_catalog
          serializer = serializers.CourseRunDetailSerializer(course_run, context=context)
          return Response(serializer.data)
docs: Return the metadata for the specified course run.
  
          The course run needs to be included in the specified EnterpriseCustomerCatalog
          in order for metadata to be returned from this endpoint.