How to edit node properties programmatically?

I want to edit node properties via flask-api but till now didn't found any solution.
The main problem is that if I edit a new property using SET clause SET - Cypher Manual then how to do it dynamically so that my code dont get obselete.

For example, I wish add a property in Genre (Movie template) called "Genre_style" dynamically.
How to do it ?
Here below is the code snippet from movie template which has id , name property and I wish to add "Genre_style" property dynamically.

class GenreModel(Schema):

type = 'object'

properties = {

    'id': {

        'type': 'integer',

    },

    'name': {

        'type': 'string',

    }

}

You can use apoc's procedure to achieve that, see here