commit | 264b14398411687bf02004c083dc37e57fc5700e | [log] [tgz] |
---|---|---|
author | Lalit Maganti <lalitm@google.com> | Wed Jan 19 21:00:19 2022 +0000 |
committer | Lalit Maganti <lalitm@google.com> | Wed Jan 19 21:00:19 2022 +0000 |
tree | 9739c065b7e54a59dc00e6c9517bd184c7ac8ee8 | |
parent | 645a5c0de636e50b64ea256da8a722954d3c37ca [diff] |
tp: fix type in registry constructor Change-Id: I67f2c8d3c9dea2ac57aec7de8b49ca22d2dff230
diff --git a/python/perfetto/trace_uri_resolver/registry.py b/python/perfetto/trace_uri_resolver/registry.py index 9f33982..7a57bb0 100644 --- a/python/perfetto/trace_uri_resolver/registry.py +++ b/python/perfetto/trace_uri_resolver/registry.py
@@ -32,7 +32,7 @@ generator: TraceGenerator metadata: Dict[str, str] - def __init__(self, resolvers: List[TraceUriResolver] = []): + def __init__(self, resolvers: List[Type[TraceUriResolver]] = []): self.registry: Dict[str, Type[TraceUriResolver]] = dict() for resolver in resolvers: