MCPcopy Create free account

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

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

↓ 2 callersFunctionAddPyListToMessageRepeatedString
mysqlx-connector-python/src/mysqlxpb/mysqlxpb.cc:439
↓ 2 callersFunctionMySQLPrepStmt_fetch_fields
Fetch column information for active MySQL Statement result. The returned PyObject is a PyList which consists of PyTuple objects. Raises MySQLI
mysql-connector-python/src/mysql_capi.c:3874
↓ 2 callersFunctionMySQL_handle_result
Handle a result. Handle a result after executing a statement. It will either store or use the result. Raises MySQLInterfaceError for any MySQL
mysql-connector-python/src/mysql_capi.c:2565
↓ 2 callersFunctionParseMessageImpl
mysqlx-connector-python/src/mysqlxpb/mysqlxpb.cc:777
↓ 2 callersFunctionPythonAddDict
mysqlx-connector-python/src/mysqlxpb/mysqlxpb.cc:596
↓ 2 callersMethod__anext__
(self)
mysql-connector-python/lib/mysql/connector/aio/cursor.py:160
↓ 2 callersMethod__init__
(self, connection_params: Mapping[str, Any])
mysqlx-connector-python/lib/mysqlx/connection.py:551
↓ 2 callersMethod__init__
( self, resultset: Union[BufferingResult, RowResult], fields: Sequence[FieldTypes] )
mysqlx-connector-python/lib/mysqlx/result.py:810
↓ 2 callersMethod__init__
( self, basedir, topdir, cnf, bind_address, port, mysq
mysqlx-connector-python/tests/mysqld.py:365
↓ 2 callersMethod__init__
(self, *args)
mysqlx-connector-python/tests/__init__.py:138
↓ 2 callersMethod__init__
( self, msg: Optional[str] = None, errno: Optional[int] = None, values: Option
mysql-connector-python/lib/mysql/connector/errors.py:46
↓ 2 callersMethod__init__
( self, basedir, topdir, cnf, bind_address, port, mysq
mysql-connector-python/tests/mysqld.py:365
↓ 2 callersMethod__init__
(self, *args)
mysql-connector-python/tests/__init__.py:146
↓ 2 callersMethod__setattr__
(self, name: str, value: Any)
mysqlx-connector-python/lib/mysqlx/protobuf/__init__.py:436
↓ 2 callersMethod_addSkip
(self, result, test_case, reason)
mysqlx-connector-python/tests/__init__.py:492
↓ 2 callersFunction_append_child_from_unparsed_xml
Append child xml nodes to a node.
mysqlx-connector-python/cpydist/utils.py:572
↓ 2 callersFunction_append_child_from_unparsed_xml
Append child xml nodes to a node.
mysql-connector-python/cpydist/utils.py:572
↓ 2 callersMethod_assert_flat_line
(self, samples, tolerance)
mysqlx-connector-python/tests/test_mysqlx_crud.py:1704
↓ 2 callersMethod_authenticate
Authenticate with the MySQL server.
mysqlx-connector-python/lib/mysqlx/connection.py:992
↓ 2 callersMethod_authenticate_mysql41
Authenticate with the MySQL server using `MySQL41AuthPlugin`.
mysqlx-connector-python/lib/mysqlx/connection.py:1023
↓ 2 callersMethod_authenticate_plain
Authenticate with the MySQL server using `PlainAuthPlugin`.
mysqlx-connector-python/lib/mysqlx/connection.py:1031
↓ 2 callersMethod_authenticate_sha256_memory
Authenticate with the MySQL server using `Sha256MemoryAuthPlugin`.
mysqlx-connector-python/lib/mysqlx/connection.py:1041
↓ 2 callersMethod_bytes_to_mysql
Convert value to bytes
mysql-connector-python/lib/mysql/connector/conversion.py:342
↓ 2 callersFunction_bytestr_format_dict
>>> _bytestr_format_dict(b'%(a)s', {b'a': b'foobar'}) b'foobar >>> _bytestr_format_dict(b'%%(a)s', {b'a': b'foobar'}) b'%%(a)s' >
mysql-connector-python/lib/mysql/connector/aio/cursor.py:115
↓ 2 callersMethod_callproc_cleanup
(self, cnx)
mysql-connector-python/tests/test_aio_cursor.py:517
↓ 2 callersMethod_check_attribute_values_are_correct
(self, attr_name, attr_val)
mysql-connector-python/tests/test_connection.py:3719
↓ 2 callersMethod_check_attribute_values_are_correct
(self, attr_name, attr_val)
mysql-connector-python/tests/test_aio_connection.py:3156
↓ 2 callersMethod_check_code
(self, code, num)
mysqlx-connector-python/tests/test_mysqlx_errorcode.py:47
↓ 2 callersMethod_check_code
(self, code, num)
mysql-connector-python/tests/test_errorcode.py:46
↓ 2 callersMethod_check_connection_span
(self, cnx_span: DbDocType, app_span: DbDocType)
mysql-connector-python/tests/otel/test_instrumentation.py:519
↓ 2 callersMethod_check_expected_behavior_for_unnamed_query_attrs
Check behavior 'attributes' getter and setter properties when the name is
mysql-connector-python/tests/test_connection.py:3904
↓ 2 callersMethod_check_expected_behavior_for_unnamed_query_attrs
Check behavior attributes getter and setter properties when the name is
mysql-connector-python/tests/test_aio_connection.py:3353
↓ 2 callersMethod_check_query_attrs_names_not_checked_for_uniqueness
Check attribute names are not checked for uniqueness
mysql-connector-python/tests/test_connection.py:3886
↓ 2 callersMethod_check_query_attrs_names_not_checked_for_uniqueness
Check attribute names are not checked for uniqueness
mysql-connector-python/tests/test_aio_connection.py:3335
↓ 2 callersMethod_check_query_spans
( self, query_spans: List[DbDocType], cnx_span: DbDocType, app_span: DbDocType
mysql-connector-python/tests/otel/test_instrumentation.py:464
↓ 2 callersMethod_check_server_version
Checks the MySQL version. This method will check the MySQL version and raise an InterfaceError when it is not supported or invalid. I
mysql-connector-python/lib/mysql/connector/abstracts.py:928
↓ 2 callersFunction_check_support
Raises error if the Python version and OS combination is not supported for Pooling.
mysql-connector-python/lib/mysql/connector/aio/pooling.py:311
↓ 2 callersMethod_check_two_cursor_can_have_different_query_attrs
Check No strange QA values are returned for other cursor
mysql-connector-python/tests/test_connection.py:3855
↓ 2 callersMethod_check_two_cursor_can_have_different_query_attrs
Check No strange QA values are returned for other cursor
mysql-connector-python/tests/test_aio_connection.py:3298
↓ 2 callersMethod_check_unavailable_pools
( self, settings: Dict[str, Any], revive: Optional[bool] = None )
mysqlx-connector-python/lib/mysqlx/connection.py:1913
↓ 2 callersMethod_clear_random_models
(cursor: MySQLCursorAbstract)
mysql-connector-python/tests/ai/utilities.py:161
↓ 2 callersMethod_collect_samples
(self, sample_size, funct, param)
mysqlx-connector-python/tests/test_mysqlx_crud.py:1716
↓ 2 callersMethod_drop_test_tables
(cursor: MySQLCursorAbstract)
mysql-connector-python/tests/ai/utilities.py:154
↓ 2 callersMethod_drop_user
(self, cnx, user, host)
mysql-connector-python/tests/test_bugs.py:2613
↓ 2 callersMethod_drop_user
(self, host, user)
mysql-connector-python/tests/test_bugs.py:4580
↓ 2 callersMethod_empty_table
(self)
mysql-connector-python/tests/test_connection.py:3705
↓ 2 callersMethod_empty_table
(self)
mysql-connector-python/tests/test_aio_connection.py:3142
↓ 2 callersFunction_escape
Escapes special characters.
mysqlx-connector-python/lib/mysqlx/helpers.py:97
↓ 2 callersMethod_execute_query
Execute a query This method simply calls cmd_query() after checking for unread result. If there are still unread result, an Interface
mysql-connector-python/lib/mysql/connector/connection.py:1465
↓ 2 callersMethod_execute_query
Execute a query. This method simply calls cmd_query() after checking for unread result. If there are still unread result, an Interfac
mysql-connector-python/lib/mysql/connector/aio/connection.py:203
↓ 2 callersMethod_fetch_row
Returns the next row in the result set Returns a tuple or None.
mysql-connector-python/lib/mysql/connector/cursor_cext.py:1015
↓ 2 callersMethod_get_available_routers
Get a list of the current available routers that shares the given priority. Returns: list: A list of the current available router
mysqlx-connector-python/lib/mysqlx/connection.py:633
↓ 2 callersMethod_get_binding_args
Returns the binding any/scalar. Args: stmt (Statement): A `Statement` based type object. is_scalar (bool): `True` to
mysqlx-connector-python/lib/mysqlx/protocol.py:440
↓ 2 callersFunction_get_connection_settings
Parses the connection string and returns a dictionary with the connection settings. Args: *args: Variable length argument list with t
mysqlx-connector-python/lib/mysqlx/connection.py:3222
↓ 2 callersMethod_get_connections_settings
Generates a list of separated connection settings for each host. Gets a list of connection settings for each host or router found in the
mysqlx-connector-python/lib/mysqlx/connection.py:1787
↓ 2 callersFunction_get_logits
Compute logit (logodds) for a probability, clipping to avoid numerical overflow. Args: prob: Scalar or array of probability values i
mysql-connector-python/lib/mysql/ai/ml/outlier.py:48
↓ 2 callersMethod_get_model_info
Retrieves the model info from the model_catalog Args: model_var: The model alias to retrieve Returns:
mysql-connector-python/lib/mysql/ai/ml/model.py:175
↓ 2 callersMethod_get_next_priority
( pools: List[ConnectionPool], cur_priority: Optional[int] = None )
mysqlx-connector-python/lib/mysqlx/connection.py:1901
↓ 2 callersMethod_get_random_data
(self, size)
mysqlx-connector-python/tests/test_mysqlx_connection.py:2404
↓ 2 callersMethod_get_version
Get the MySQL server version This method executes mysqld with the --version argument. It parses the output looking for the version nu
mysqlx-connector-python/tests/mysqld.py:287
↓ 2 callersMethod_get_version
Get the MySQL server version This method executes mysqld with the --version argument. It parses the output looking for the version nu
mysql-connector-python/tests/mysqld.py:287
↓ 2 callersMethod_handle_noresultset
Handle result of execute() when there is no result set. Raises: ProgrammingError: When failing handling a non-resultset.
mysql-connector-python/lib/mysql/connector/aio/cursor.py:287
↓ 2 callersMethod_handle_warnings
Handle possible warnings after all results are consumed. Raises: Error: Also raises exceptions if raise_on_warnings is set.
mysql-connector-python/lib/mysql/connector/cursor.py:696
↓ 2 callersMethod_handle_warnings
Handle possible warnings after all results are consumed. Raises: Error: Also raises exceptions if raise_on_warnings is set.
mysql-connector-python/lib/mysql/connector/aio/cursor.py:302
↓ 2 callersMethod_init_result
Initialize the result.
mysqlx-connector-python/lib/mysqlx/result.py:997
↓ 2 callersMethod_isolation_test
(self, cnx1, cnx2, engine="MyISAM")
mysql-connector-python/tests/test_pep249.py:470
↓ 2 callersMethod_lock_contention_test
Test reading an exclusively locked document using lock_shared and the 'NOWAIT' waiting option.
mysqlx-connector-python/tests/qa/test_qa_mysqlx_crud_collection_find.py:1109
↓ 2 callersMethod_long_query
(self, config, cursor_class)
mysql-connector-python/tests/test_bugs.py:4977
↓ 2 callersMethod_open_connection
(self, *args, **kwargs)
mysql-connector-python/tests/test_connection.py:121
↓ 2 callersMethod_parse_binary_float
Parse a float/double from a binary packet
mysql-connector-python/lib/mysql/connector/protocol.py:690
↓ 2 callersMethod_parse_binary_integer
Parse an integer from a binary packet
mysql-connector-python/lib/mysql/connector/protocol.py:664
↓ 2 callersMethod_parse_binary_time
Parse a time value from a binary packet
mysql-connector-python/lib/mysql/connector/protocol.py:744
↓ 2 callersMethod_parse_binary_timestamp
Parse a timestamp from a binary packet
mysql-connector-python/lib/mysql/connector/protocol.py:712
↓ 2 callersMethod_parse_options
Parse options from files given as arguments. This method checks for !include or !inculdedir directives and if there is any, those fi
mysql-connector-python/lib/mysql/connector/optionfiles.py:167
↓ 2 callersFunction_parse_release_file
Parse the contents of /etc/lsb-release or /etc/os-release file. Returns: A dictionary containing release information.
mysqlx-connector-python/cpydist/utils.py:359
↓ 2 callersFunction_parse_release_file
Parse the contents of /etc/lsb-release or /etc/os-release file. Returns: A dictionary containing release information.
mysql-connector-python/cpydist/utils.py:359
↓ 2 callersMethod_post_connection
Executes commands after connection has been established. This method executes commands after the connection has been established. Som
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:1199
↓ 2 callersMethod_prepare_statement
Prepares a statement. Args: msg_type (str): Message ID string. msg (mysqlx.protobuf.Message): MySQL X Protobuf Messag
mysqlx-connector-python/lib/mysqlx/connection.py:1060
↓ 2 callersMethod_process_params
Process query parameters.
mysql-connector-python/lib/mysql/connector/aio/cursor.py:198
↓ 2 callersMethod_process_params_dict
Process query parameters given as dictionary.
mysql-connector-python/lib/mysql/connector/aio/cursor.py:175
↓ 2 callersMethod_queue_connection
Put connection back in the queue This method is putting a connection back in the queue. It will not acquire a lock as the methods usi
mysql-connector-python/lib/mysql/connector/pooling.py:567
↓ 2 callersMethod_queue_connection
Put connection back in the queue This method is putting a connection back in the queue. It will not acquire a lock as the methods usin
mysql-connector-python/lib/mysql/connector/aio/pooling.py:551
↓ 2 callersMethod_read_item
Read item. Args: dumping (bool): `True` for dumping. Returns: :class:`mysqlx.Row`: A `Row` object.
mysqlx-connector-python/lib/mysqlx/result.py:1006
↓ 2 callersMethod_reset_result
Resets the cursor to default. This method is similar to `reset()`. Unlike `reset()`, this hidden method allows to customize the reset
mysql-connector-python/lib/mysql/connector/cursor_cext.py:153
↓ 2 callersMethod_run_client_app1
(self, with_client_span: bool = True)
mysql-connector-python/tests/otel/test_instrumentation.py:233
↓ 2 callersMethod_run_execute
(self, dict_based=True, cur_config={})
mysql-connector-python/tests/test_bugs.py:8710
↓ 2 callersMethod_run_execute
(self, dict_based=True, cur_config={})
mysql-connector-python/tests/test_bugs.py:8756
↓ 2 callersMethod_run_test
(self)
mysql-connector-python/tests/test_bugs.py:7437
↓ 2 callersMethod_set_lock_contention
Set the lock contention. Args: lock_contention (:class:`mysqlx.LockContention`): Lock contention. Raises: Pr
mysqlx-connector-python/lib/mysqlx/statement.py:1004
↓ 2 callersMethod_set_next_compressed_pktnr
Set the given packet id, if any, else increment packet id.
mysql-connector-python/lib/mysql/connector/aio/network.py:349
↓ 2 callersMethod_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 c
mysql-connector-python/lib/mysql/connector/aio/pooling.py:539
↓ 2 callersMethod_set_projection
Set the projection. Args: *fields: List of fields. Returns: :class:`mysqlx.FilterableStatement`: Returns sel
mysqlx-connector-python/lib/mysqlx/statement.py:390
↓ 2 callersMethod_setup
(self)
mysql-connector-python/tests/test_bugs.py:1079
↓ 2 callersMethod_setup
(self)
mysql-connector-python/tests/test_bugs.py:1807
↓ 2 callersMethod_split_statement
Split code context by delimiter.
mysql-connector-python/lib/mysql/connector/_scripting.py:85
↓ 2 callersMethod_switch_auth_strategy
Switches the authorization plugin. Args: new_strategy_name: New authorization plugin name to switch to. strategy_clas
mysql-connector-python/lib/mysql/connector/authentication.py:148
↓ 2 callersMethod_switch_auth_strategy
Switch the authorization plugin. Args: new_strategy_name: New authorization plugin name to switch to. strategy_class:
mysql-connector-python/lib/mysql/connector/aio/authentication.py:94
↓ 2 callersMethod_test_1_query_attr_individual_send
Test query_attributes are send individually.
mysql-connector-python/tests/test_connection.py:3732
↓ 2 callersMethod_test_1_query_attr_individual_send
Test query_attributes are send individually.
mysql-connector-python/tests/test_aio_connection.py:3169
↓ 2 callersMethod_test_2_query_attr_group_send
Test query_attributes are send in group.
mysql-connector-python/tests/test_connection.py:3755
← previousnext →601–700 of 5,006, ranked by callers