Rm Github Import (#8257)

It's not a required dep but would break peoples builds

---------

Co-authored-by: Bagatur <baskaryan@gmail.com>
This commit is contained in:
William FH 2023-07-25 18:20:58 -07:00 committed by GitHub
parent 68a906bb31
commit 479cc086ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,12 +1,16 @@
"""Util that calls GitHub.""" """Util that calls GitHub."""
import json from __future__ import annotations
from typing import Any, Dict, List, Optional
import json
from typing import TYPE_CHECKING, Any, Dict, List, Optional
from github.Issue import Issue
from pydantic import BaseModel, Extra, root_validator from pydantic import BaseModel, Extra, root_validator
from langchain.utils import get_from_dict_or_env from langchain.utils import get_from_dict_or_env
if TYPE_CHECKING:
from github.Issue import Issue
class GitHubAPIWrapper(BaseModel): class GitHubAPIWrapper(BaseModel):
"""Wrapper for GitHub API.""" """Wrapper for GitHub API."""