mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-12 20:57:39 +02:00
Volshell: Improve typing issues identified by mypy
This commit is contained in:
@@ -50,7 +50,9 @@ class Volshell(generic.Volshell):
|
||||
self.change_task(self.config['pid'])
|
||||
return result
|
||||
|
||||
def display_type(self, object: Union[str, interfaces.objects.ObjectInterface], offset: int = None):
|
||||
def display_type(self,
|
||||
object: Union[str, interfaces.objects.ObjectInterface, interfaces.objects.Template],
|
||||
offset: int = None):
|
||||
"""Display Type describes the members of a particular object in alphabetical order"""
|
||||
if isinstance(object, str):
|
||||
if constants.BANG not in object:
|
||||
|
||||
Reference in New Issue
Block a user