Skip to content

Commit

Permalink
#62 use snapshot's exact uuid
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed Dec 20, 2018
1 parent 9fd3aa6 commit 86e1bc1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ideas/issue_62/snapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ def snapshot_cli():

db = Broker.named("mongodb_config")
RE.subscribe(db.insert)
RE(
uuid_list = RE(
APS_plans.snapshot(
obj_dict.values(),
md=dict(purpose="python code development and testing")))

h = db[-1]
snap = list(db(uuid_list[0]))[0]
#print(h.start)
#print(h.table())
APS_callbacks.SnapshotReport().print_report(h)
APS_callbacks.SnapshotReport().print_report(snap)


if __name__ == "__main__":
Expand Down

0 comments on commit 86e1bc1

Please sign in to comment.