Add type information for crawler.py (#738)

Added type information to `crawler.py` to make it safer to use and
understand.
This commit is contained in:
Roy Williams
2023-01-26 22:37:31 -05:00
committed by GitHub
parent a80897478e
commit d2f882158f
2 changed files with 100 additions and 74 deletions

View File

@@ -2,7 +2,7 @@
import time
from langchain.chains.natbot.base import NatBotChain
from langchain.chains.natbot.crawler import Crawler # type: ignore
from langchain.chains.natbot.crawler import Crawler
def run_cmd(cmd: str, _crawler: Crawler) -> None: