-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Labels
questionIssue only concerns a or multiple questions.Issue only concerns a or multiple questions.
Description
Hello, I am currently trying to save a loaded model (it has a few steps through it, I want to save the state) in a database, then return to it. See the python code (which load_model and runs model.do_step) is being called by another program, which closes the python code afterwards. I need to be able to save the state of that model so the next time the prgram called the python code and runs model.do_step, previous data is saved. I'm using db.sqlite3 as my backends database.
I heard that pickling or JSON-Encoding may allow a FMUModel to be saved in the data base as a Json string, but I'm not sure if that would work. Any thoughts/comments?
Metadata
Metadata
Assignees
Labels
questionIssue only concerns a or multiple questions.Issue only concerns a or multiple questions.