MCPcopy Create free account

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

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

Method__init__
( self, connection: Optional[MySQLConnection] = None, read_timeout: Optional[int] = No
mysql-connector-python/lib/mysql/connector/cursor.py:911
Method__init__
( self, connection: Optional[MySQLConnection] = None, read_timeout: Optional[int] = No
mysql-connector-python/lib/mysql/connector/cursor.py:996
Method__init__
( self, connection: Optional[MySQLConnection] = None, read_timeout: Optional[int] = No
mysql-connector-python/lib/mysql/connector/cursor.py:1042
Method__init__
( self, connection: Optional[MySQLConnection] = None, read_timeout: Optional[int] = No
mysql-connector-python/lib/mysql/connector/cursor.py:1091
Method__init__
Initialization
mysql-connector-python/lib/mysql/connector/connection_cext.py:114
Method__init__
Constructor. Args: pool: A `MySQLConnectionPool` instance. cnx: A `MySQLConnectionAbstract` subclass instance.
mysql-connector-python/lib/mysql/connector/pooling.py:369
Method__init__
Constructor. Initialize a MySQL connection pool with a maximum number of connections set to `pool_size`. The rest of the keywords
mysql-connector-python/lib/mysql/connector/pooling.py:437
Method__init__
Initialize
mysql-connector-python/lib/mysql/connector/abstracts.py:185
Method__init__
Defines the MySQL cursor interface.
mysql-connector-python/lib/mysql/connector/abstracts.py:2430
Method__init__
(self, *args: Any, **kwargs: Any)
mysql-connector-python/lib/mysql/connector/django/base.py:329
Method__init__
(self)
mysql-connector-python/lib/mysql/connector/aio/network.py:168
Method__init__
(self)
mysql-connector-python/lib/mysql/connector/aio/network.py:305
Method__init__
( self, host: str = "127.0.0.1", port: int = 3306, force_ipv6: bool = False )
mysql-connector-python/lib/mysql/connector/aio/network.py:729
Method__init__
(self, unix_socket: str = "/tmp/mysql.sock")
mysql-connector-python/lib/mysql/connector/aio/network.py:753
Method__init__
(self)
mysql-connector-python/lib/mysql/connector/aio/charsets.py:73
Method__init__
Constructor.
mysql-connector-python/lib/mysql/connector/aio/authentication.py:59
Method__init__
(self, params: Sequence[bytes])
mysql-connector-python/lib/mysql/connector/aio/cursor.py:95
Method__init__
( self, connection: MySQLConnectionAbstract, read_timeout: Optional[int] = None,
mysql-connector-python/lib/mysql/connector/aio/cursor.py:831
Method__init__
( self, connection: MySQLConnectionAbstract, read_timeout: Optional[int] = None,
mysql-connector-python/lib/mysql/connector/aio/cursor.py:948
Method__init__
( self, connection: MySQLConnectionAbstract, read_timeout: Optional[int] = None,
mysql-connector-python/lib/mysql/connector/aio/cursor.py:1042
Method__init__
Constructor. Args: pool: A `MySQLConnectionPool` instance. cnx: A `MySQLConnectionAbstract` subclass instance.
mysql-connector-python/lib/mysql/connector/aio/pooling.py:337
Method__init__
Constructor. Initialize a MySQL connection pool with a maximum number of connections set to `pool_size`. NOTE: The coroutine
mysql-connector-python/lib/mysql/connector/aio/pooling.py:404
Method__init__
( self, *, user: Optional[str] = None, password: str = "", host: str =
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:167
Method__init__
( self, connection: MySQLConnectionAbstract, read_timeout: Optional[int] = None,
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:2032
Method__init__
(self, callback: Optional[Callable] = None)
mysql-connector-python/lib/mysql/connector/aio/plugins/authentication_webauthn_client.py:67
Method__init__
Constructor.
mysql-connector-python/lib/mysql/connector/aio/plugins/__init__.py:51
Method__init__
(self, callback: Optional[Callable] = None)
mysql-connector-python/lib/mysql/connector/plugins/authentication_webauthn_client.py:66
Method__init__
Constructor.
mysql-connector-python/lib/mysql/connector/plugins/__init__.py:49
Method__init__
Must be implemented by subclasses.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:273
Method__init__
Constructor.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:318
Method__init__
Constructor.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:350
Method__init__
Initialize a MyClassifier. Args: db_connection: Active MySQL connector database connection. model_name: Opti
mysql-connector-python/lib/mysql/ai/ml/classifier.py:71
Method__init__
Initialize a MyBaseMLModel with connection, task, and option parameters. Args: db_connection: Active MySQL connector dat
mysql-connector-python/lib/mysql/ai/ml/base.py:63
Method__init__
Initialize a MyRegressor. Args: db_connection: Active MySQL connector database connection. model_name: Optio
mysql-connector-python/lib/mysql/ai/ml/regressor.py:70
Method__init__
Initialize transformer with required and optional arguments. Args: db_connection: Active MySQL backend database connecti
mysql-connector-python/lib/mysql/ai/ml/transformer.py:77
Method__init__
Initialize an anomaly detector instance with threshold and extra options. Args: db_connection: Active MySQL DB connectio
mysql-connector-python/lib/mysql/ai/ml/outlier.py:87
Method__init__
Instantiate _MyMLModelCommon. References: https://dev.mysql.com/doc/heatwave/en/mys-hwaml-ml-train.html
mysql-connector-python/lib/mysql/ai/ml/model.py:105
Method__init__
Initialize the MyLLM instance with an active MySQL database connection. Args: db_connection: A MySQL connection object u
mysql-connector-python/lib/mysql/ai/genai/generation.py:76
Method__init__
Initialize a MyVectorStore with a database connection and embedding generator. Args: db_connection: MySQL database conne
mysql-connector-python/lib/mysql/ai/genai/vector_store.py:100
Method__init__
Initialize MyEmbeddings with a database connection and optional embedding parameters. References: https://dev.mysql.com/
mysql-connector-python/lib/mysql/ai/genai/embedding.py:70
Method__init__
(self, packet)
mysql-connector-python/tests/test_connection.py:825
Method__init__
(self, cnx=None, read_timeout=None, write_timeout=None)
mysql-connector-python/tests/test_aio_connection.py:1353
Method__init__
(self, basedir, option_file=None, sharedir=None)
mysql-connector-python/tests/mysqld.py:157
Method__init__
(self, request, client_address, server)
mysql-connector-python/tests/mysqld.py:839
Method__init__
(self, *args, **kwargs)
mysql-connector-python/tests/mysqld.py:868
Method__init__
(self, cnf, name)
mysql-connector-python/tests/mysqld.py:899
Method__init__
(self)
mysql-connector-python/tests/__init__.py:214
Method__init__
(self)
mysql-connector-python/tests/__init__.py:466
Method__init__
(self, hours=0)
mysql-connector-python/tests/__init__.py:482
Method__init__
(self, methodName="runTest")
mysql-connector-python/tests/__init__.py:633
Method__init__
(self, methodName="runTest")
mysql-connector-python/tests/__init__.py:885
Method__init__
(self)
mysql-connector-python/tests/test_cursor.py:175
Method__init__
(self, methodName="runTest")
mysql-connector-python/tests/qa/test_qa_timeout.py:56
Method__init__
(self, methodName="runTest")
mysql-connector-python/tests/qa/test_qa_aio_timeout.py:53
Method__init__
(self, *args: Any, **kwargs: Any)
mysql-connector-python/tests/otel/collector.py:153
Method__init__
(self, **config)
mysql-connector-python/tests/otel/context_propagation/sanity_check.py:208
Method__iter__
Iteration over the result set Iteration over the result set which calls self.fetchone() and returns the next row.
mysql-connector-python/lib/mysql/connector/cursor_cext.py:743
Method__iter__
Iteration over the result set which calls self.fetchone() and returns the next row.
mysql-connector-python/lib/mysql/connector/cursor.py:199
Method__iter__
Return an iterator over wrapped cursor
mysql-connector-python/lib/mysql/connector/django/base.py:217
Method__ne__
(self, other: object)
mysql-connector-python/lib/mysql/connector/dbapi.py:62
Method__new__
(cls)
mysqlx-connector-python/lib/mysqlx/connection.py:1741
Method__new__
(cls: Type[HexLiteral], str_: str, charset: str = "utf8")
mysql-connector-python/lib/mysql/connector/custom_types.py:41
Method__new__
Singlenton. Restricts the instantiation to a singular instance.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:574
Method__next__
Iteration over the result set Used for iterating over the result set. Calls self.fetchone() to get the next row. Raises StopI
mysql-connector-python/lib/mysql/connector/cursor_cext.py:769
Method__next__
Used for iterating over the result set. Calles self.fetchone() to get the next row.
mysql-connector-python/lib/mysql/connector/cursor.py:246
Method__post_init__
Parse and validate server version. Raises: InterfaceError: If parsing fails or MySQL version is not supported.
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:147
Method__repr__
(self)
mysqlx-connector-python/lib/mysqlx/expr.py:296
Method__repr__
(self)
mysqlx-connector-python/lib/mysqlx/result.py:816
Method__repr__
(self)
mysqlx-connector-python/lib/mysqlx/dbdoc.py:72
Method__repr__
(self)
mysql-connector-python/lib/mysql/connector/_scripting.py:288
Method__setattr__
Sets an attribute.
mysql-connector-python/lib/mysql/connector/utils.py:745
Method__setattr__
(self, name: str, value: Any)
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:289
Method__setitem__
(self, index: str, value: Any)
mysqlx-connector-python/lib/mysqlx/dbdoc.py:75
Method__setitem__
(self, name: str, value: Any)
mysqlx-connector-python/lib/mysqlx/protobuf/__init__.py:464
Method__str__
(self)
mysqlx-connector-python/lib/mysqlx/expr.py:450
Method__str__
(self)
mysqlx-connector-python/lib/mysqlx/errors.py:75
Method__str__
(self)
mysqlx-connector-python/lib/mysqlx/connection.py:1680
Method__str__
(self)
mysqlx-connector-python/lib/mysqlx/result.py:378
Method__str__
(self)
mysqlx-connector-python/lib/mysqlx/result.py:516
Method__str__
(self)
mysqlx-connector-python/lib/mysqlx/dbdoc.py:69
Method__str__
(self)
mysqlx-connector-python/tests/__init__.py:436
Method__str__
(self)
mysql-connector-python/lib/mysql/connector/errors.py:80
Method__str__
(self)
mysql-connector-python/lib/mysql/connector/cursor_cext.py:809
Method__str__
(self)
mysql-connector-python/lib/mysql/connector/custom_types.py:48
Method__str__
(self)
mysql-connector-python/lib/mysql/connector/cursor.py:894
Method__str__
(self)
mysql-connector-python/tests/__init__.py:653
Method__str__
(self)
mysql-connector-python/tests/__init__.py:895
Method_add_default_conn_attrs
Add the default connection attributes.
mysql-connector-python/lib/mysql/connector/connection.py:192
Method_add_default_conn_attrs
Add default connection attributes
mysql-connector-python/lib/mysql/connector/connection_cext.py:147
Method_add_default_conn_attrs
Add the default connection attributes.
mysql-connector-python/lib/mysql/connector/aio/connection.py:183
Method_bool_to_mysql
Convert value to boolean
mysql-connector-python/lib/mysql/connector/conversion.py:352
Method_call
Generate a text completion from the LLM for a given input prompt. References: https://dev.mysql.com/doc/heatwave/en/mys-
mysql-connector-python/lib/mysql/ai/genai/generation.py:91
Method_charset
The charset object encapsulates charset and collation information.
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:1145
Method_charset_id
The charset ID utilized during the connection phase. If the charset ID hasn't been set, the default charset ID is returned.
mysql-connector-python/lib/mysql/connector/abstracts.py:1337
Method_check_query_span_events
(self, span: DbDocType)
mysql-connector-python/tests/otel/test_instrumentation.py:452
Function_cnx_config
(func)
mysql-connector-python/tests/__init__.py:496
Method_create_pool
Invoked by a thread from test_creat_multipools.
mysql-connector-python/tests/qa/test_qa_wl6080.py:41
Method_customtype_to_mysql
(self, value)
mysql-connector-python/tests/test_conversion.py:71
Function_default_processor
(elem: Any)
mysql-connector-python/lib/mysql/ai/utils/utils.py:218
Method_do_handshake
Gathers information of the MySQL server before authentication.
mysql-connector-python/lib/mysql/connector/abstracts.py:1542
← previousnext →1,701–1,800 of 5,006, ranked by callers