def produce_immutables_list(json_doc):
immutables_list = []
for property in json_doc:
# Add only readonly attributes
if 'mutable' in property and not property['mutable'] and not property['readonly']:
immutables_list.append(property['name'])
return immutables_list
评论列表
文章目录