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