sassoftware / sassoftware/python-sasctl
tasks.register_model function incorrectly allows users to import Python models to SAS Viya 4
@smlindauer がすでに取り組んでいます。
2022年11月10日 から。
- 主要言語
- Python
- スター
- 52
- フォーク
- 45
- 平均マージ
- 23時間 38分
- マージ済み PR(30日)
- 2
説明
Describe the issue
As seen in issue #136, when attempting to import a Python model with register_model() to SAS Viya 4, the normal process for SAS Viya 3.5 is used which produces a DS2 wrapped version of the Python model. This approach is not valid in SAS Viya 4, as SAS Model Manager creates the DS2 wrapper when publishing or scoring the model.
To Reproduce
Follow any of the example scripts that use register_model() to import a Python model.
Expected behavior
python-sasctl should be checking against the version of SAS Viya that register_model is attempting to import to. If a Python model is detected and SAS Viya 4 is detected, an error should be produced stating that this function cannot import models into SAS Viya 4 successfully.
Version
1.7.3
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
評価
この issue はまだ評価されていません。