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."""
import json
from typing import Any, Dict, List, Optional
from __future__ import annotations
import json
from typing import TYPE_CHECKING, Any, Dict, List, Optional
from github.Issue import Issue
from pydantic import BaseModel, Extra, root_validator
from langchain.utils import get_from_dict_or_env
if TYPE_CHECKING:
from github.Issue import Issue
class GitHubAPIWrapper(BaseModel):
"""Wrapper for GitHub API."""