@webapp2.cached_property
def user_model(self):
    'Configured user model.'
    cls = self.config['user_model']
    if isinstance(cls, str):
        cls = self.config['user_model'] = webapp2.import_string(cls)
    return cls
Configured user model.
@webapp2.cached_property
def user_model(self):
    
    cls = self.config['user_model']
    if isinstance(cls, str):
        cls = self.config['user_model'] = webapp2.import_string(cls)
    return cls