Fix types
This commit is contained in:
parent
bbe2d1d387
commit
6cf0502beb
|
@ -492,7 +492,7 @@ class Registry(DataClassJsonMixin):
|
|||
if includeProvides and type is Component:
|
||||
for m in self.iter(Component):
|
||||
if name in m.provides:
|
||||
return m
|
||||
return m # type: ignore
|
||||
|
||||
return None
|
||||
|
||||
|
|
Loading…
Reference in a new issue