sassoftware / sassoftware/python-sasctl
Older examples needs to be updated for JSONFiles API changes
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 52
- Fork
- 45
- Merge medio
- 23h 38m
- PR unite (30g)
- 2
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia da examples/pzmmCompleteModelExampleMLFlowSklearn.ipynb e confronta le relative chiamate JSONFiles con l'API sasctl attuale. Cerca writeModelPropertiesJSON, writeFileMetadataJSON e writeVarJSON negli altri esempi, quindi aggiorna le chiamate e i parametri obsoleti. Il lavoro è completato quando gli esempi meno recenti vengono eseguiti con l'ultima versione di sasctl senza l'AttributeError segnalato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- documentation
- Tipo di issue
- Documentazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100