X-Git-Url: https://wannabe.guru.org/gitweb/?a=blobdiff_plain;f=collect%2Fshared_dict.py;fp=collect%2Fshared_dict.py;h=7c84c14c073743ea1e452d58393f8f29d280ed23;hb=6ba90a1f30f1c0cf4df12fcd0c62181f29bc3668;hp=0d8e7c2f7a36aa5ddb7c54c72aecddbf56df71c3;hpb=31c81f6539969a5eba864d3305f9fb7bf716a367;p=python_utils.git diff --git a/collect/shared_dict.py b/collect/shared_dict.py index 0d8e7c2..7c84c14 100644 --- a/collect/shared_dict.py +++ b/collect/shared_dict.py @@ -30,14 +30,14 @@ This class is based on https://github.com/luizalabs/shared-memory-dict import pickle from contextlib import contextmanager from functools import wraps -from multiprocessing import shared_memory, RLock +from multiprocessing import RLock, shared_memory from typing import ( Any, Dict, Generator, - KeysView, ItemsView, Iterator, + KeysView, Optional, ValuesView, )