Skip to content

Commit d2ae379

Browse files
committed
chore: manually document every class on transport
1 parent 837a6a8 commit d2ae379

File tree

2 files changed

+12
-14
lines changed

2 files changed

+12
-14
lines changed

docs/modules/transport.rst

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,14 @@ Transport
33

44
.. currentmodule:: gql.transport
55

6-
.. automodule:: gql.transport
7-
:member-order: bysource
6+
.. autoclass:: gql.transport.transport.Transport
7+
8+
.. autoclass:: gql.transport.local_schema.LocalSchemaTransport
9+
10+
.. autoclass:: gql.transport.requests.RequestsHTTPTransport
11+
12+
.. autoclass:: gql.transport.async_transport.AsyncTransport
13+
14+
.. autoclass:: gql.transport.aiohttp.AIOHTTPTransport
15+
16+
.. autoclass:: gql.transport.websockets.WebsocketsTransport

gql/transport/__init__.py

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,4 @@
11
from .async_transport import AsyncTransport
22
from .transport import Transport
3-
from .aiohttp import AIOHTTPTransport
4-
from .local_schema import LocalSchemaTransport
5-
from .requests import RequestsHTTPTransport
6-
from .websockets import WebsocketsTransport
73

8-
__all__ = [
9-
"AsyncTransport",
10-
"Transport",
11-
"AIOHTTPTransport",
12-
"LocalSchemaTransport",
13-
"RequestsHTTPTransport",
14-
"WebsocketsTransport",
15-
]
4+
__all__ = ["AsyncTransport", "Transport"]

0 commit comments

Comments
 (0)