Close the connection to the server.
(self)
| 512 | return f"{url}?{urllib.parse.urlencode(sorted(parameter_list))}" |
| 513 | |
| 514 | def close(self) -> None: |
| 515 | """ |
| 516 | Close the connection to the server. |
| 517 | """ |
| 518 | with self.__connection_lock: |
| 519 | if self.__connection is not None: |
| 520 | self.__connection.close() |
| 521 | self.__connection = None |
| 522 | while self.__custom_connections: |
| 523 | self.__custom_connections.popleft().close() |
| 524 | |
| 525 | @property |
| 526 | def kwargs(self) -> dict[str, Any]: |
no outgoing calls
no test coverage detected