meta: fix type for ModuleInfo's info ctor param
It is a in fact a dict, not a string.
This commit is contained in:
parent
94dc11a910
commit
3f18b9d682
1 changed files with 2 additions and 2 deletions
|
|
@ -29,7 +29,7 @@ import pkgutil
|
|||
import json
|
||||
import sys
|
||||
from collections import deque
|
||||
from typing import Iterable, List, Optional
|
||||
from typing import Dict, Iterable, List, Optional
|
||||
|
||||
import jsonschema
|
||||
|
||||
|
|
@ -277,7 +277,7 @@ class ModuleInfo:
|
|||
Normally this class is instantiated via its `load` method.
|
||||
"""
|
||||
|
||||
def __init__(self, klass: str, name: str, path: str, info: str):
|
||||
def __init__(self, klass: str, name: str, path: str, info: Dict):
|
||||
self.name = name
|
||||
self.type = klass
|
||||
self.path = path
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue