X-Git-Url: https://wannabe.guru.org/gitweb/?a=blobdiff_plain;f=collect%2Fshared_dict.py;h=f4ec9143ab80b08b0ca819c4bca62cf20362fb66;hb=f2600f30801c849fc1d139386e3ddc3c9eb43e30;hp=e0a42f2c55c2fc865b0c89642d458ae26009c224;hpb=415c2c91972ea5a574dce166ec609926dcf19d73;p=python_utils.git diff --git a/collect/shared_dict.py b/collect/shared_dict.py index e0a42f2..f4ec914 100644 --- a/collect/shared_dict.py +++ b/collect/shared_dict.py @@ -31,7 +31,16 @@ import pickle from contextlib import contextmanager from functools import wraps from multiprocessing import RLock, shared_memory -from typing import Any, Dict, Generator, ItemsView, Iterator, KeysView, Optional, ValuesView +from typing import ( + Any, + Dict, + Generator, + ItemsView, + Iterator, + KeysView, + Optional, + ValuesView, +) from decorator_utils import synchronized