I don't understand why livepony.py
works and deadpony.py
results in error. This shouldn't matter.
$ python3 deadpony.py
Traceback (most recent call last):
File "deadpony.py", line 8, in <module>
class AuthToken(db.Entity):
File "deadpony.py", line 10, in AuthToken
user_uuid = orm.Required(uuid.UUID)
AttributeError: 'PrimaryKey' object has no attribute 'UUID'
Wow, it's amazing how bad of a language python is. You can reference AuthToken.uuid
outside of methods without referencing self
or anything. This is dumb.