Closed joelittlejohn closed 4 years ago
Still need to bring across the tests and add a couple more.
This one is ready to review.
I took snippets of code and tests from #120 and expanded the tests a little. I also added ensure-ttl
as I think this is how most people will want to apply their configuration (cf. ensure-table
). Also added some docstrings.
One surprise for me in implementing this one is that DynamoDB requires the attribute name to be given when disabling TTL.
Mostly code snippets taken from #120.