Did I find the right examples for you? yes no

All Samples(8)  |  Call(4)  |  Derive(0)  |  Import(4)

        def unix_time(dt):
    return calendar.timegm(dt.timetuple())
        


src/m/o/moto-0.2.22/moto/dynamodb2/models.py   moto(Download)
from moto.core import BaseBackend
from .comparisons import get_comparison_func
from .utils import unix_time
 
 
            'KeySchema': self.schema, 
            'ItemCount': len(self), 
            'CreationDateTime': unix_time(self.created_at)
            }
        }

src/m/o/moto-0.2.22/moto/dynamodb/models.py   moto(Download)
from moto.core import BaseBackend
from .comparisons import get_comparison_func
from .utils import unix_time
 
 
    def describe(self):
        results = {
            "Table": {
                "CreationDateTime": unix_time(self.created_at),
                "KeySchema": {

src/m/o/moto-HEAD/moto/dynamodb2/models.py   moto(Download)
from moto.core import BaseBackend
from .comparisons import get_comparison_func
from .utils import unix_time
 
 
            'KeySchema': self.schema, 
            'ItemCount': len(self), 
            'CreationDateTime': unix_time(self.created_at)
            }
        }

src/m/o/moto-HEAD/moto/dynamodb/models.py   moto(Download)
from moto.core import BaseBackend
from .comparisons import get_comparison_func
from .utils import unix_time
 
 
    def describe(self):
        results = {
            "Table": {
                "CreationDateTime": unix_time(self.created_at),
                "KeySchema": {