Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /randovania_randovania /randovania /lib /frozen_lib.py
| from __future__ import annotations | |
| import typing | |
| from frozendict import frozendict | |
| def unwrap(extra: typing.Any) -> typing.Any: | |
| if isinstance(extra, tuple): | |
| return [unwrap(value) for value in extra] | |
| elif isinstance(extra, frozendict): | |
| return {key: unwrap(value) for key, value in extra.items()} | |
| else: | |
| return extra | |
| def wrap(extra: typing.Any) -> typing.Any: | |
| if isinstance(extra, list): | |
| return tuple(wrap(value) for value in extra) | |
| elif isinstance(extra, dict): | |
| return frozendict((key, wrap(value)) for key, value in extra.items()) | |
| else: | |
| return extra | |
Xet Storage Details
- Size:
- 631 Bytes
- Xet hash:
- 2b64907958bf7f58c52b5b6b0bc054fe36825e2b7699bb140b02f43875a22eb6
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.