| 1063 | restore_location = _get_restore_location(map_location) |
| 1064 | |
| 1065 | class UnpicklerWrapper(pickle_module.Unpickler): # type: ignore[name-defined] |
| 1066 | |
| 1067 | def find_class(self, mod_name, name): |
| 1068 | if type(name) is str and 'Storage' in name: |
| 1069 | try: |
| 1070 | return StorageType(name) |
| 1071 | except KeyError: |
| 1072 | pass |
| 1073 | return super().find_class(mod_name, name) |
| 1074 | |
| 1075 | def _check_container_source(container_type, source_file, original_source): |
| 1076 | try: |
no outgoing calls
no test coverage detected
searching dependent graphs…