Thanks! I fully get it now.
I have never done this. For all I know, it should be possible with the Rest APIs, making calls from any environment (aka Python - your IDE) to SAS Model Manager restAPIs. Please see the links at the bottom!
There is also the sas-viya CLI, that you could install, and has some functions to interact with SAS Model Manager from anything that can shell commands (os.system package). sas-viya CLI has a models plugin to interact with SAS Model Manager.
Moreover, reading the documentation, I just learnt: SAS Model Manager uses Kaniko in the background for publishing models, so you could alternatively use GIT & Docker instead, as documented:
https://documentation.sas.com/doc/en/mdlmgrcdc/v_050/mdlmgrug/n1nrmfpk1ysdt6n1a3ysrcljhuuy.htm
https://github.com/sassoftware/model-management-resources/blob/main/examples/OpenShiftContainerImages.md
I am sure you could build something nice around that piece of knowledge.
Those should be the basics IMHO.
Some additional findings:
- This github project is a compilation of rest API sample usage of SAS Model Manager in SAS VIya 3.5. THere might be some differences with Viya 4, but assume most of it will be very similar
https://github.com/sassoftware/devsascom-rest-api-samples/blob/master/DecisionManagement/modelManagement.md
- I would keep this other project as your bible for SAS Model Manager:
https://github.com/sassoftware/model-management-resources
https://developer.sas.com/rest-apis?categories=models_and_decisions
... View more