MCPcopy Create free account
hub / github.com/dbcli/mssql-cli / close

Method close

mssqlcli/jsonrpc/jsonrpcclient.py:436–443  ·  view source on GitHub ↗

Close the stream.

(self)

Source from the content-addressed store, hash-verified

434 self.buffer_end_offset -= bytes_to_remove
435
436 def close(self):
437 """
438 Close the stream.
439 """
440 try:
441 self.stream.close()
442 except AttributeError:
443 pass

Callers 5

test_basic_responseMethod · 0.95
test_basic_requestMethod · 0.95
test_nested_requestMethod · 0.95

Calls 1

closeMethod · 0.45

Tested by 5

test_basic_responseMethod · 0.76
test_basic_requestMethod · 0.76
test_nested_requestMethod · 0.76