Cleanup DB before loading
Browse files- .github/load.py +2 -0
.github/load.py
CHANGED
@@ -1,4 +1,6 @@
|
|
|
|
1 |
from wilhelm_python_sdk.german_neo4j_loader import load_into_database
|
2 |
|
3 |
if __name__ == "__main__":
|
|
|
4 |
load_into_database("german.yaml")
|
|
|
1 |
+
from wilhelm_python_sdk.database_manager import cleanup_neo4j
|
2 |
from wilhelm_python_sdk.german_neo4j_loader import load_into_database
|
3 |
|
4 |
if __name__ == "__main__":
|
5 |
+
cleanup_neo4j()
|
6 |
load_into_database("german.yaml")
|