sassoftware / sassoftware/python-sasctl
Older examples needs to be updated for JSONFiles API changes
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Python
- Star
- 52
- Fork
- 45
- Merge trung bình
- 23 giờ 38 phút
- Pull request đã merge (30 ngày)
- 2
Mô tả
Describe the issue
This example has some API calls that don't work with the updated version of sasctl - changes to JSONFiles:
https://github.com/sassoftware/python-sasctl/blob/master/examples/pzmmCompleteModelExampleMLFlowSklearn.ipynb
For example, writeModelPropertiesJSON is now write_model_properties_json and has many changes in the parameters.
Other examples:
writeFileMetadataJSON
writeVarJSON
I checked other examples and it seems any of them 6 months or older are now out of date with the newer sasctl API.
To Reproduce
Run this command using latest sasctl
J.writeVarJSON(inputsDict, isInput=True, jPath=zipFolder)
and you will get things like
AttributeError: 'JSONFiles' object has no attribute 'writeVarJSON'. Did you mean: 'write_var_json'?
Version
The SHA is 729e72c8785065109ccfd1ffdb9816d4bf1dce55
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu với examples/pzmmCompleteModelExampleMLFlowSklearn.ipynb và so sánh các lệnh gọi JSONFiles của nó với sasctl API hiện tại. Tìm writeModelPropertiesJSON, writeFileMetadataJSON và writeVarJSON trong các ví dụ khác, sau đó cập nhật các lệnh gọi và tham số đã lỗi thời. Hoàn thành có nghĩa là các ví dụ cũ chạy được với sasctl mới nhất mà không gặp AttributeError đã báo cáo.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python
- Lĩnh vực
- documentation
- Loại issue
- Tài liệu
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100