# GET NEWS To JSON FILE
def get_news():
r = requests.get("https://nfs.faireconomy.media/ff_calendar_thisweek.json")
json_file = r.json()
# Filter python objects with list comprehensions
output_dict = [x for x in json_file if (x['impact'] == 'High' or x['impact'] == 'Holiday')]
# Transform python object back into json
output_json = json.dumps(output_dict, sort_keys=True, indent=4)
# Show json
# print(output_json)
return output_json
the json file has impact: High , impact: Medium , impact: Low , impact: Holiday.. 4 ways an entry could be in the json file
Now in the code i have only have high and holiday, how can i add low and medium to it while it staying to work