Skip to content

Commit

Permalink
[meta][xs]: include creation time in dp.json - fixes #38
Browse files Browse the repository at this point in the history
  • Loading branch information
zelima committed Mar 7, 2018
2 parents 5970e96 + 374ce4b commit ecbe76f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions planner/planner.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ def _plan(revision, spec, **config):
acl = 'private'

update_time = meta.get('update_time')
create_time = meta.get('create_time')

inputs = spec.get('inputs', [])
assert len(inputs) == 1, 'Only supporting one input atm'
Expand All @@ -50,11 +51,8 @@ def _plan(revision, spec, **config):
'owner': owner,
'findability': findability,
'flowid': flow_id,
# 'stats': {
# 'rowcount': 0,
# 'bytes': 0,
# },
'modified': update_time,
'created': create_time,
'id': dataset_id
})

Expand Down

0 comments on commit ecbe76f

Please sign in to comment.