MCPcopy Create free account

hub / github.com/mysql/mysql-connector-python / functions

Functions5,006 in github.com/mysql/mysql-connector-python

↓ 1 callersFunction_get_unicode_read_direction
Get the readiness direction of the unicode string. We assume that the direction is "L-to-R" if the first character does not indicate the dire
mysql-connector-python/lib/mysql/connector/utils.py:485
↓ 1 callersMethod_get_valid_oci_config
Get a valid OCI config from the given configuration file path
mysql-connector-python/lib/mysql/connector/aio/plugins/authentication_oci_client.py:138
↓ 1 callersMethod_get_valid_oci_config
Get a valid OCI config from the given configuration file path
mysql-connector-python/lib/mysql/connector/plugins/authentication_oci_client.py:138
↓ 1 callersMethod_handle_binary_ok
Handle a MySQL Binary Protocol OK packet This method handles a MySQL Binary Protocol OK packet. When the packet is found to be an Err
mysql-connector-python/lib/mysql/connector/aio/connection.py:550
↓ 1 callersMethod_handle_binary_result
Handle a MySQL Result This method handles a MySQL result, for example, after sending the query command. OK and EOF packets will be ha
mysql-connector-python/lib/mysql/connector/aio/connection.py:567
↓ 1 callersMethod_handle_eof
(self, eof: EofPacketType)
mysql-connector-python/lib/mysql/connector/cursor.py:1133
↓ 1 callersMethod_handle_eof
(self, eof: EofPacketType)
mysql-connector-python/lib/mysql/connector/aio/cursor.py:1082
↓ 1 callersMethod_handle_load_data_infile
Handle a LOAD DATA INFILE LOCAL request
mysql-connector-python/lib/mysql/connector/connection.py:616
↓ 1 callersMethod_handle_load_data_infile
Handle a LOAD DATA INFILE LOCAL request.
mysql-connector-python/lib/mysql/connector/aio/connection.py:400
↓ 1 callersMethod_handle_noresultset
(self, res: ResultType)
mysql-connector-python/lib/mysql/connector/cursor.py:1122
↓ 1 callersMethod_handle_noresultset
(self, res: ResultType)
mysql-connector-python/lib/mysql/connector/aio/cursor.py:1072
↓ 1 callersMethod_handle_result
Handle result after execution
mysql-connector-python/lib/mysql/connector/cursor.py:1160
↓ 1 callersMethod_handle_result
Handle result after execution
mysql-connector-python/lib/mysql/connector/aio/cursor.py:1127
↓ 1 callersMethod_handle_resultset
Handle a result set
mysql-connector-python/lib/mysql/connector/cursor_cext.py:287
↓ 1 callersMethod_handle_resultset
Handles result set This method handles the result set and is called after reading and storing column information in _handle_result().
mysql-connector-python/lib/mysql/connector/cursor.py:329
↓ 1 callersMethod_handle_resultset
Handle the result set. This method handles the result set and is called after reading and storing column information in _handle_resul
mysql-connector-python/lib/mysql/connector/aio/cursor.py:279
↓ 1 callersMethod_handle_server_response
Handles server's response. Args: sock: Pointer to the socket connection. pkt: Server's response after completing the
mysql-connector-python/lib/mysql/connector/authentication.py:236
↓ 1 callersMethod_handle_server_response
Handle server's response. Args: sock: Pointer to the socket connection. pkt: Server's response after completing the `
mysql-connector-python/lib/mysql/connector/aio/authentication.py:182
↓ 1 callersMethod_hi
Prepares Hi Hi(password, salt, iterations) where Hi(p,s,i) is defined as PBKDF2 (HMAC, p, s, i, output length of H).
mysql-connector-python/lib/mysql/connector/aio/plugins/authentication_ldap_sasl_client.py:105
↓ 1 callersMethod_hi
Prepares Hi Hi(password, salt, iterations) where Hi(p,s,i) is defined as PBKDF2 (HMAC, p, s, i, output length of H).
mysql-connector-python/lib/mysql/connector/plugins/authentication_ldap_sasl_client.py:105
↓ 1 callersMethod_init_attributes
Setup default and user defined connection-attributes.
mysqlx-connector-python/lib/mysqlx/connection.py:2205
↓ 1 callersMethod_init_mysql_install
Checking MySQL installation Check the MySQL installation and set the directories where to find binaries and SQL bootstrap scripts.
mysqlx-connector-python/tests/mysqld.py:175
↓ 1 callersMethod_init_mysql_install
Checking MySQL installation Check the MySQL installation and set the directories where to find binaries and SQL bootstrap scripts.
mysql-connector-python/tests/mysqld.py:175
↓ 1 callersMethod_init_otel
(self)
mysql-connector-python/tests/otel/context_propagation/sanity_check.py:220
↓ 1 callersMethod_insert_spans_into_mysql
( self, msg: Dict[str, Any], need_id_parsing: bool )
mysql-connector-python/tests/otel/collector.py:61
↓ 1 callersFunction_instrument_connect
Retrurn the instrumented version of `connect`.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:517
↓ 1 callersMethod_int_to_python
Returns value as int type.
mysql-connector-python/lib/mysql/connector/conversion.py:543
↓ 1 callersMethod_isolation_cleanup
(self, drop)
mysql-connector-python/tests/test_pep249.py:462
↓ 1 callersMethod_isolation_connection_equal
(self, cnx1, cnx2)
mysql-connector-python/tests/test_pep249.py:457
↓ 1 callersMethod_isolation_setup
(self, drop, create)
mysql-connector-python/tests/test_pep249.py:448
↓ 1 callersFunction_lexicographic_names
Generate lexicographically ordered uppercase names. Args: length: The length of each generated name. Default is 16. Yields:
mysql-connector-python/tests/ai/utilities.py:46
↓ 1 callersMethod_make_vector_store
Create a backing SQL table for storing vectors if not already created. Returns: None Raises: Databa
mysql-connector-python/lib/mysql/ai/genai/vector_store.py:148
↓ 1 callersMethod_map_bytes
Map bytes.
mysqlx-connector-python/lib/mysqlx/result.py:526
↓ 1 callersMethod_map_datetime
Map datetime.
mysqlx-connector-python/lib/mysqlx/result.py:540
↓ 1 callersMethod_map_int_type
Map int type.
mysqlx-connector-python/lib/mysqlx/result.py:551
↓ 1 callersMethod_map_type
Map type.
mysqlx-connector-python/lib/mysqlx/result.py:579
↓ 1 callersMethod_map_uint_type
Map uint type.
mysqlx-connector-python/lib/mysqlx/result.py:565
↓ 1 callersMethod_mfa_n_factor
Handles MFA (Multi-Factor Authentication) response. Up to three levels of authentication (MFA) are allowed. Args: sock:
mysql-connector-python/lib/mysql/connector/authentication.py:182
↓ 1 callersMethod_mfa_n_factor
Handle MFA (Multi-Factor Authentication) response. Up to three levels of authentication (MFA) are allowed. Args: sock: P
mysql-connector-python/lib/mysql/connector/aio/authentication.py:128
↓ 1 callersFunction_mysql_c_api_info_win
Get MySQL information without using mysql_config tool. Returns: dict: A dict containing the information about the last commit.
mysqlx-connector-python/cpydist/utils.py:153
↓ 1 callersFunction_mysql_c_api_info_win
Get MySQL information without using mysql_config tool. Returns: dict: A dict containing the information about the last commit.
mysql-connector-python/cpydist/utils.py:153
↓ 1 callersMethod_nonetype_to_mysql
This would return what None would be in MySQL, but instead we leave it None and return it right away. The actual conversion f
mysql-connector-python/lib/mysql/connector/conversion.py:357
↓ 1 callersFunction_obsolete_option
Raise a deprecation warning and advise a new option name. Args: name (str): The name of the option. new_name (str): The new optio
mysql-connector-python/lib/mysql/connector/constants.py:320
↓ 1 callersMethod_open_connection
Opens the connection to the MySQL server.
mysql-connector-python/lib/mysql/connector/abstracts.py:1546
↓ 1 callersMethod_page_in_items
Reads the page items. Returns: int: Total items read.
mysqlx-connector-python/lib/mysqlx/result.py:1025
↓ 1 callersFunction_parse_address_list
Parses a list of host, port pairs. Args: path: String containing a list of routers or just router Returns: Returns a dict wi
mysqlx-connector-python/lib/mysqlx/connection.py:2631
↓ 1 callersMethod_parse_auth_data
Parse authentication data. Get the SPN and REALM from the authentication data packet. Format: SPN string length two byte
mysql-connector-python/lib/mysql/connector/aio/plugins/authentication_kerberos_client.py:252
↓ 1 callersMethod_parse_auth_data
Parse authentication data. Get the SPN and REALM from the authentication data packet. Format: SPN string length two byte
mysql-connector-python/lib/mysql/connector/aio/plugins/authentication_kerberos_client.py:445
↓ 1 callersMethod_parse_auth_data
Parse authentication data. Get the SPN and REALM from the authentication data packet. Format: SPN string length two byte
mysql-connector-python/lib/mysql/connector/plugins/authentication_kerberos_client.py:251
↓ 1 callersMethod_parse_auth_data
Parse authentication data. Get the SPN and REALM from the authentication data packet. Format: SPN string length two byte
mysql-connector-python/lib/mysql/connector/plugins/authentication_kerberos_client.py:444
↓ 1 callersMethod_parse_binary_new_decimal
Parse a New Decimal from a binary packet
mysql-connector-python/lib/mysql/connector/protocol.py:704
↓ 1 callersFunction_parse_connection_uri
Parses the connection string and returns a dictionary with the connection settings. Args: uri: mysqlx URI scheme to connect to a MySQ
mysqlx-connector-python/lib/mysqlx/connection.py:2686
↓ 1 callersMethod_parse_constraint_columns
( self, check_clause: Any, columns: Set[str] )
mysql-connector-python/lib/mysql/connector/django/introspection.py:337
↓ 1 callersFunction_parse_lsb_release
Parse the contents of /etc/lsb-release file. Returns: A dictionary containing release information.
mysqlx-connector-python/lib/mysqlx/utils.py:62
↓ 1 callersFunction_parse_lsb_release
Parse the contents of /etc/lsb-release file. Returns: A dictionary containing release information.
mysql-connector-python/lib/mysql/connector/utils.py:405
↓ 1 callersFunction_parse_lsb_release_command
Parse the output of the lsb_release command. Returns: A dictionary containing release information.
mysqlx-connector-python/lib/mysqlx/utils.py:82
↓ 1 callersFunction_parse_lsb_release_command
Parse the output of the lsb_release command. Returns: A dictionary containing release information.
mysqlx-connector-python/cpydist/utils.py:378
↓ 1 callersFunction_parse_lsb_release_command
Parse the output of the lsb_release command. Returns: A dictionary containing release information.
mysql-connector-python/lib/mysql/connector/utils.py:425
↓ 1 callersFunction_parse_lsb_release_command
Parse the output of the lsb_release command. Returns: A dictionary containing release information.
mysql-connector-python/cpydist/utils.py:378
↓ 1 callersFunction_parse_mysql_info_line
Parse a command line. This will never be perfect without special knowledge about all possible command lines "mysql_config" might output. But
mysqlx-connector-python/cpydist/utils.py:101
↓ 1 callersFunction_parse_mysql_info_line
Parse a command line. This will never be perfect without special knowledge about all possible command lines "mysql_config" might output. But
mysql-connector-python/cpydist/utils.py:101
↓ 1 callersFunction_parse_os_release
Parse the contents of /etc/os-release file. Returns: A dictionary containing release information.
mysqlx-connector-python/lib/mysqlx/utils.py:41
↓ 1 callersFunction_parse_os_release
Parse the contents of /etc/os-release file. Returns: A dictionary containing release information.
mysql-connector-python/lib/mysql/connector/utils.py:384
↓ 1 callersMethod_pool_exists
Verifies if a pool exists with the given name. Args: client_id (str): The client id. pool_name (str): The name of the
mysqlx-connector-python/lib/mysqlx/connection.py:1747
↓ 1 callersMethod_post_connection
(self, *args, **kwargs)
mysql-connector-python/tests/test_connection.py:124
↓ 1 callersMethod_predict
Predict on a given data table and write results to an output table. References: https://dev.mysql.com/doc/heatwave/en/my
mysql-connector-python/lib/mysql/ai/ml/model.py:382
↓ 1 callersMethod_prepare_auth_response
Prepare client's authentication response Prepares client's authentication response in JSON format Args: signature (bytes)
mysql-connector-python/lib/mysql/connector/aio/plugins/authentication_oci_client.py:82
↓ 1 callersMethod_prepare_auth_response
Prepare client's authentication response Prepares client's authentication response in JSON format Args: signature (bytes)
mysql-connector-python/lib/mysql/connector/plugins/authentication_oci_client.py:82
↓ 1 callersMethod_prepare_packets
Prepare a payload for sending to the MySQL server.
mysql-connector-python/lib/mysql/connector/aio/network.py:311
↓ 1 callersMethod_prepare_password
Prepares and returns password as native MySQL 4.1+ password
mysql-connector-python/lib/mysql/connector/aio/plugins/mysql_native_password.py:50
↓ 1 callersMethod_prepare_password
Prepare and return password as as clear text. Returns: bytes: Prepared password.
mysql-connector-python/lib/mysql/connector/aio/plugins/mysql_clear_password.py:47
↓ 1 callersMethod_prepare_password
Prepare and return password as as clear text. Returns: password (bytes): Prepared password.
mysql-connector-python/lib/mysql/connector/aio/plugins/sha256_password.py:51
↓ 1 callersMethod_prepare_password
Prepares and returns password as native MySQL 4.1+ password
mysql-connector-python/lib/mysql/connector/plugins/mysql_native_password.py:49
↓ 1 callersMethod_prepare_password
Prepare and return password as as clear text. Returns: bytes: Prepared password.
mysql-connector-python/lib/mysql/connector/plugins/mysql_clear_password.py:46
↓ 1 callersMethod_prepare_statement
Prepare SQL statement for execution. Converts the SQL statement to bytes and replaces the parameters in the placeholders. Ra
mysql-connector-python/lib/mysql/connector/aio/cursor.py:373
↓ 1 callersMethod_process_frame
Process frame. Args: msg (mysqlx.protobuf.Message): A MySQL X Protobuf Message. result (Result): A `Result` based typ
mysqlx-connector-python/lib/mysqlx/protocol.py:486
↓ 1 callersMethod_read_compressed_pkt
Handle reading of a compressed packet.
mysql-connector-python/lib/mysql/connector/aio/network.py:446
↓ 1 callersMethod_read_message
Reads X Protocol messages from the stream and returns a :class:`mysqlx.protobuf.Message` object. Raises: :class:`mysqlx.P
mysqlx-connector-python/lib/mysqlx/protocol.py:182
↓ 1 callersMethod_recv_compressed_pkt
Handle reading of a compressed packet.
mysql-connector-python/lib/mysql/connector/network.py:363
↓ 1 callersMethod_remove_connections
Close all connections This method closes all connections and returns the number of connections it closed. This method should be used i
mysql-connector-python/lib/mysql/connector/aio/pooling.py:648
↓ 1 callersMethod_remove_sources
Remove Python source files from the build directory.
mysqlx-connector-python/cpydist/bdist.py:137
↓ 1 callersMethod_remove_sources
Remove Python source files from the build directory.
mysql-connector-python/cpydist/bdist.py:137
↓ 1 callersMethod_replace_writer
Replace stream writer. Args: writer: Stream Writer.
mysql-connector-python/lib/mysql/connector/aio/utils.py:60
↓ 1 callersMethod_run_client_app2
(self)
mysql-connector-python/tests/otel/test_instrumentation.py:245
↓ 1 callersMethod_run_protoc
(self)
mysqlx-connector-python/cpydist/__init__.py:330
↓ 1 callersMethod_safe_install
Attempts to install a component or plugin, suppressing errors if it is already installed.
mysql-connector-python/tests/ai/utilities.py:106
↓ 1 callersMethod_safe_uninstall
Attempts to uninstall a component or plugin, suppressing errors if it is already uninstalled/not present.
mysql-connector-python/tests/ai/utilities.py:87
↓ 1 callersMethod_score
Evaluate model performance with a scoring metric. References: https://dev.mysql.com/doc/heatwave/en/mys-hwaml-ml-score.h
mysql-connector-python/lib/mysql/ai/ml/model.py:428
↓ 1 callersMethod_scramble
Return a scramble of the password using a Nonce sent by the server. The scramble is of the form: XOR(SHA2(password), SHA2(SHA
mysql-connector-python/lib/mysql/connector/aio/plugins/caching_sha2_password.py:56
↓ 1 callersMethod_scramble
Return a scramble of the password using a Nonce sent by the server. The scramble is of the form: XOR(SHA2(password), SHA2(SHA
mysql-connector-python/lib/mysql/connector/plugins/caching_sha2_password.py:55
↓ 1 callersMethod_second_message
This method generates the second message to the server Second message consist on the concatenation of the client and the server nonce
mysql-connector-python/lib/mysql/connector/aio/plugins/authentication_ldap_sasl_client.py:327
↓ 1 callersMethod_second_message
This method generates the second message to the server Second message consist on the concatenation of the client and the server nonce
mysql-connector-python/lib/mysql/connector/plugins/authentication_ldap_sasl_client.py:327
↓ 1 callersMethod_send_data
Send data to the MySQL server This method accepts a file-like object and sends its data as is to the MySQL server. If the send_empty_
mysql-connector-python/lib/mysql/connector/aio/connection.py:646
↓ 1 callersMethod_setUp
(self, conn_class)
mysql-connector-python/tests/test_bugs.py:6200
↓ 1 callersMethod_set_autocommit
(self, autocommit: bool)
mysql-connector-python/lib/mysql/connector/django/base.py:448
↓ 1 callersMethod_set_compression_capabilities
Set the compression capabilities. If compression is available, negociates client and server algorithms. By trying to find an algorith
mysqlx-connector-python/lib/mysqlx/connection.py:893
↓ 1 callersMethod_set_connection_options
Internal utility to set or update the connection options. Args: **kwargs: For a complete list of possible arguments, see [1].
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:486
↓ 1 callersMethod_set_group_by
Set group by. Args: *fields: List of fields.
mysqlx-connector-python/lib/mysqlx/statement.py:366
↓ 1 callersMethod_set_having
Set having. Args: condition (str): The condition.
mysqlx-connector-python/lib/mysqlx/statement.py:380
↓ 1 callersMethod_set_max_idle_time
Set the max idle time. This method sets the max idle time. Args: max_idle_time (int): An integer equal or greater than 0
mysqlx-connector-python/lib/mysqlx/connection.py:2539
← previousnext →1,001–1,100 of 5,006, ranked by callers