from givabit.backend.user import User
from google.appengine.ext import db


class Session(db.Model):
    id = db.StringProperty()
    user = db.ReferenceProperty(User)

    def __str__(self):
        return 'Session<\nid=%s\nuser=%s\n>' % (self.id, self.user)

    def __repr__(self):
        return str(self)

    def __eq__(self, other):
        return self.key() == other.key()

    def __hash__(self):
        return hash(self.key())

a030cd92e26b81ae8746dc3f953e56b2142b7eff
<mask token>


class Session(db.Model):
    <mask token>
    <mask token>
    <mask token>

    def __repr__(self):
        return str(self)
    <mask token>

    def __hash__(self):
        return hash(self.key())

<mask token>


class Session(db.Model):
    <mask token>
    <mask token>
    <mask token>

    def __repr__(self):
        return str(self)

    def __eq__(self, other):
        return self.key() == other.key()

    def __hash__(self):
        return hash(self.key())

<mask token>


class Session(db.Model):
    id = db.StringProperty()
    user = db.ReferenceProperty(User)

    def __str__(self):
        return 'Session<\nid=%s\nuser=%s\n>' % (self.id, self.user)

    def __repr__(self):
        return str(self)

    def __eq__(self, other):
        return self.key() == other.key()

    def __hash__(self):
        return hash(self.key())

from givabit.backend.user import User
from google.appengine.ext import db


class Session(db.Model):
    id = db.StringProperty()
    user = db.ReferenceProperty(User)

    def __str__(self):
        return 'Session<\nid=%s\nuser=%s\n>' % (self.id, self.user)

    def __repr__(self):
        return str(self)

    def __eq__(self, other):
        return self.key() == other.key()

    def __hash__(self):
        return hash(self.key())
