From e320fd4a2009aa4c155d0cbbdd549a9f07295108 Mon Sep 17 00:00:00 2001 From: XDtim Date: Mon, 3 Jul 2017 17:30:00 -0600 Subject: [PATCH] Impliment review comments from @nsoranzo --- lib/galaxy/model/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/galaxy/model/__init__.py b/lib/galaxy/model/__init__.py index c8a73ed0c28..1484a6eb8b3 100644 --- a/lib/galaxy/model/__init__.py +++ b/lib/galaxy/model/__init__.py @@ -152,9 +152,9 @@ class User( object, Dictifiable ): histories, credentials, and roles. """ # attributes that will be accessed and returned when calling to_dict( view='collection' ) - dict_collection_visible_keys = ( 'id', 'email', 'username', 'deleted', 'purged', 'active', 'last_password_change' ) + dict_collection_visible_keys = ( 'id', 'email', 'username', 'deleted', 'active', 'last_password_change' ) # attributes that will be accessed and returned when calling to_dict( view='element' ) - dict_element_visible_keys = ( 'id', 'email', 'username', 'total_disk_usage', 'nice_total_disk_usage' ) + dict_element_visible_keys = ( 'id', 'email', 'username', 'total_disk_usage', 'nice_total_disk_usage', 'deleted', 'active', 'last_password_change' ) def __init__( self, email=None, password=None ): self.email = email