sassoftware / sassoftware/python-sasctl
tasks.register_model function incorrectly allows users to import Python models to SAS Viya 4
@smlindauer ya está trabajando en esto.
Desde el 10/11/2022.
- Lenguaje dominante
- Python
- Estrellas
- 52
- Forks
- 45
- Merge medio
- 23 h 38 min
- PR fusionados (30 d)
- 2
Descripción
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
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Evaluación
Este issue todavía no se ha evaluado.