Python create node in config

I want to add a static lease to modem configuration from python.

I’m able to read and write values using these paths using config.get and config.set:
network.interface.eth.ipv4.dhcp_server.advanced.static_lease.0.name
network.interface.eth.ipv4.dhcp_server.advanced.static_lease.0.mac
network.interface.eth.ipv4.dhcp_server.advanced.static_lease.0.ip

But initially this path doesn’t have static_lease_node and didn’t find a way to create it and add a lease item in his collection.

Thanks for support