Releases: sassoftware/python-sasctl
Releases · sassoftware/python-sasctl
v1.6.0
Improvements
- Sessionnow supports authorization using OAuth2 tokens. Use the- token=parameter in the constructor when
 an existing access token token is known. Alternatively, omitting the- username=and- password=parameters
 will now prompt the user for an auth code.
Changes
- current_sessionnow stores & returns the most recently created session, not the first created session. This
 was done to alleviate quirks where an old, expired session is implicitly used instead of a newly-created session.
- Removed deprecated raw=parameter fromsasctl.core.request().
- Dropped support for Python 2.
v1.5.9
v1.5.8
Bugfixes
- SSL warnings no longer repeatedly raised when verify_ssl=FalsebutCAS_CLIENT_SSL_CA_LISTis specified.
- model_repository.delete_model_contents()no longer fails when only one file is found.
Improvements
- All delete_*()service methods returnNoneinstead of empty string.
- All get_*()service methods issue a warning if multiple items are found when retrieving by name.
v1.5.7
v1.5.6
Improvements
- PagedListhandles situations where the server over-estimates the number of items available for paging.
- The version of SAS Viya on the server can now be determined using sasctl.platform_version().
Bugfixes
- Reworked the model_repository.get_repository()to prevent HTTP 403 errors that could occur with some Viya environments.
v1.5.5
v1.5.4
Improvements
- Added the as_swatmethod to theSessionobject, allowing connection to CAS through SWAT without an additional authentication step.
Changes
- Integrated PZMM into Sessioncalls and removed redundant function calls in PZMM.
- ROC and Lift statistic JSON files created by PZMM are now generated through CAS actionset calls.
- Updated the PZMM example notebook, FleetMaintenance.ipynb, to include integration of PZMM with sasctl functions.
Bugfixes
- Reworked the model_repository.get_repository()to prevent HTTP 403 errors that could occur with some Viya environments.
v1.5.3
v1.5.2
Improvements
- PZMM module moved from a stand-alone repository to a sasctl submodule.
- Introduced deprecation warnings for Python 2 users.