We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The documented way to call perform_request on a node is to expect a tuple in response, Tuple[ApiResponseMeta, bytes]. But the actual underlying type is TransportApiResponse:
perform_request
Tuple[ApiResponseMeta, bytes]
TransportApiResponse
class TransportApiResponse(NamedTuple): meta: ApiResponseMeta body: Any
As pointed out by @ywangd, It would make sense to expose it alongside other responses types and change the Nodes docs page to use it.
The text was updated successfully, but these errors were encountered:
Opened a PR here. I have some linting issues it seems. Should I be using Black for formatting?
Sorry, something went wrong.
I figured out the formatting issues!
JessicaGarson
Successfully merging a pull request may close this issue.
The documented way to call
perform_request
on a node is to expect a tuple in response,Tuple[ApiResponseMeta, bytes]
. But the actual underlying type isTransportApiResponse
:As pointed out by @ywangd, It would make sense to expose it alongside other responses types and change the Nodes docs page to use it.
The text was updated successfully, but these errors were encountered: