def register(account_type):
  def class_rebuilder(cls):
    ACCOUNT_TYPES[account_type] = cls
    return cls
  return class_rebuilder
Decorator to cause accounts types to be registered.
dataset/ETHPy150Open tomwilkie/awesomation/src/appengine/account.py/register