mysqlx.Client¶
- class mysqlx.Client(connection_dict: Dict[str, Any], options_dict: Dict[str, Any] | None = None)¶
Bases:
object
Class defining a client, it stores a connection configuration.
- Parameters:
connection_dict (dict) – The connection information to connect to a MySQL server.
options_dict (dict) – The options to configure this client.
New in version 8.0.13.
- close() None ¶
Closes the sessions opened by this client.