From 03dd9bbc3d093e51b04bc8a0a366984fac092ab3 Mon Sep 17 00:00:00 2001 From: Arunmozhi Date: Thu, 9 Nov 2023 13:25:35 +0530 Subject: [PATCH] fix: remove typing that breaks causes import failures --- enterprise/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/enterprise/utils.py b/enterprise/utils.py index 99a4a75349..32770d8b52 100644 --- a/enterprise/utils.py +++ b/enterprise/utils.py @@ -2385,7 +2385,7 @@ def truncate_string(string, max_length=MAX_ALLOWED_TEXT_LENGTH): return (string, was_truncated) -def ensure_course_enrollment_is_allowed(course_id: str, email: str, enrollment_api_client: EnrollmentApiClient): +def ensure_course_enrollment_is_allowed(course_id, email, enrollment_api_client): """ Create a CourseEnrollmentAllowed object for invitation-only courses.