Add type ignore for mypy

This commit is contained in:
thomashacker 2023-02-06 12:47:12 +01:00
parent 949c9e8ac0
commit 73f453a9f3

View File

@ -146,7 +146,7 @@ class registry(thinc.registry):
@classmethod
def find(
cls, registry_name: str, func_name: str
) -> Dict[str, Optional[Union[str, int]]]:
) -> Dict[str, Optional[Union[str, int]]]: # type: ignore
"""Find the information about a registered function, including the
module and path to the file it's defined in, the line number and the
docstring, if available.