File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -393,32 +393,6 @@ def __repr__(self):
393393 return self .namespaced_key
394394
395395
396- class CourseData (ScopeData ):
397- """A course scope for authorization in the Open edX platform.
398-
399- This class represents a course scope for authorization in the Open edX platform.
400- """
401-
402- NAMESPACE : ClassVar [str ] = "course-v1"
403-
404- @classmethod
405- def validate_external_key (cls , _ : str ) -> bool :
406- """Validate the external_key format for CourseData.
407-
408- Args:
409- external_key: The external key to validate.
410- """
411- return True
412-
413- def exists (self ) -> bool :
414- """Check if the course exists.
415-
416- Returns:
417- bool: True if the course exists, False otherwise.
418- """
419- return True
420-
421-
422396class SubjectMeta (type ):
423397 """Metaclass for SubjectData to handle dynamic subclass instantiation based on namespace."""
424398
You can’t perform that action at this time.
0 commit comments