Modify proxied parameter Lexicon API

Hi,

I’d like to modify the proxied parameter in Cloudflare DNS entry. I attach the screenshot of the parameter.

When I execute the API with Lexicon in Python the IP changes. However, the proxied parameter doesn’t get affected. Do you know how should I pass the parameter? apparently is a boolean, for what in Python I use True/False

print (“DNS to be changed”)
action = {
“provider_name” : “cloudflare”,
“action”: “update”,
“domain”: “domain.com”,
“type”: “A”,
“name”: “www”,
“proxied”: True,
“content”: currentip,
}
config = ConfigResolver().with_env().with_dict(action)
Client(config).execute()
print (“End of www”)

kind regards,
David