def get_registered_trophy_types():
 warnings.warn(u'get_registered_trophy_types() is deprecated. Please iterate through reviewboard.accounts.trophies:trophies_registry instead.', DeprecationWarning)
 return {trophy.category: trophy for trophy in trophies_registry}

def get_registered_trophy_types ( ) : warnings . warn ( u'get_registered_trophy_types() is deprecated. Please iterate through reviewboard.accounts.trophies:trophies_registry instead.' , DeprecationWarning ) return { trophy . category : trophy for trophy in trophies_registry }
return all registered trophy types .