chore: Test if raised error will be caught

Test if error raised inside python example will be caught

Chore COG-686
This commit is contained in:
Igor Ilic 2024-11-29 13:45:38 +01:00
parent c7a8d2995b
commit f363ece4a7

View file

@ -9,6 +9,7 @@ from cognee.api.v1.search import SearchType
async def main():
raise ValueError
# Create a clean slate for cognee -- reset data and system state
print("Resetting cognee data...")
await cognee.prune.prune_data()