Skip to content

Commit 1842969

Browse files
authored
Update transport.py
Make `Transport` inherit from `abc.ABC`.
1 parent 3c38caf commit 1842969

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gql/transport/transport.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from graphql import DocumentNode, ExecutionResult
44

55

6-
class Transport:
6+
class Transport(abc.ABC):
77
@abc.abstractmethod
88
def execute(self, document: DocumentNode, *args, **kwargs) -> ExecutionResult:
99
"""Execute GraphQL query.

0 commit comments

Comments
 (0)