Skip to content

Releases: sassoftware/python-sasctl

v1.6.0

17 Aug 17:15
Compare
Choose a tag to compare

Improvements

  • Session now 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_session now 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 from sasctl.core.request().
  • Dropped support for Python 2.

v1.5.9

09 Jun 21:07
Compare
Choose a tag to compare

Bugfixes

  • Fixed an issue that caused score code generation by pzmm module to fail with Viya 3.5.

v1.5.8

18 May 15:24
Compare
Choose a tag to compare

Bugfixes

  • SSL warnings no longer repeatedly raised when verify_ssl=False but CAS_CLIENT_SSL_CA_LIST is specified.
  • model_repository.delete_model_contents() no longer fails when only one file is found.

Improvements

  • All delete_*() service methods return None instead of empty string.
  • All get_*() service methods issue a warning if multiple items are found when retrieving by name.

v1.5.7

04 May 13:16
Compare
Choose a tag to compare

Bugfixes

  • Fixed an import issue that could cause an error while using the pzmm submodule.

v1.5.6

01 May 19:03
Compare
Choose a tag to compare

Improvements

  • PagedList handles 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

26 Mar 19:46
Compare
Choose a tag to compare

Bugfixes*

  • Fixed an issue with JSON parsing that caused the publish_model task to fail with Viya 4.0.

v1.5.4

29 Oct 22:16
Compare
Choose a tag to compare

Improvements

  • Added the as_swat method to the Session object, allowing connection to CAS through SWAT without an additional authentication step.

Changes

  • Integrated PZMM into Session calls 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

25 Jun 14:54
Compare
Choose a tag to compare

Bugfixes

  • Added PZMM fitstat JSON file to manifest.

v1.5.2

22 Jun 14:35
Compare
Choose a tag to compare

Improvements

  • PZMM module moved from a stand-alone repository to a sasctl submodule.
  • Introduced deprecation warnings for Python 2 users.

v1.5.1

09 Apr 21:01
Compare
Choose a tag to compare

Bugfixes

  • Fixed PyMAS utilities to correctly work functions not bound to pickled objects.
  • Model target variables should no longer appear as an input variable when registering ASTORE models.