/
githubmirror
/
edx-platform
Обзор
Документация
Войти
/
githubmirror
/
edx-platform
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
release-ulmo
xmodule/data.py
25 строк
713 B
Muhammad Umar Khan
Revert "Revert "refactor: move xmodule folder to root""
20 июн 2022, 16:20
Не верифицирован
20 июн 2022, 16:20
a389a9f
Код
Авторство
О чём код?
""" Public data structures for this app. See OEP-49 for details """ from enum import Enum class CertificatesDisplayBehaviors(str, Enum): """ Options for the certificates_display_behavior field of a course end: Certificates are available at the end of the course end_with_date: Certificates are available after the certificate_available_date (post course end) early_no_info: Certificates are available immediately after earning them. Only in affect for instructor based courses. """ END = "end" END_WITH_DATE = "end_with_date" EARLY_NO_INFO = "early_no_info" @classmethod def includes_value(cls, value): return value in set(item.value for item in cls)