def __init__(self, offset):
    super(TimeZoneOffset, self).__init__()
    if isinstance(offset, datetime.timedelta):
      offset = offset.total_seconds()
    self.__offset = offset
Get the User Document class user for MongoEngine authentication.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/protorpc/protorpc/util.py/TimeZoneOffset.__init__--crossover with--dataset/ETHPy150Open omab/python-social-auth/social/apps/django_app/me/models.py/_get_user_model