python-sasctl icon indicating copy to clipboard operation
python-sasctl copied to clipboard

Possibility to create .py files without a connection to Viya

Open ccaceres1974 opened this issue 4 years ago • 1 comments

I executed the example in: https://github.com/sassoftware/python-sasctl/blob/master/examples/FleetManagement.ipynb however, in order to have the complete set of files (pickle, .py, etc) a connection to SAS Viya is required. I would like to have an option to create all the files in a offline way because I am using the SAS Viya 4 Trials available in SAS website and there is no way to connect directly to that SAS Viya 4 Trial.

ccaceres1974 avatar Jun 25 '21 14:06 ccaceres1974

@ccaceres1974,

For SAS Viya 3.5, score code is not generated until after the model is placed onto the server, due to needing the model UUID in order to access the score resources. For SAS Viya 3.5 users, would it still be useful to have an option for offline use, even if the score code would not technically be valid? Furthermore, the generation of the DS2 versions of the score code is through an API, so those would also not be created for the user.

For SAS Viya 4, I don't see any issue in adding this option to creating the files for the model, as no API communication to SAS Viya is needed until the model registration step.

smlindauer avatar Jun 22 '22 17:06 smlindauer