Merge pull request #34454 from qasimgulzar/qasim/DEPR/34342-warning
temp: adding DeprecationWarning to remove neo4j.
This commit is contained in:
@@ -3,7 +3,7 @@ Coursegraph Application Configuration
|
||||
|
||||
Signal handlers are connected here.
|
||||
"""
|
||||
|
||||
import warnings
|
||||
|
||||
from django.apps import AppConfig
|
||||
|
||||
@@ -15,3 +15,11 @@ class CoursegraphConfig(AppConfig):
|
||||
name = 'cms.djangoapps.coursegraph'
|
||||
|
||||
from cms.djangoapps.coursegraph import tasks
|
||||
|
||||
def ready(self) -> None:
|
||||
warnings.warn(
|
||||
"Neo4j support is going to be dropped after Sumac release,"
|
||||
"to read more here is a github issue https://github.com/openedx/edx-platform/issues/34342",
|
||||
DeprecationWarning,
|
||||
stacklevel=2
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user