Пример #1
0
    def __init__(self, ctx, database):
        # Default interval is last week
        self.default_args['start_time'] = int(time.time()) - 7*24*3600
        self.default_args['end_time'] = int(time.time())

        TableBase.__init__(self, ctx, database)
Пример #2
0
 def __init__(self, ctx, database):
     TableBase.__init__(self, ctx, database)