nancy/examples/trivial_save.py

11 lines
279 B
Python

import nancy
if __name__ == "__main__":
# Inspect the schema of the default in-memory database (created on first
# import of nancy module)
for c in nancy._conn.iterdump():
print(c)
nancy.save_data({}, desc="This example script actually saves nothing")