This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package assert | |
import ( | |
"bytes" | |
"fmt" | |
"reflect" | |
"regexp" | |
"strings" | |
"testing" | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.db import models | |
from fysom_singleton import * | |
class ItemStatus(object): | |
NEW = 'new' | |
NEED_INFO = 'need_info' | |
REVIEWING = 'reviewing' | |
REDOING = 'redoing' | |
CONFLICT = 'conflict' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Tornado app.py | |
from tornado import web, options | |
from tornado.platform.asyncio import AsyncIOMainLoop | |
import asyncio | |
AsyncIOMainLoop().install() | |
import tasks | |
from celery_task_utils import CeleryTaskProxy |