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

Allow to only deserialize selected types and ignore the others #23

Open
PythonFZ opened this issue Mar 13, 2023 · 0 comments
Open

Allow to only deserialize selected types and ignore the others #23

PythonFZ opened this issue Mar 13, 2023 · 0 comments

Comments

@PythonFZ
Copy link
Member

Currently if _type is there it will try to deserialize and fail. Sometimes it could be useful to only serialize a specific type.

see https://github.com/zincware/ZnTrack/blob/4551776c4397a1fc12b82829cbf3ee292faeea55/zntrack/fields/zn/__init__.py#L316-L320
where we only would like to serialize the converters.

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

No branches or pull requests

1 participant