/
githubmirror
/
edx-platform
Обзор
Документация
Войти
/
githubmirror
/
edx-platform
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
release-ulmo
openedx/core/djangoapps/credentials/api.py
15 строк
548 B
Justin Hynes
feat: update task and signals responsible for cert available dates in Credentials
18 мар 2024, 15:30
18 мар 2024, 15:30
8d7a13f
Код
Авторство
О чём код?
""" Python APIs exposed by the credentials app to other in-process apps. """ from openedx.core.djangoapps.credentials.models import CredentialsApiConfig def is_credentials_enabled(): """ A utility function wrapping the `is_learner_issurance_enabled` utility function of the CredentialsApiConfig model. Intended to be an easier to read/grok utility function that informs the caller if use of the Credentials IDA is enabled for this Open edX instance. """ return CredentialsApiConfig.current().is_learner_issuance_enabled