This would require to specifiy it as a string, and not a tuple, like this :cors_policy = {'origins': '*'...}
But yeah why not, I did that to comply with the tuple form.