MCPcopy Create free account

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

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

↓ 1 callersMethodget_header
Recover the header information from a packet.
mysql-connector-python/lib/mysql/connector/aio/network.py:172
↓ 1 callersMethodget_info
Retrieves character set information as tuple using an ID Retrieves character set and collation information based on the given MySQL I
mysql-connector-python/lib/mysql/connector/constants.py:990
↓ 1 callersFunctionget_long_description
Extracts a long description from the README.rst file that is suited for this specific package.
mysqlx-connector-python/setup.py:187
↓ 1 callersFunctionget_long_description
Extracts a long description from the README.rst file that is suited for this specific package.
mysql-connector-python/setup.py:181
↓ 1 callersFunctionget_mysql_exception
Get the exception matching the MySQL error. This function will return an exception based on the SQLState. The given message will be passed on
mysqlx-connector-python/lib/mysqlx/errors.py:151
↓ 1 callersFunctionget_mysqlx_config
Get MySQLx enabled server configuration for running MySQL server If no name is given, then we will return the configuration of the first adde
mysqlx-connector-python/tests/__init__.py:309
↓ 1 callersMethodget_next_router
Returns the next connection parameters. Returns: Router: with the connection parameters.
mysqlx-connector-python/lib/mysqlx/connection.py:667
↓ 1 callersFunctionget_openssl_libs
Get libssl and libcrypto filenames from a OpenSSL library path. Arg: openssl_lib_dir (str): OpenSSL library path. Returns: t
mysql-connector-python/cpydist/utils.py:640
↓ 1 callersFunctionget_operation_name
Parse query to extract operation name.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:105
↓ 1 callersMethodget_processed_script
Get the processed script.
mysql-connector-python/tests/qa/test_qa_multi_statement.py:623
↓ 1 callersMethodget_projection_expr
Returns the projection expression. Returns: object: The projection expression.
mysqlx-connector-python/lib/mysqlx/statement.py:464
↓ 1 callersMethodget_proto_type
Returns the column proto type. Returns: int: The column proto type.
mysqlx-connector-python/lib/mysqlx/result.py:729
↓ 1 callersMethodget_relations
Return a dictionary of {field_name: (field_name_other_table, other_table)} representing all relationships to the given table.
mysql-connector-python/lib/mysql/connector/django/introspection.py:287
↓ 1 callersMethodget_rows
Get all rows returned by the MySQL server. This method gets all rows returned by the MySQL server after sending, for example, the que
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:1647
↓ 1 callersFunctionget_scenarios_matrix
(scenarios_lists)
mysqlx-connector-python/tests/__init__.py:783
↓ 1 callersMethodget_schema
(self, schema_name: str = "otel")
mysql-connector-python/tests/otel/collector.py:174
↓ 1 callersMethodget_schemas
Returns the list of schemas in the current session. Returns: `list`: The list of schemas in the current session. .. vers
mysqlx-connector-python/lib/mysqlx/connection.py:2321
↓ 1 callersMethodget_self
Return self for weakref.proxy. This method is used when the original object is needed when using weakref.proxy.
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:1290
↓ 1 callersMethodget_server_version
Gets the MySQL version. Returns: The MySQL server version as a tuple. If not previously connected, it will return `No
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:1299
↓ 1 callersMethodget_session
Returns the session of this database object. Returns: mysqlx.Session: The Session object.
mysqlx-connector-python/lib/mysqlx/crud.py:115
↓ 1 callersMethodget_sort_expr
Returns the sort expression. Returns: object: The sort expression.
mysqlx-connector-python/lib/mysqlx/statement.py:474
↓ 1 callersMethodget_store
Get a credentials store dictionary. Returns: dict: Credentials store dictionary with the krb5 ccache name. Raises:
mysql-connector-python/lib/mysql/connector/aio/plugins/authentication_kerberos_client.py:195
↓ 1 callersMethodget_supported
Retrieves a list with names of all supproted character sets Returns a tuple.
mysql-connector-python/lib/mysql/connector/constants.py:1086
↓ 1 callersMethodget_table_label
Returns the table label. Returns: str: The table label.
mysqlx-connector-python/lib/mysqlx/result.py:705
↓ 1 callersMethodget_table_list
Return a list of table and view names in the current database.
mysql-connector-python/lib/mysql/connector/django/introspection.py:130
↓ 1 callersMethodget_task_string
Return the string representation of a machine learning task. Args: task (Union[str, ML_TASK]): The task to convert.
mysql-connector-python/lib/mysql/ai/ml/model.py:72
↓ 1 callersFunctionget_test_modules
Get list of Python modules containing tests This function scans the tests/ folder for Python modules which name start with 'test_'. It will r
mysqlx-connector-python/tests/__init__.py:205
↓ 1 callersFunctionget_test_modules
Get list of Python modules containing tests This function scans the tests/ folder for Python modules which name start with 'test_'. It will r
mysql-connector-python/tests/__init__.py:269
↓ 1 callersMethodget_timeout_stamp
Returns the penalized time (timeout) and the time at the penalty. Returns: tuple: penalty seconds (int), timestamp at penalty (da
mysqlx-connector-python/lib/mysqlx/connection.py:1715
↓ 1 callersMethodget_update_ops
Returns the list of update operations. Returns: `list`: The list of update operations.
mysqlx-connector-python/lib/mysqlx/statement.py:829
↓ 1 callersMethodget_user_from_credentials
Get user from credentials without realm.
mysql-connector-python/lib/mysql/connector/plugins/authentication_kerberos_client.py:182
↓ 1 callersMethodget_values
Returns the list of values. Returns: `list`: The list of values.
mysqlx-connector-python/lib/mysqlx/statement.py:681
↓ 1 callersMethodget_warnings_count
Returns the number of warnings. Returns: int: The number of warnings.
mysqlx-connector-python/lib/mysqlx/result.py:885
↓ 1 callersMethodget_where_expr
Returns the where expression. Returns: object: The where expression.
mysqlx-connector-python/lib/mysqlx/statement.py:456
↓ 1 callersMethodhas_delimiter
Validates whether `code` has the delimiter command pattern or not.
mysql-connector-python/lib/mysql/connector/_scripting.py:125
↓ 1 callersFunctionheaderify
Traverses the given package directory and hands over the relevant* files to be updated to `update_header` which drives the actual update. [*]
automation/headerfy.py:197
↓ 1 callersFunctioniani_to_openssl_cs_name
Translates a cipher suites names list; from IANI names to OpenSSL names. Args: TLS_version (str): The TLS version to look at for a transl
mysqlx-connector-python/lib/mysqlx/helpers.py:193
↓ 1 callersMethodidentifier
(self)
mysqlx-connector-python/lib/mysqlx/expr.py:719
↓ 1 callersMethodincrement_exec_counter
Increments the number of times this statement has been executed.
mysqlx-connector-python/lib/mysqlx/statement.py:237
↓ 1 callersMethodinitialize_options
Initialize the options.
mysqlx-connector-python/cpydist/sdist.py:183
↓ 1 callersMethodinitialize_options
Initialize the options.
mysql-connector-python/cpydist/sdist.py:183
↓ 1 callersMethodinstall_ai_dependencies
()
mysql-connector-python/tests/ai/utilities.py:139
↓ 1 callersFunctionintread
Unpacks the given buffer to an integer.
mysqlx-connector-python/lib/mysqlx/errors.py:119
↓ 1 callersMethodis_connected
Reports whether the connection to MySQL Server is available or not. Checks whether the connection to MySQL is available using the `ping()` me
mysql-connector-python/lib/mysql/connector/abstracts.py:1691
↓ 1 callersMethodis_connected
Reports whether the connection to MySQL Server is available. This method checks whether the connection to MySQL is available. It is s
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:1352
↓ 1 callersMethodis_lock_exclusive
Returns `True` if is `EXCLUSIVE LOCK`. Returns: bool: `True` if is `EXCLUSIVE LOCK`.
mysqlx-connector-python/lib/mysqlx/statement.py:1022
↓ 1 callersMethodis_lock_shared
Returns `True` if is `SHARED LOCK`. Returns: bool: `True` if is `SHARED LOCK`.
mysqlx-connector-python/lib/mysqlx/statement.py:1030
↓ 1 callersMethodis_socket_connected
Reports whether the socket is connected. Instead of ping the server like ``is_connected()``, it only checks if the socket connection
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:1344
↓ 1 callersMethodis_upsert
Returns `True` if it's an upsert. Returns: bool: `True` if it's an upsert.
mysqlx-connector-python/lib/mysqlx/statement.py:720
↓ 1 callersFunctionis_valid_time
Check whether a time is valid or not. Check whether the time defined by the arguments hours, mins, secs and usecs, is valid or not. @param
mysql-connector-python/src/mysql_capi_conversion.c:163
↓ 1 callersFunctionleap_year
Check whether a year is a leap year. Check whether a year is a leap year or not. Year is not checked. This helper function is used by other fu
mysql-connector-python/src/mysql_capi_conversion.c:89
↓ 1 callersMethodlex_alpha
(self, i: int, allow_space: bool = False)
mysqlx-connector-python/lib/mysqlx/expr.py:490
↓ 1 callersMethodlex_quoted_token
(self, key: int)
mysqlx-connector-python/lib/mysqlx/expr.py:513
↓ 1 callersFunctionlinux_distribution
Tries to determine the name of the Linux OS distribution name. First tries to get information from ``/etc/os-release`` file. If fails, tries
mysql-connector-python/lib/mysql/connector/utils.py:448
↓ 1 callersFunctionload_source
(name, path)
mysqlx-connector-python/tests/__init__.py:60
↓ 1 callersFunctionload_source
(name, path)
mysql-connector-python/tests/__init__.py:64
↓ 1 callersFunctionmain
()
mysqlx-connector-python/unittests.py:603
↓ 1 callersFunctionmain
()
mysqlx-connector-python/setup.py:102
↓ 1 callersFunctionmain
(src_file_location: pathlib.Path, dst_ciphers_file: pathlib.Path)
automation/generate_tls_ciphers_file.py:109
↓ 1 callersFunctionmain
()
mysql-connector-python/unittests.py:876
↓ 1 callersFunctionmain
()
mysql-connector-python/setup.py:97
↓ 1 callersFunctionmain
(config)
mysql-connector-python/examples/prepared_statements.py:43
↓ 1 callersFunctionmain
(config)
mysql-connector-python/examples/microseconds.py:59
↓ 1 callersFunctionmain
(config)
mysql-connector-python/examples/mysql_warnings.py:44
↓ 1 callersFunctionmain
(config)
mysql-connector-python/examples/dates.py:56
↓ 1 callersFunctionmain
(config)
mysql-connector-python/examples/warnings.py:47
↓ 1 callersFunctionmain
(config)
mysql-connector-python/examples/transaction.py:44
↓ 1 callersFunctionmain
(config)
mysql-connector-python/examples/engines.py:45
↓ 1 callersFunctionmain
(config)
mysql-connector-python/examples/multi_resultsets.py:42
↓ 1 callersFunctionmain
(config)
mysql-connector-python/examples/inserts.py:43
↓ 1 callersFunctionmain
(config)
mysql-connector-python/examples/unicode.py:49
↓ 1 callersFunctionmain
Start application
mysql-connector-python/support/django/run_django_tests.py:343
↓ 1 callersMethodmake_auth
Make a MySQL Authentication packet. Args: handshake: Initial handshake. username: Account's username. pas
mysql-connector-python/lib/mysql/connector/aio/protocol.py:120
↓ 1 callersMethodnextset
(self)
mysql-connector-python/lib/mysql/connector/cursor.py:814
↓ 1 callersMethodnextset
Makes the cursor skip to the next available set, discarding any remaining rows from the current set. This method is used as part of t
mysql-connector-python/lib/mysql/connector/abstracts.py:2964
↓ 1 callersMethodnextset
Makes the cursor skip to the next available set, discarding any remaining rows from the current set. This method should be used as pa
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:2587
↓ 1 callersFunctionnr_days_month
Return number of days in month. Return the number of days in a month considering leap years. Year and month are not checked. This helper functio
mysql-connector-python/src/mysql_capi_conversion.c:113
↓ 1 callersFunctionopen_connection
A wrapper for create_connection() returning a (reader, writer) pair. This function is based on ``asyncio.streams.open_connection`` and adds a cus
mysql-connector-python/lib/mysql/connector/aio/utils.py:111
↓ 1 callersMethodopen_connection
Open the socket.
mysql-connector-python/lib/mysql/connector/network.py:671
↓ 1 callersMethodopen_connection
Open the TCP/IP connection to the MySQL server.
mysql-connector-python/lib/mysql/connector/network.py:752
↓ 1 callersMethodopen_connection
Open the socket.
mysql-connector-python/lib/mysql/connector/aio/network.py:565
↓ 1 callersMethodor_expr
(self)
mysqlx-connector-python/lib/mysqlx/expr.py:1270
↓ 1 callersMethodparse
Creates a new message, initialized with parsed data. Args: msg_type_name (string): Message type name. payload (string
mysqlx-connector-python/lib/mysqlx/protobuf/__init__.py:534
↓ 1 callersMethodparse_expr_list
( self, )
mysqlx-connector-python/lib/mysqlx/expr.py:1356
↓ 1 callersMethodparse_json_array
jsonArray ::= "[" [ expr ("," expr)* ] "]"
mysqlx-connector-python/lib/mysqlx/expr.py:916
↓ 1 callersMethodparse_json_doc
jsonDoc ::= "{" [jsonKeyValue ("," jsonKeyValue)*] "}" jsonKeyValue ::= STRING_DQ ":" expr
mysqlx-connector-python/lib/mysqlx/expr.py:935
↓ 1 callersFunctionparse_loose_version
Parse a loose version number. Args: version (str): Version string. Returns the numeric version that can contain strings.
mysqlx-connector-python/cpydist/utils.py:661
↓ 1 callersMethodparse_order_spec
( self, )
mysqlx-connector-python/lib/mysqlx/expr.py:1337
↓ 1 callersMethodparse_place_holder
(self, token: Token)
mysqlx-connector-python/lib/mysqlx/expr.py:959
↓ 1 callersMethodparse_table_insert_field
(self)
mysqlx-connector-python/lib/mysqlx/expr.py:1296
↓ 1 callersMethodparse_table_select_projection
( self, )
mysqlx-connector-python/lib/mysqlx/expr.py:1317
↓ 1 callersMethodparse_table_update_field
(self)
mysqlx-connector-python/lib/mysqlx/expr.py:1299
↓ 1 callersMethodpeek_token
(self)
mysqlx-connector-python/lib/mysqlx/expr.py:908
↓ 1 callersMethodping
Check availability of the MySQL server When reconnect is set to True, one or more attempts are made to try to reconnect to the MySQL
mysql-connector-python/lib/mysql/connector/connection_cext.py:418
↓ 1 callersMethodping
Check availability of the MySQL server. When reconnect is set to `True`, one or more attempts are made to try to reconnect to the MyS
mysql-connector-python/lib/mysql/connector/aio/connection.py:757
↓ 1 callersMethodpredict
Predict a continuous target for the input features using the MySQL model. Args: X: Input samples as a numpy array or pan
mysql-connector-python/lib/mysql/ai/ml/regressor.py:104
↓ 1 callersFunctionprocess_running
Check whether a process is running This function takes the process ID or pid and checks whether it is running. It works for Windows and UNIX-
mysqlx-connector-python/tests/mysqld.py:81
↓ 1 callersFunctionprocess_running
Check whether a process is running This function takes the process ID or pid and checks whether it is running. It works for Windows and UNIX-
mysql-connector-python/tests/mysqld.py:81
↓ 1 callersFunctionprocess_terminate
Terminates a process This function terminates a running process using it's pid (process ID), sending a SIGKILL on Posix systems and using cty
mysqlx-connector-python/tests/mysqld.py:110
↓ 1 callersFunctionprocess_terminate
Terminates a process This function terminates a running process using it's pid (process ID), sending a SIGKILL on Posix systems and using cty
mysql-connector-python/tests/mysqld.py:110
← previousnext →1,301–1,400 of 5,006, ranked by callers