Skip to content

Commit 597c5e2

Browse files
remove abc from typevar
1 parent 49dd9a2 commit 597c5e2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/django_github_app/views.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
from django.utils.decorators import method_decorator
1515
from django.views.decorators.csrf import csrf_exempt
1616
from django.views.generic import View
17-
from gidgethub.abc import GitHubAPI
1817
from gidgethub.routing import Router as GidgetHubRouter
1918
from gidgethub.sansio import Event
2019

@@ -26,7 +25,7 @@
2625
from .models import Installation
2726
from .routing import GitHubRouter
2827

29-
GitHubAPIType = TypeVar("GitHubAPIType", AsyncGitHubAPI, GitHubAPI, SyncGitHubAPI)
28+
GitHubAPIType = TypeVar("GitHubAPIType", AsyncGitHubAPI, SyncGitHubAPI)
3029

3130

3231
class BaseWebhookView(View, ABC, Generic[GitHubAPIType]):

0 commit comments

Comments
 (0)