spaceuptech / space-api-python

Apache License 2.0
6 stars 3 forks source link

The stub is now opened in the API itself #7

Closed AliabbasMerchant closed 5 years ago

AliabbasMerchant commented 5 years ago

Instead of Passing the URL to the transport module and then opening and closing the connection there, the connection is now opened as soon as the API is initialized. This will remove the overhead of opening and closing the connection again and again.
However, the connection will have to be explicitly closed by calling api.close()