tasks.register_model function incorrectly allows users to import Python models to SAS Viya 4

Offen
#137 0 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@smlindauer arbeitet bereits daran.

Seit 10.11.2022.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

bug

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

Vorherrschende Sprache
Python
Sterne
52
Forks
45
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus sassoftware/python-sasctl

Alle Issues in sassoftware/python-sasctl

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.