Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formalize serialization/deserialization of commands/results/objects which represent messages #828

Open
Julian opened this issue Feb 5, 2024 · 0 comments
Labels
internal Non-user-facing improvements

Comments

@Julian
Copy link
Member

Julian commented Feb 5, 2024

Right now, bowtie essentially contains an NIH implementation of RPC / a serialization framework.

Essentially, a bunch of objects either call attrs.asdict or have manually authored .serializable / .from_dict / etc. methods for explaining how to serialize or load them when they are sent as JSON.

This was done more or less because I don't really have a library I like that does this -- but I'm also not super familiar with the broader attrs ecosystem, and I vaguely recall there are some libraries there (cattrs? I think that's one?) which deserve looking at at least.

@Julian Julian added low priority A low priority item. internal Non-user-facing improvements labels Feb 5, 2024
@Julian Julian removed the low priority A low priority item. label May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal Non-user-facing improvements
Projects
None yet
Development

No branches or pull requests

1 participant