Skip to content

Commit

Permalink
Expose TransportApiResponse (#160)
Browse files Browse the repository at this point in the history
  • Loading branch information
JessicaGarson authored Mar 29, 2024
1 parent f42ec04 commit 4cdacc2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions elastic_transport/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
BaseAsyncNode,
BaseNode,
HttpxAsyncHttpNode,
NodeApiResponse,
RequestsHttpNode,
Urllib3HttpNode,
)
Expand Down Expand Up @@ -76,6 +77,7 @@
"JsonSerializer",
"ListApiResponse",
"NdjsonSerializer",
"NodeApiResponse",
"NodeConfig",
"NodePool",
"NodeSelector",
Expand Down
2 changes: 1 addition & 1 deletion elastic_transport/_node/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def perform_request(
:class:`elastic_transport.ConnectionError`,
:class:`elastic_transport.ConnectionTimeout`,
:class:`elastic_transport.TlsError`
:rtype: Tuple[ApiResponseMeta, bytes]
:rtype: Tuple[NodeApiResponse, bytes]
:returns: Metadata about the request+response and the raw
decompressed bytes from the HTTP response body.
"""
Expand Down

0 comments on commit 4cdacc2

Please sign in to comment.