Closed noraa-july-stoke closed 1 year ago
I have read the CLA Document and I hereby sign the CLA
I removed the optional bit from the json_ai_code since we changed it to a new function altogether. I should have done that in the first place 😅. I can probably tackle the next bit (producing json_ai internally) next week at some point.
Thanks for your contribution @noraa-july-stoke 🙌
update save method on PredictorInterface class: lightwood/lightwood/api/predictor.py[lines: 141-206]
The function now optionally takes in a string that that user has gotten from calling code_from_json_ai() and saves it to a dict. @paxcema when I initially was typing my idea out in the issue thread I wasn't sure what the datatype being returned was for code_from_json_ai() but I poked around and found it's a string so can we just save it like that?
See contributor comments above modification... I left some of my thought processes in there so you could follow my logic. (I'm still figuring out the code base).
closes #852