modules/rust: fix initialize signature
So that it's accurate, and we don't need to use to use `#type: ignore` declaration
This commit is contained in:
parent
8f3695fc53
commit
65b8c2663b
|
@ -228,5 +228,5 @@ class RustModule(ExtensionModule):
|
|||
return ModuleReturnValue([target], [target])
|
||||
|
||||
|
||||
def initialize(*args: T.List, **kwargs: T.Dict) -> RustModule:
|
||||
return RustModule(*args, **kwargs) # type: ignore
|
||||
def initialize(interp: 'Interpreter') -> RustModule:
|
||||
return RustModule(interp)
|
||||
|
|
Loading…
Reference in New Issue