graphql-python / gql

A GraphQL client in Python
https://gql.readthedocs.io
MIT License
1.56k stars 180 forks source link

Always close transport when an exception appears during the transport connect #488

Closed leszekhanusz closed 4 months ago

leszekhanusz commented 4 months ago

It should ensure that the transport is always cleaned properly before exiting the context manager.