def _check_datetime_field(name, measure):
    if not isinstance(measure[name], (Date, DateTime)):
        raise TypeError(
            "'{name}' field must be a '{dt}', not: '{dshape}'".format(
                name=name,
                dt=DateTime(),
                dshape=measure[name],
            ),
        )
Enable the blobstore stub.
dataset/ETHPy150Open quantopian/zipline/zipline/pipeline/loaders/blaze/core.py/_check_datetime_field--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/ext/testbed/__init__.py/Testbed.init_blobstore_stub