I am currnettly calling an API and apssing the values into the API below.
body = f"""{
"projectKey": {function(Data["key"].value)},
"summary": "Data for alert: {account_id}}",
"description": "New issue from prisma alertId: {alert_id} and accountId:{account_id}",
"reporter": "username",
"issueType": {Data["Key"].value}
}"""
I receive SyntaxError: f-string: single '}' is not allowed
It looks like when I make a requests call I have to implement brackets in the is? example. And this causes an error. I'm wondering if there's a way around th