Skip to content

Commit

Permalink
Add key property to function call, clean up whitespace (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
luandy64 authored Nov 15, 2018
1 parent bb63763 commit 2cdb93f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@ library:
import singer

singer.write_schema('my_table',
{'properties':{'id': {'type': 'string', 'key': True}}})
{'properties':{'id': {'type': 'string', 'key': True}}},
['id'])
singer.write_records('my_table',
[{'id': 'b'}, {'id':'d'}])
[{'id': 'b'}, {'id':'d'}])
singer.write_state({'my_table': 'd'})
```

Expand Down

0 comments on commit 2cdb93f

Please sign in to comment.