def get_sync_num():
 KEY = datetime.date.today()
 cache.add(KEY, 1)
 return cache.get(KEY)

def get_sync_num ( ) : KEY = datetime . date . today ( ) cache . add ( KEY , 1 ) return cache . get ( KEY )
get the sync_num .