kajocina opened a new issue, #580: URL: https://github.com/apache/burr/issues/580
Can't fork persisted state from persisters when using Typed State (Pydantic) # Current behavior I am trying to setup code to fork a local state for debugging purposes. In our application we're using a typed State. I have not been able to figure out how to make sure that when I run the app with .initalize_from(), it loads the state from the persister as my Typed State (in this case an async SQLite in burr). It seems to load the state as a dict, so that the application doesn't work as all the actions follow the specific typed state system. # Expected behavior I would expect .initalize_from() to have an argument controlling the type/pydantic model of the state I would like to load. # Additional context It might be simply a case of adding an argument to initialize_from and then initalising the state as the supplied pydantic model from the loaded dict from the persister. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
