diff --git a/examples/trivial_save.py b/examples/trivial_save.py new file mode 100644 index 0000000..03cb26b --- /dev/null +++ b/examples/trivial_save.py @@ -0,0 +1,10 @@ +import dprov + +if __name__ == "__main__": + + # Inspect the schema of the default in-memory database (created on first + # import of dprov module) + for c in dprov._conn.iterdump(): + print(c) + + dprov.save_data({}, desc="This example script actually saves nothing")