sassoftware / sassoftware/python-sasctl

Older examples needs to be updated for JSONFiles API changes

オープン
#178 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

bug
主要言語
Python
スター
52
フォーク
45
平均マージ
23時間 38分
マージ済み PR(30日)
2

説明

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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

examples/pzmmCompleteModelExampleMLFlowSklearn.ipynb から始め、その JSONFiles 呼び出しを現在の sasctl API と比較します。他の例で writeModelPropertiesJSON、writeFileMetadataJSON、writeVarJSON を検索し、古い呼び出しとパラメーターを更新します。完了の条件は、報告された AttributeError が発生せず、古い例を最新の sasctl で実行できることです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
documentation
issue の種類
ドキュメント
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。