#NEWLINE# @ utils . supported_filters ( [ ] ) #NEWLINE# @ database . run_in_session ( ) #NEWLINE# @ user_api . check_user_permission ( permission . PERMISSION_LIST_METADATAS ) #NEWLINE# @ utils . wrap_to_dict ( RESP_METADATA_FIELDS ) #NEWLINE# def get_flavor_metadata( flavor_id , user = None , session = None , **kwargs ) : #NEWLINE# #INDENT# 'Get flavor metadata by flavor.' #NEWLINE# return { #NEWLINE# #INDENT# 'package_config' : _get_flavor_metadata ( session ) , #NEWLINE# #UNINDENT# }