Skip to content

Commit

Permalink
Merge pull request #34454 from qasimgulzar/qasim/DEPR/34342-warning
Browse files Browse the repository at this point in the history
temp: adding DeprecationWarning to remove neo4j.
  • Loading branch information
bmtcril authored Apr 3, 2024
2 parents e496285 + 2eba42c commit 704c2e5
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion cms/djangoapps/coursegraph/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Signal handlers are connected here.
"""

import warnings

from django.apps import AppConfig

Expand All @@ -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
)

0 comments on commit 704c2e5

Please sign in to comment.