Skip to content

Require that Sessions.state is a python dict, not string#161

Merged
JackWilb merged 4 commits intomainfrom
state-object
Aug 11, 2023
Merged

Require that Sessions.state is a python dict, not string#161
JackWilb merged 4 commits intomainfrom
state-object

Conversation

@JackWilb
Copy link
Copy Markdown
Member

Does this PR close any open issues?

No

Give a longer description of what this PR addresses and why it's needed

With our prior implementation, the state could be saved as any type, including string. Since the trrack library was exporting as string, this meant that saved state were of type string. We added a couple new functions to the trrack library to allow for importing and exporting the actual object, and they work seamlessly with these changes. There will be PRs in all vis apps to align with this change and get to a more consistent database state.

Provide pictures/videos of the behavior before and after these changes (optional)

N/A

Are there any additional TODOs before this PR is ready to go?

No

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant