python-graphql-client icon indicating copy to clipboard operation
python-graphql-client copied to clipboard

Handle Subscription Complete

Open pizzapanther opened this issue 2 years ago • 1 comments

What kind of change does this PR introduce?

Handle subscription complete properly.

What is the current behavior?

Errors out when a complete message is sent.

What is the new behavior?

Return from function so subscribe complete and websocket is cleaned up.

Does this PR introduce a breaking change?

no

Other information

pizzapanther avatar Nov 30 '22 18:11 pizzapanther

@pizzapanther thanks for the contribution to the project, could you please add a unit tests for the proposed changes?

xkludge avatar Jan 26 '23 18:01 xkludge