We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Pickling generic types Dict[kt, vt] and List[vt]on python 3.6 produces an error.
Dict[kt, vt]
List[vt]
To Reproduce
@dataclass class Pick: union: Dict[str, int] = field(default_factory=lambda: {}) with tempfile.TemporaryFile() as fp: c = OmegaConf.structured(Pick) pickle.dump(c, fp) fp.flush() fp.seek(0) c1 = pickle.load(fp)
Expected behavior It should be able to pickle.
Additional context
The text was updated successfully, but these errors were encountered:
@JieruHu, this could be related to the issue you are seeing in the Ray Launcher on 3.6.
Sorry, something went wrong.
Fix #407 Subscripted Dict and List unable to be pickled on python 3.6. (
bb7f8fe
#408)
Successfully merging a pull request may close this issue.
Describe the bug
Pickling generic types
Dict[kt, vt]
andList[vt]
on python 3.6 produces an error.To Reproduce
Expected behavior
It should be able to pickle.
Additional context
The text was updated successfully, but these errors were encountered: