Drop all data and schema.
(self)
| 62 | print("Schema setup complete") |
| 63 | |
| 64 | def reset_database(self): |
| 65 | """Drop all data and schema.""" |
| 66 | print("Dropping all data and schema...") |
| 67 | op = pydgraph.Operation(drop_all=True) |
| 68 | self.client.alter(op) |
| 69 | print("Database reset complete") |
| 70 | |
| 71 | def insert_documents( |
| 72 | self, |