Traceback (most recent call last):


 "/app/users/v1/tests/tests.py", line 278, in test_update

response = self.client.get(url)


 "/usr/local/lib/python3.6/site-packages/rest_framework/test.py", line 291, in get

response = super(APIClient, self).get(path, data=data, **extra)


 "/usr/local/lib/python3.6/site-packages/rest_framework/test.py", line 208, in get

return self.generic('GET', path, **r)


 "/usr/local/lib/python3.6/site-packages/rest_framework/test.py", line 237, in generic

method, path, data, content_type, secure, **extra)


 "/usr/local/lib/python3.6/site-packages/django/test/client.py", line 404, in generic

return self.request(**r)


 "/usr/local/lib/python3.6/site-packages/rest_framework/test.py", line 288, in request

return super(APIClient, self).request(**kwargs)


 "/usr/local/lib/python3.6/site-packages/rest_framework/test.py", line 240, in request

request = super(APIRequestFactory, self).request(**kwargs)


 "/usr/local/lib/python3.6/site-packages/django/test/client.py", line 485, in request

raise exc_value


 "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py", line 35, in inner

response = get_response(request)


 "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py", line 128, in _get_response

response = self.process_exception_by_middleware(e, request)


 "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py", line 126, in _get_response

response = wrapped_callback(request, *callback_args, **callback_kwargs)


 "/usr/local/lib/python3.6/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view

return view_func(*args, **kwargs)


 "/usr/local/lib/python3.6/site-packages/rest_framework/viewsets.py", line 90, in view

return self.dispatch(request, *args, **kwargs)


 "/usr/local/lib/python3.6/site-packages/rest_framework/views.py", line 489, in dispatch

response = self.handle_exception(exc)


 "/usr/local/lib/python3.6/site-packages/rest_framework/views.py", line 449, in handle_exception

self.raise_uncaught_exception(exc)


 "/usr/local/lib/python3.6/site-packages/rest_framework/views.py", line 486, in dispatch

response = handler(request, *args, **kwargs)


 "/usr/local/lib/python3.6/site-packages/rest_framework_extensions/cache/decorators.py", line 48, in inner

kwargs=kwargs,


 "/usr/local/lib/python3.6/site-packages/rest_framework_extensions/cache/decorators.py", line 63, in process_cache_response

kwargs=kwargs


 "/usr/local/lib/python3.6/site-packages/rest_framework_extensions/cache/decorators.py", line 94, in calculate_key

kwargs=kwargs,


 "/usr/local/lib/python3.6/site-packages/rest_framework_extensions/key_constructor/constructors.py", line 30, in __call__

return self.get_key(**kwargs)


 "/usr/local/lib/python3.6/site-packages/rest_framework_extensions/key_constructor/constructors.py", line 50, in get_key

kwargs=kwargs


 "/usr/local/lib/python3.6/site-packages/rest_framework_extensions/key_constructor/constructors.py", line 74, in _get_key

self.get_data_from_bits(**_kwargs)


 "/usr/local/lib/python3.6/site-packages/rest_framework_extensions/key_constructor/constructors.py", line 90, in get_data_from_bits

result_dict[bit_name] = bit_instance.get_data(params=params, **kwargs)


 "/usr/local/lib/python3.6/site-packages/rest_framework_extensions/key_constructor/bits.py", line 119, in get_data

if hasattr(request, 'user') and request.user and request.user.is_authenticated():
TypeError: 'bool' object is not callable

Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/virtualenvs/test/lib/python2.7/site-packages/statsmodels/regression/linear_model.py", line 631, in __init__

hasconst=hasconst, **kwargs)


 "/virtualenvs/test/lib/python2.7/site-packages/statsmodels/regression/linear_model.py", line 526, in __init__

weights=weights, hasconst=hasconst, **kwargs)


 "/virtualenvs/test/lib/python2.7/site-packages/statsmodels/regression/linear_model.py", line 95, in __init__

super(RegressionModel, self).__init__(endog, exog, **kwargs)


 "/virtualenvs/test/lib/python2.7/site-packages/statsmodels/base/model.py", line 212, in __init__

super(LikelihoodModel, self).__init__(endog, exog, **kwargs)


 "/virtualenvs/test/lib/python2.7/site-packages/statsmodels/base/model.py", line 63, in __init__

**kwargs)


 "/virtualenvs/test/lib/python2.7/site-packages/statsmodels/base/model.py", line 88, in _handle_data

data = handle_data(endog, exog, missing, hasconst, **kwargs)


 "/virtualenvs/test/lib/python2.7/site-packages/statsmodels/base/data.py", line 630, in handle_data

**kwargs)


 "/virtualenvs/test/lib/python2.7/site-packages/statsmodels/base/data.py", line 65, in __init__

**kwargs)


 "/virtualenvs/test/lib/python2.7/site-packages/statsmodels/base/data.py", line 284, in handle_missing

combined = dict(zip(combined_names, lmap(drop_nans, combined)))


 "/virtualenvs/test/lib/python2.7/site-packages/statsmodels/base/data.py", line 282, in <lambda>

drop_nans = lambda x: cls._drop_nans(x, nan_mask)


 "/virtualenvs/test/lib/python2.7/site-packages/statsmodels/base/data.py", line 478, in _drop_nans

return x.ix[nan_mask]


 "/virtualenvs/test/lib/python2.7/site-packages/pandas/core/indexing.py", line 121, in __getitem__

return self._getitem_axis(key, axis=0)


 "/virtualenvs/test/lib/python2.7/site-packages/pandas/core/indexing.py", line 1077, in _getitem_axis

return self._get_label(key, axis=axis)


 "/virtualenvs/test/lib/python2.7/site-packages/pandas/core/indexing.py", line 136, in _get_label

return self.obj._xs(label, axis=axis)


 "/virtualenvs/test/lib/python2.7/site-packages/pandas/core/generic.py", line 2032, in xs

loc = self.index.get_loc(key)


 "/virtualenvs/test/lib/python2.7/site-packages/pandas/core/indexes/datetimes.py", line 1435, in get_loc

stamp = Timestamp(key, tz=self.tz)


 "pandas/_libs/tslib.pyx", line 402, in pandas._libs.tslib.Timestamp.__new__ (pandas/_libs/tslib.c:10051)


 "pandas/_libs/tslib.pyx", line 1528, in pandas._libs.tslib.convert_to_tsobject (pandas/_libs/tslib.c:28851)
TypeError: Cannot convert input [False] of type <type 'numpy.bool_'> to Timestamp
