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

Implement serialization functionality for Config and VFS objects #2110

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

kounelisagis
Copy link
Member

@kounelisagis kounelisagis commented Nov 18, 2024

Also removes unnecessary PatchedConfig and PatchedCtx.


[sc-55042]

Copy link
Member

@teo-tsirpanis teo-tsirpanis left a 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.

@kounelisagis kounelisagis changed the title Implement serialization functionality for VFS objects Implement serialization functionality for Config and VFS objects Nov 22, 2024
Copy link
Member

@teo-tsirpanis teo-tsirpanis left a 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()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
config_dict = self.ctx.config().dict()
config_dict = self.config().dict()

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.

2 participants