Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/mysql/mysql-connector-python
/ functions
Functions
5,006 in github.com/mysql/mysql-connector-python
⨍
Functions
5,006
◇
Types & classes
734
↳
Endpoints
17
↓ 1 callers
Method
_set_pool_enabled
Set if the pool is enabled. This method sets if the pool is enabled. Args: enabled (bool): True if to enabling the pool.
mysqlx-connector-python/lib/mysqlx/connection.py:2567
↓ 1 callers
Method
_set_pool_name
r"""Set the name of the pool. This method checks the validity and sets the name of the pool. Args: pool_name (str): The
mysqlx-connector-python/lib/mysqlx/connection.py:1563
↓ 1 callers
Method
_set_pool_name
r"""Set the name of the pool. This method checks the validity and sets the name of the pool. Raises an AttributeError when pool_name
mysql-connector-python/lib/mysql/connector/pooling.py:553
↓ 1 callers
Method
_set_pool_size
Set the size of the pool. This method sets the size of the pool but it will not resize the pool. Args: pool_size (int):
mysqlx-connector-python/lib/mysqlx/connection.py:2514
↓ 1 callers
Method
_set_pool_size
Set the size of the pool This method sets the size of the pool but it will not resize the pool. Raises an AttributeError when the pool
mysql-connector-python/lib/mysql/connector/aio/pooling.py:526
↓ 1 callers
Method
_set_queue_timeout
Set the queue timeout. This method sets the queue timeout. Args: queue_timeout (int): An integer equal or greater than 0
mysqlx-connector-python/lib/mysqlx/connection.py:2582
↓ 1 callers
Method
_set_tls_capabilities
Set the TLS capabilities. Args: caps (dict): Dictionary with the server capabilities. Raises: :class:`mysqlx
mysqlx-connector-python/lib/mysqlx/connection.py:839
↓ 1 callers
Method
_set_to_python
Returns SET column type as set Actually, MySQL protocol sees a SET as a string type field. So this code isn't called directly, but us
mysql-connector-python/lib/mysql/connector/conversion.py:703
↓ 1 callers
Method
_setup
(self)
mysql-connector-python/tests/test_bugs.py:644
↓ 1 callers
Method
_setup
(self)
mysql-connector-python/tests/test_bugs.py:955
↓ 1 callers
Method
_setup
(self)
mysql-connector-python/tests/test_bugs.py:1120
↓ 1 callers
Method
_setup
(self)
mysql-connector-python/tests/test_bugs.py:1851
↓ 1 callers
Method
_setup
(self)
mysql-connector-python/tests/test_bugs.py:2040
↓ 1 callers
Method
_setup
(self)
mysql-connector-python/tests/test_bugs.py:2122
↓ 1 callers
Method
_setup
(self)
mysql-connector-python/tests/test_bugs.py:2795
↓ 1 callers
Method
_setup
(self)
mysql-connector-python/tests/test_bugs.py:4116
↓ 1 callers
Method
_start_server
Start the MySQL server
mysqlx-connector-python/tests/mysqld.py:328
↓ 1 callers
Method
_start_server
Start the MySQL server
mysql-connector-python/tests/mysqld.py:328
↓ 1 callers
Method
_stop_server
Stop the MySQL server
mysqlx-connector-python/tests/mysqld.py:336
↓ 1 callers
Method
_stop_server
Stop the MySQL server
mysql-connector-python/tests/mysqld.py:336
↓ 1 callers
Method
_struct_time_to_mysql
Converts a time.struct_time sequence to a string suitable for MySQL. The returned string has format: %Y-%m-%d %H:%M:%S
mysql-connector-python/lib/mysql/connector/conversion.py:426
↓ 1 callers
Method
_table_fields
(self)
mysqlx-connector-python/lib/mysqlx/expr.py:1302
↓ 1 callers
Method
_table_set
Table set. Args: source (str): The source. value (str): The value.
mysqlx-connector-python/lib/mysqlx/statement.py:790
↓ 1 callers
Method
_tearDown
(self)
mysql-connector-python/tests/test_bugs.py:6213
↓ 1 callers
Method
_test_callproc_kernel
Call a stored procedure. TODO: The server returns a wrong `field type` for types such as DATE and VECTOR when getting results after c
mysql-connector-python/tests/qa/test_qa_vector_type.py:222
↓ 1 callers
Method
_test_callproc_kernel
Call a stored procedure. TODO: The server returns a wrong `field type` for types such as DATE and VECTOR when getting results after c
mysql-connector-python/tests/qa/test_qa_vector_type.py:668
↓ 1 callers
Method
_test_callproc_setup
(self, cnx)
mysql-connector-python/tests/test_cursor.py:677
↓ 1 callers
Method
_test_callproc_setup
(self, cnx)
mysql-connector-python/tests/cext/test_cext_cursor.py:279
↓ 1 callers
Method
_test_cmd_query_kernel
Execute statements with `cmd_query`. Checkpoints: * Ingest VECTOR values as binary strings (HEX). * Check `cnx.cmd_qu
mysql-connector-python/tests/qa/test_qa_vector_type.py:306
↓ 1 callers
Method
_test_cmd_query_kernel
Execute statements with `cmd_query`. Checkpoints: * Ingest VECTOR values as binary strings (HEX). * Check `cnx.cmd_qu
mysql-connector-python/tests/qa/test_qa_vector_type.py:752
↓ 1 callers
Method
_test_execute_kernel
Execute statements **with** the `%s` parameter bounding style. Checkpoints: * Ingest VECTOR values as binary strings (HEX) when p
mysql-connector-python/tests/qa/test_qa_vector_type.py:148
↓ 1 callers
Method
_test_execute_kernel
Execute statements **with** the `%s` parameter bounding style. Checkpoints: * Ingest VECTOR values as binary strings (HEX) when p
mysql-connector-python/tests/qa/test_qa_vector_type.py:592
↓ 1 callers
Method
_test_unnamed_parameters_are_transmitted
Check the unnamed parameters are transmitted.
mysql-connector-python/tests/test_connection.py:4022
↓ 1 callers
Method
_time_to_python
Return MySQL TIME data type as datetime.time() Returns datetime.time()
mysql-connector-python/lib/mysql/connector/django/base.py:619
↓ 1 callers
Method
_unicode_to_mysql
Convert unicode
mysql-connector-python/lib/mysql/connector/conversion.py:328
↓ 1 callers
Function
_unpack
Unpacks and extracts files from an archive This function will unpack and extra files from the file archive_file. It will return the directory
mysql-connector-python/support/django/run_django_tests.py:242
↓ 1 callers
Method
_validate_callable
Validates if it's a Python callable. Args: option_name (str): Connection option name. callback (str or callable):
mysql-connector-python/lib/mysql/connector/abstracts.py:893
↓ 1 callers
Method
_validate_callable
Validates if it's a Python callable. Args: option_name (str): Connection option name. callback (str or callable):
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:715
↓ 1 callers
Function
_validate_connection_attributes
Validate connection-attributes. Args: settings (dict): Settings dictionary. Raises: :class:`mysqlx.InterfaceError`: If attri
mysqlx-connector-python/lib/mysqlx/connection.py:2918
↓ 1 callers
Method
_validate_first_reponse
Validates first message from the server. Extracts the server's salt and iterations from the servers 1st response. First message from
mysql-connector-python/lib/mysql/connector/aio/plugins/authentication_ldap_sasl_client.py:403
↓ 1 callers
Method
_validate_first_reponse
Validates first message from the server. Extracts the server's salt and iterations from the servers 1st response. First message from
mysql-connector-python/lib/mysql/connector/plugins/authentication_ldap_sasl_client.py:403
↓ 1 callers
Method
_validate_openid_token
Helper method used to validate OpenID Connect token The Token is represented as a JSON Web Token (JWT) consists of a base64-encoded h
mysql-connector-python/lib/mysql/connector/aio/plugins/authentication_openid_connect_client.py:62
↓ 1 callers
Method
_validate_openid_token
Helper method used to validate OpenID Connect token The Token is represented as a JSON Web Token (JWT) consists of a base64-encoded h
mysql-connector-python/lib/mysql/connector/plugins/authentication_openid_connect_client.py:63
↓ 1 callers
Method
_validate_second_reponse
Validates second message from the server. The client and the server prove to each other they have the same Auth variable. Th
mysql-connector-python/lib/mysql/connector/aio/plugins/authentication_ldap_sasl_client.py:459
↓ 1 callers
Method
_validate_second_reponse
Validates second message from the server. The client and the server prove to each other they have the same Auth variable. Th
mysql-connector-python/lib/mysql/connector/plugins/authentication_ldap_sasl_client.py:459
↓ 1 callers
Function
_validate_settings
Validates the settings to be passed to a Session object the port values are converted to int if specified or set to 33060 otherwise. The prior
mysqlx-connector-python/lib/mysqlx/connection.py:2749
↓ 1 callers
Function
_validate_tls_ciphersuites
Validate tls-ciphersuites. Args: settings (dict): Settings dictionary. Raises: :class:`mysqlx.InterfaceError`: If tls-cipher
mysqlx-connector-python/lib/mysqlx/connection.py:3120
↓ 1 callers
Method
_validate_tls_ciphersuites
Validates the tls_ciphersuites option.
mysql-connector-python/lib/mysql/connector/abstracts.py:332
↓ 1 callers
Method
_validate_tls_ciphersuites
Validates the tls_ciphersuites option.
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:540
↓ 1 callers
Function
_validate_tls_versions
Validate tls-versions. Args: settings (dict): Settings dictionary. Raises: :class:`mysqlx.InterfaceError`: If tls-versions n
mysqlx-connector-python/lib/mysqlx/connection.py:3030
↓ 1 callers
Method
_validate_tls_versions
Validates the tls_versions option.
mysql-connector-python/lib/mysql/connector/abstracts.py:427
↓ 1 callers
Method
_validate_tls_versions
Validates the tls_versions option.
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:633
↓ 1 callers
Function
_win_dll_is64bit
Check if a Windows DLL is 64 bit or not. Raises: ValueError: When magic of header is invalid. IOError: When file could not be rea
mysqlx-connector-python/cpydist/utils.py:539
↓ 1 callers
Function
_win_dll_is64bit
Check if a Windows DLL is 64 bit or not. Raises: ValueError: When magic of header is invalid. IOError: When file could not be rea
mysql-connector-python/cpydist/utils.py:539
↓ 1 callers
Method
_year_to_python
Returns YEAR column type as integer
mysql-connector-python/lib/mysql/connector/conversion.py:694
↓ 1 callers
Method
adapt_timefield_value
Transform a time value to an object compatible with what is expected by the backend driver for time columns.
mysql-connector-python/lib/mysql/connector/django/operations.py:88
↓ 1 callers
Method
add_connection
Adds a connection to this pool. This method instantiates a Connection using the configuration passed when initializing the Connection
mysqlx-connector-python/lib/mysqlx/connection.py:1610
↓ 1 callers
Method
add_cursor
Add cursor to the weakref set.
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:1529
↓ 1 callers
Function
add_docs
Prepare documentation files for Connector/Python.
mysqlx-connector-python/cpydist/utils.py:506
↓ 1 callers
Function
add_docs
Prepare documentation files for Connector/Python.
mysql-connector-python/cpydist/utils.py:506
↓ 1 callers
Method
am_i_real
Verifies if this object exists in the database. Returns: bool: `True` if object exists in database. Raises: N
mysqlx-connector-python/lib/mysqlx/crud.py:151
↓ 1 callers
Function
anext
(ait)
mysql-connector-python/tests/test_aio_connection.py:128
↓ 1 callers
Method
append_warning
Append a warning. Args: level (int): The warning level. code (int): The warning code. msg (str): The warn
mysqlx-connector-python/lib/mysqlx/result.py:897
↓ 1 callers
Method
asEq
(self, exp, *cases)
mysql-connector-python/tests/test_abstracts.py:55
↓ 1 callers
Method
atomic_expr
Parse an atomic expression and return a protobuf Expr object
mysqlx-connector-python/lib/mysqlx/expr.py:1061
↓ 1 callers
Method
auth_accept_close_handshake
Accept handshake and generate closing handshake message for server. This method verifies the server authenticity from the given message
mysql-connector-python/lib/mysql/connector/aio/plugins/authentication_ldap_sasl_client.py:245
↓ 1 callers
Method
auth_accept_close_handshake
Accept handshake and generate closing handshake message for server. This method verifies the server authenticity from the given message
mysql-connector-python/lib/mysql/connector/plugins/authentication_ldap_sasl_client.py:245
↓ 1 callers
Method
auth_continue
return the second message from the client. Returns bytes to send to the server as the second message.
mysql-connector-python/lib/mysql/connector/aio/plugins/authentication_ldap_sasl_client.py:451
↓ 1 callers
Method
auth_continue
Continue with the Kerberos TGT service request. With the TGT authentication service given response generate a TGT service request. Th
mysql-connector-python/lib/mysql/connector/aio/plugins/authentication_kerberos_client.py:88
↓ 1 callers
Method
auth_continue
return the second message from the client. Returns bytes to send to the server as the second message.
mysql-connector-python/lib/mysql/connector/plugins/authentication_ldap_sasl_client.py:451
↓ 1 callers
Method
auth_continue
Continue with the Kerberos TGT service request. With the TGT authentication service given response generate a TGT service request. Th
mysql-connector-python/lib/mysql/connector/plugins/authentication_kerberos_client.py:87
↓ 1 callers
Method
auth_continue_krb
Continue with the Kerberos TGT service request. With the TGT authentication service given response generate a TGT service request. Th
mysql-connector-python/lib/mysql/connector/aio/plugins/authentication_ldap_sasl_client.py:221
↓ 1 callers
Method
auth_continue_krb
Continue with the Kerberos TGT service request. With the TGT authentication service given response generate a TGT service request. Th
mysql-connector-python/lib/mysql/connector/plugins/authentication_ldap_sasl_client.py:221
↓ 1 callers
Method
auth_data
Hashing for MySQL 4.1 authentication. Args: data (bytes): The authentication data. Returns: str: The authent
mysqlx-connector-python/lib/mysqlx/authentication.py:97
↓ 1 callers
Method
auth_data
Returns the authentication data. Returns: str: The authentication data.
mysqlx-connector-python/lib/mysqlx/authentication.py:138
↓ 1 callers
Method
auth_data
Hashing for SHA256_MEMORY authentication. The scramble is of the form: SHA256(SHA256(SHA256(PASSWORD)),NONCE) XOR SHA256(PASSWORD
mysqlx-connector-python/lib/mysqlx/authentication.py:166
↓ 1 callers
Method
auth_finalize
finalize the authentication process. Raises InterfaceError if the ervers_second_response is invalid. Returns True in successful auth
mysql-connector-python/lib/mysql/connector/aio/plugins/authentication_ldap_sasl_client.py:486
↓ 1 callers
Method
auth_name
Returns the authentication name. Returns: str: The authentication name.
mysqlx-connector-python/lib/mysqlx/authentication.py:89
↓ 1 callers
Method
auth_name
Returns the authentication name. Returns: str: The authentication name.
mysqlx-connector-python/lib/mysqlx/authentication.py:130
↓ 1 callers
Method
auth_name
Returns the authentication name. Returns: str: The authentication name.
mysqlx-connector-python/lib/mysqlx/authentication.py:158
↓ 1 callers
Method
auth_plugin_first_response
Prepare the first authentication response. Args: auth_data: Authorization data from initial handshake. username: Acco
mysql-connector-python/lib/mysql/connector/protocol.py:223
↓ 1 callers
Method
auth_plugin_first_response
Prepare the first authentication response. Args: auth_data: Authorization data from initial handshake. username: Acco
mysql-connector-python/lib/mysql/connector/aio/protocol.py:59
↓ 1 callers
Method
auth_response
Make the client's authorization response. Args: auth_data: Authorization data. kwargs: Custom configuration to be pas
mysql-connector-python/lib/mysql/connector/aio/plugins/mysql_native_password.py:80
↓ 1 callers
Method
auth_response
Prepares authentication string for the server. Args: auth_data: Authorization data. kwargs: Custom configuration to be
mysql-connector-python/lib/mysql/connector/aio/plugins/authentication_openid_connect_client.py:92
↓ 1 callers
Method
auth_response
Find authenticator device and check if supports resident keys. It also creates a Fido2Client using the relying party ID from the server.
mysql-connector-python/lib/mysql/connector/aio/plugins/authentication_webauthn_client.py:169
↓ 1 callers
Method
auth_response
This method will prepare the fist message to the server. Returns bytes to send to the server as the first message.
mysql-connector-python/lib/mysql/connector/aio/plugins/authentication_ldap_sasl_client.py:297
↓ 1 callers
Method
auth_response
Make the client's authorization response. Args: auth_data: Authorization data. kwargs: Custom configuration to be pas
mysql-connector-python/lib/mysql/connector/aio/plugins/__init__.py:78
↓ 1 callers
Method
auth_response
Prepare authentication string for the server.
mysql-connector-python/lib/mysql/connector/aio/plugins/authentication_oci_client.py:188
↓ 1 callers
Method
auth_response
Return the prepared password to send to MySQL. Raises: InterfaceError: When SSL is required by not enabled. Returns:
mysql-connector-python/lib/mysql/connector/aio/plugins/mysql_clear_password.py:65
↓ 1 callers
Method
auth_response
Return the prepared password to send to MySQL. Raises: InterfaceError: When SSL is required by not enabled. Returns:
mysql-connector-python/lib/mysql/connector/aio/plugins/sha256_password.py:69
↓ 1 callers
Method
auth_response
Prepare the first message to the server.
mysql-connector-python/lib/mysql/connector/aio/plugins/authentication_kerberos_client.py:277
↓ 1 callers
Method
auth_response
Make the client's authorization response. Args: auth_data: Authorization data. kwargs: Custom configuration to be pas
mysql-connector-python/lib/mysql/connector/plugins/mysql_native_password.py:79
↓ 1 callers
Method
auth_response
Prepares authentication string for the server. Args: auth_data: Authorization data. kwargs: Custom configuration to be
mysql-connector-python/lib/mysql/connector/plugins/authentication_openid_connect_client.py:93
↓ 1 callers
Method
auth_response
Find authenticator device and check if supports resident keys. It also creates a Fido2Client using the relying party ID from the server.
mysql-connector-python/lib/mysql/connector/plugins/authentication_webauthn_client.py:168
↓ 1 callers
Method
auth_response
This method will prepare the fist message to the server. Returns bytes to send to the server as the first message.
mysql-connector-python/lib/mysql/connector/plugins/authentication_ldap_sasl_client.py:297
↓ 1 callers
Method
auth_response
Prepare authentication string for the server.
mysql-connector-python/lib/mysql/connector/plugins/authentication_oci_client.py:188
↓ 1 callers
Method
auth_response
Return the prepared password to send to MySQL. Raises: InterfaceError: When SSL is required by not enabled. Returns:
mysql-connector-python/lib/mysql/connector/plugins/mysql_clear_password.py:64
↓ 1 callers
Method
auth_response
Return the prepared password to send to MySQL. Raises: InterfaceError: When SSL is required by not enabled. Returns:
mysql-connector-python/lib/mysql/connector/plugins/sha256_password.py:68
↓ 1 callers
Method
auth_response
Prepare the first message to the server.
mysql-connector-python/lib/mysql/connector/plugins/authentication_kerberos_client.py:276
↓ 1 callers
Method
bit_expr
(self)
mysqlx-connector-python/lib/mysqlx/expr.py:1185
← previous
next →
1,101–1,200 of 5,006, ranked by callers