Skip to content

Commit c8b6716

Browse files
committed
chore: update changelog & remove comment
Signed-off-by: Samuel Babak <samuel.babak@sas.com>
1 parent b96bd36 commit c8b6716

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

CHANGELOG.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
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

1112
v1.11.6 (2025-11-18)

tests/unit/test_misc_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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 '=='

0 commit comments

Comments
 (0)