Commit cfe23db1 authored by Karthikeyan Singaravelan's avatar Karthikeyan Singaravelan Committed by oroulet

Import ABC from collections.abc for Python 3.10 compatibility.

parent eabd784f
from __future__ import annotations
import asyncio
import collections
import collections.abc
import logging
import pickle
import shelve
......@@ -718,7 +718,7 @@ class AddressSpace:
raise NotImplementedError
# ToDo: async friendly implementation - load all at once?
class LazyLoadingDict(collections.MutableMapping):
class LazyLoadingDict(collections.abc.MutableMapping):
"""
Special dict that only loads nodes as they are accessed. If a node is accessed it gets copied from the
shelve to the cache dict. All user nodes are saved in the cache ONLY. Saving data back to the shelf
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment