def spawn(coro):
    if not isinstance(coro, types.GeneratorType):
        raise ValueError(u'%s is not a coroutine' % coro)
    return SpawnEvent(coro)
Convert a time to a datetime for datastore storage.
dataset/ETHPy150Open beetbox/beets/beets/util/bluelet.py/spawn--crossover with--dataset/ETHPy150Open CollabQ/CollabQ/.google_appengine/google/appengine/ext/db/__init__.py/_time_to_datetime