Apply Permission Table in Data Model using python

Hello,

Is it possible to automate with python “Apply Permission Table” option in data model data permissions.
2020-08-18