nagyv / s3stat

An open-source s3stat service clone
https://pypi.python.org/pypi/s3stat
MIT License
32 stars 8 forks source link

Unclear definition of date type #3

Open NinnOgTonic opened 10 years ago

NinnOgTonic commented 10 years ago

When calling the constructor the date type is expected to be a string of "YYYY-MM-DD" based of the documentation, but when creating a custom i had to use a datetime object:

from datetime import datetime ... mytask = MyS3Stat("the_bucket", "S3-logs/", datetime(2014, 07, 16), ("xxx", "xxx"))