File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1- v1.11.7 (2026-02-20 )
1+ v1.11.7 (2026-03-12 )
22-------------
33** Improvements**
44- Added ` CodeFile ` class to pzmm module for creating and uploading Python code files to SAS Intelligent Decisioning
5- - New method ` write_id_code_file() ` validates and uploads Python code files to specified Viya folders
6- - Accepts code as a raw string, file path, or Path object
7- - Validates code format requirements (execute function, Output docstring, DependentPackages docstring)
8- - Optional validation can be disabled with ` validate_code=False ` parameter
5+ - New method ` write_id_code_file() ` uploads a Python code file to a specified Viya folder and registers it with the Decisions service
6+ - Accepts code as a raw string, file path, or ` Path ` object
7+ - Validates code format via the SAS Viya API before upload; can be disabled with ` validate_code=False `
8+ - Raises ` ValueError ` if the file already exists in the target folder, if the folder is not found, or if validation fails
9+ - Cleans up the uploaded file if Decisions service registration fails
910 - See ` examples/pzmm_id_code_file_example.ipynb ` for usage examples
1011
1112v1.11.6 (2025-11-18)
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ def test_list_packages():
1515
1616 # We know that these packages should always be present
1717 assert packages is not None
18- # assert any(re.match("requests==.*", p) for p in packages)
18+
1919 assert any (
2020 re .match ("sasctl.*" , p ) for p in packages
2121 ) # sasctl may be installed from disk so no '=='
You can’t perform that action at this time.
0 commit comments