mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-08-30 03:39:51 +02:00
Finish adding type-annotations thoughout the code.
This commit is contained in:
@@ -19,7 +19,7 @@ class ReadOnlyMapping(validity.ValidityRoutines, collections.abc.Mapping):
|
||||
This ensures that the data stored in the mapping should not be modified, making an immutable mapping.
|
||||
"""
|
||||
|
||||
def __init__(self, dictionary: typing.ChainMap[str, typing.Any]) -> None:
|
||||
def __init__(self, dictionary: typing.Mapping[str, typing.Any]) -> None:
|
||||
self._dict = dictionary
|
||||
|
||||
def __getattr__(self, attr: str) -> typing.Any:
|
||||
|
||||
Reference in New Issue
Block a user