-
Notifications
You must be signed in to change notification settings - Fork 33
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
Implement serialization functionality for Config
and VFS
objects
#2110
base: dev
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should support pickling in Config
as well.
VFS
objectsConfig
and VFS
objects
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
if hasattr(self, "config_dict"): | ||
config_dict = self.config_dict | ||
else: | ||
config_dict = self.ctx.config().dict() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
config_dict = self.ctx.config().dict() | |
config_dict = self.config().dict() |
Also removes unnecessary
PatchedConfig
andPatchedCtx
.[sc-55042]