def close(self):
        """Close any open HTTP connections to the API server.
        """
        try:
            self.connection.close()
            self.connection = None
        except Exception:
            if not self.fail_silently:
                raise
def close ( self ) : try : self . connection . close ( ) self . connection = None except Exception : if not self . fail_silently : raise
Close any open HTTP connections to the API server.