Add trivial_save.py example
This commit is contained in:
parent
007c22d3e2
commit
68ec5ca286
10
examples/trivial_save.py
Normal file
10
examples/trivial_save.py
Normal file
@ -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")
|
||||||
Loading…
x
Reference in New Issue
Block a user