types-PyMySQL 1.2.4.20261111__tar.gz → 1.2.4.20261116__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {types_pymysql-1.2.4.20261111 → types_pymysql-1.2.4.20261116}/CHANGELOG.md +6 -0
- {types_pymysql-1.2.4.20261111/types_PyMySQL.egg-info → types_pymysql-1.2.4.20261116}/PKG-INFO +4 -4
- {types_pymysql-1.2.4.20261111 → types_pymysql-1.2.4.20261116}/README.md +3 -3
- {types_pymysql-1.2.4.20261111 → types_pymysql-1.2.4.20261116}/pymysql-stubs/_auth.pyi +7 -3
- {types_pymysql-1.2.4.20261111 → types_pymysql-1.2.4.20261116}/pymysql-stubs/connections.pyi +2 -3
- {types_pymysql-1.2.4.20261111 → types_pymysql-1.2.4.20261116}/pymysql-stubs/cursors.pyi +2 -1
- {types_pymysql-1.2.4.20261111 → types_pymysql-1.2.4.20261116}/pymysql-stubs/protocol.pyi +1 -2
- {types_pymysql-1.2.4.20261111 → types_pymysql-1.2.4.20261116}/pyproject.toml +4 -4
- {types_pymysql-1.2.4.20261111 → types_pymysql-1.2.4.20261116/types_PyMySQL.egg-info}/PKG-INFO +4 -4
- {types_pymysql-1.2.4.20261111 → types_pymysql-1.2.4.20261116}/LICENSE +0 -0
- {types_pymysql-1.2.4.20261111 → types_pymysql-1.2.4.20261116}/MANIFEST.in +0 -0
- {types_pymysql-1.2.4.20261111 → types_pymysql-1.2.4.20261116}/pymysql-stubs/METADATA.toml +0 -0
- {types_pymysql-1.2.4.20261111 → types_pymysql-1.2.4.20261116}/pymysql-stubs/__init__.pyi +0 -0
- {types_pymysql-1.2.4.20261111 → types_pymysql-1.2.4.20261116}/pymysql-stubs/charset.pyi +0 -0
- {types_pymysql-1.2.4.20261111 → types_pymysql-1.2.4.20261116}/pymysql-stubs/constants/CLIENT.pyi +0 -0
- {types_pymysql-1.2.4.20261111 → types_pymysql-1.2.4.20261116}/pymysql-stubs/constants/COMMAND.pyi +0 -0
- {types_pymysql-1.2.4.20261111 → types_pymysql-1.2.4.20261116}/pymysql-stubs/constants/CR.pyi +0 -0
- {types_pymysql-1.2.4.20261111 → types_pymysql-1.2.4.20261116}/pymysql-stubs/constants/ER.pyi +0 -0
- {types_pymysql-1.2.4.20261111 → types_pymysql-1.2.4.20261116}/pymysql-stubs/constants/FIELD_TYPE.pyi +0 -0
- {types_pymysql-1.2.4.20261111 → types_pymysql-1.2.4.20261116}/pymysql-stubs/constants/FLAG.pyi +0 -0
- {types_pymysql-1.2.4.20261111 → types_pymysql-1.2.4.20261116}/pymysql-stubs/constants/SERVER_STATUS.pyi +0 -0
- {types_pymysql-1.2.4.20261111 → types_pymysql-1.2.4.20261116}/pymysql-stubs/constants/__init__.pyi +0 -0
- {types_pymysql-1.2.4.20261111 → types_pymysql-1.2.4.20261116}/pymysql-stubs/converters.pyi +0 -0
- {types_pymysql-1.2.4.20261111 → types_pymysql-1.2.4.20261116}/pymysql-stubs/err.pyi +0 -0
- {types_pymysql-1.2.4.20261111 → types_pymysql-1.2.4.20261116}/pymysql-stubs/optionfile.pyi +0 -0
- {types_pymysql-1.2.4.20261111 → types_pymysql-1.2.4.20261116}/pymysql-stubs/py.typed +0 -0
- {types_pymysql-1.2.4.20261111 → types_pymysql-1.2.4.20261116}/pymysql-stubs/times.pyi +0 -0
- {types_pymysql-1.2.4.20261111 → types_pymysql-1.2.4.20261116}/setup.cfg +0 -0
- {types_pymysql-1.2.4.20261111 → types_pymysql-1.2.4.20261116}/types_PyMySQL.egg-info/SOURCES.txt +0 -0
- {types_pymysql-1.2.4.20261111 → types_pymysql-1.2.4.20261116}/types_PyMySQL.egg-info/dependency_links.txt +0 -0
- {types_pymysql-1.2.4.20261111 → types_pymysql-1.2.4.20261116}/types_PyMySQL.egg-info/top_level.txt +0 -0
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## [1.2.4.20261116](https://pypi.org/project/types-PyMySQL/1.2.4.20261116/) (2026-11-16)
|
|
2
|
+
|
|
3
|
+
* Replace Incomplete in MySQLResult, protocol and _auth ([#16706](https://github.com/python/typeshed/pull/16706))
|
|
4
|
+
|
|
5
|
+
* Fix the type of Cursor.description ([#16707](https://github.com/python/typeshed/pull/16707))
|
|
6
|
+
|
|
1
7
|
## [1.2.4.20261111](https://pypi.org/project/types-PyMySQL/1.2.4.20261111/) (2026-11-11)
|
|
2
8
|
|
|
3
9
|
* Sync ER constants with PyMySQL 1.2.4 ([#16753](https://github.com/python/typeshed/pull/16753))
|
{types_pymysql-1.2.4.20261111/types_PyMySQL.egg-info → types_pymysql-1.2.4.20261116}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: types-PyMySQL
|
|
3
|
-
Version: 1.2.4.
|
|
3
|
+
Version: 1.2.4.20261116
|
|
4
4
|
Summary: Typing stubs for PyMySQL
|
|
5
5
|
License-Expression: Apache-2.0
|
|
6
6
|
Project-URL: Homepage, https://github.com/python/typeshed
|
|
@@ -32,9 +32,9 @@ directory.
|
|
|
32
32
|
|
|
33
33
|
This package was tested with the following type checkers:
|
|
34
34
|
* [mypy](https://www.mypy-lang.org/) 2.4.1
|
|
35
|
-
* [pyrefly](https://pyrefly.org/) 1.4.
|
|
35
|
+
* [pyrefly](https://pyrefly.org/) 1.4.1
|
|
36
36
|
* [pyright](https://microsoft.github.io/pyright/) 1.1.414
|
|
37
|
-
* [ty](https://docs.astral.sh/ty/) 0.0.
|
|
37
|
+
* [ty](https://docs.astral.sh/ty/) 0.0.99
|
|
38
38
|
|
|
39
39
|
It was generated from typeshed commit
|
|
40
|
-
[`
|
|
40
|
+
[`8e21ebd653f6cad1ef9e6518bd81833d39c2c863`](https://github.com/python/typeshed/commit/8e21ebd653f6cad1ef9e6518bd81833d39c2c863).
|
|
@@ -15,9 +15,9 @@ directory.
|
|
|
15
15
|
|
|
16
16
|
This package was tested with the following type checkers:
|
|
17
17
|
* [mypy](https://www.mypy-lang.org/) 2.4.1
|
|
18
|
-
* [pyrefly](https://pyrefly.org/) 1.4.
|
|
18
|
+
* [pyrefly](https://pyrefly.org/) 1.4.1
|
|
19
19
|
* [pyright](https://microsoft.github.io/pyright/) 1.1.414
|
|
20
|
-
* [ty](https://docs.astral.sh/ty/) 0.0.
|
|
20
|
+
* [ty](https://docs.astral.sh/ty/) 0.0.99
|
|
21
21
|
|
|
22
22
|
It was generated from typeshed commit
|
|
23
|
-
[`
|
|
23
|
+
[`8e21ebd653f6cad1ef9e6518bd81833d39c2c863`](https://github.com/python/typeshed/commit/8e21ebd653f6cad1ef9e6518bd81833d39c2c863).
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
from
|
|
1
|
+
from _hashlib import HASH
|
|
2
|
+
from _typeshed import ReadableBuffer
|
|
3
|
+
from functools import partial
|
|
2
4
|
from typing import Final
|
|
3
5
|
|
|
6
|
+
from .protocol import MysqlPacket
|
|
7
|
+
|
|
4
8
|
DEBUG: Final[bool]
|
|
5
9
|
SCRAMBLE_LENGTH: Final[int]
|
|
6
|
-
sha1_new:
|
|
10
|
+
sha1_new: partial[HASH]
|
|
7
11
|
|
|
8
12
|
def scramble_native_password(password: ReadableBuffer | None, message: ReadableBuffer | None) -> bytes: ...
|
|
9
13
|
def ed25519_password(password: ReadableBuffer, scramble: ReadableBuffer) -> bytes: ...
|
|
10
14
|
def sha2_rsa_encrypt(password: bytes, salt: bytes, public_key: bytes) -> bytes: ...
|
|
11
15
|
def sha256_password_auth(conn, pkt): ...
|
|
12
16
|
def scramble_caching_sha2(password: ReadableBuffer, nonce: ReadableBuffer) -> bytes: ...
|
|
13
|
-
def caching_sha2_password_auth(conn, pkt) ->
|
|
17
|
+
def caching_sha2_password_auth(conn, pkt) -> MysqlPacket | None: ...
|
|
@@ -265,12 +265,11 @@ class MySQLResult:
|
|
|
265
265
|
warning_count: int
|
|
266
266
|
message: str | None
|
|
267
267
|
field_count: int
|
|
268
|
-
description:
|
|
269
|
-
rows:
|
|
268
|
+
description: tuple[tuple[str, int, None, int, int, int, bool], ...] | None
|
|
269
|
+
rows: tuple[tuple[Any, ...], ...] | None
|
|
270
270
|
has_next: bool | None
|
|
271
271
|
unbuffered_active: bool
|
|
272
272
|
def __init__(self, connection: Connection[Any]) -> None: ...
|
|
273
273
|
def __del__(self) -> None: ...
|
|
274
|
-
first_packet: Incomplete
|
|
275
274
|
def read(self) -> None: ...
|
|
276
275
|
def init_unbuffered_query(self) -> None: ...
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import re
|
|
2
|
+
from _typeshed import MaybeNone
|
|
2
3
|
from collections.abc import Iterable, Iterator
|
|
3
4
|
from typing import Any, ClassVar, TypeAlias, overload
|
|
4
5
|
from typing_extensions import Self, deprecated
|
|
@@ -11,7 +12,7 @@ _Args: TypeAlias = list[Any] | tuple[Any, ...] | dict[str, Any]
|
|
|
11
12
|
class Cursor:
|
|
12
13
|
max_stmt_length: ClassVar[int]
|
|
13
14
|
connection: Connection[Any]
|
|
14
|
-
description: tuple[str, ...]
|
|
15
|
+
description: tuple[tuple[str, int, None, int, int, int, bool], ...] | MaybeNone
|
|
15
16
|
rownumber: int
|
|
16
17
|
rowcount: int
|
|
17
18
|
arraysize: int
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
from _typeshed import Incomplete
|
|
2
1
|
from typing import Final
|
|
3
2
|
|
|
4
3
|
DEBUG: Final[bool]
|
|
@@ -25,7 +24,7 @@ class MysqlPacket:
|
|
|
25
24
|
def read_uint32(self): ...
|
|
26
25
|
def read_uint64(self): ...
|
|
27
26
|
def read_string(self): ...
|
|
28
|
-
def read_length_encoded_integer(self) ->
|
|
27
|
+
def read_length_encoded_integer(self) -> int | None: ...
|
|
29
28
|
def read_length_coded_string(self): ...
|
|
30
29
|
def read_struct(self, fmt: str): ...
|
|
31
30
|
def is_ok_packet(self) -> bool: ...
|
|
@@ -4,7 +4,7 @@ requires = ["setuptools>=82.0.1"]
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "types-PyMySQL"
|
|
7
|
-
version = "1.2.4.
|
|
7
|
+
version = "1.2.4.20261116"
|
|
8
8
|
license = "Apache-2.0"
|
|
9
9
|
license-files = ["LICENSE"]
|
|
10
10
|
description = "Typing stubs for PyMySQL"
|
|
@@ -26,12 +26,12 @@ directory.
|
|
|
26
26
|
|
|
27
27
|
This package was tested with the following type checkers:
|
|
28
28
|
* [mypy](https://www.mypy-lang.org/) 2.4.1
|
|
29
|
-
* [pyrefly](https://pyrefly.org/) 1.4.
|
|
29
|
+
* [pyrefly](https://pyrefly.org/) 1.4.1
|
|
30
30
|
* [pyright](https://microsoft.github.io/pyright/) 1.1.414
|
|
31
|
-
* [ty](https://docs.astral.sh/ty/) 0.0.
|
|
31
|
+
* [ty](https://docs.astral.sh/ty/) 0.0.99
|
|
32
32
|
|
|
33
33
|
It was generated from typeshed commit
|
|
34
|
-
[`
|
|
34
|
+
[`8e21ebd653f6cad1ef9e6518bd81833d39c2c863`](https://github.com/python/typeshed/commit/8e21ebd653f6cad1ef9e6518bd81833d39c2c863).
|
|
35
35
|
""", content-type = "text/markdown" }
|
|
36
36
|
classifiers = [
|
|
37
37
|
"Programming Language :: Python :: 3",
|
{types_pymysql-1.2.4.20261111 → types_pymysql-1.2.4.20261116/types_PyMySQL.egg-info}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: types-PyMySQL
|
|
3
|
-
Version: 1.2.4.
|
|
3
|
+
Version: 1.2.4.20261116
|
|
4
4
|
Summary: Typing stubs for PyMySQL
|
|
5
5
|
License-Expression: Apache-2.0
|
|
6
6
|
Project-URL: Homepage, https://github.com/python/typeshed
|
|
@@ -32,9 +32,9 @@ directory.
|
|
|
32
32
|
|
|
33
33
|
This package was tested with the following type checkers:
|
|
34
34
|
* [mypy](https://www.mypy-lang.org/) 2.4.1
|
|
35
|
-
* [pyrefly](https://pyrefly.org/) 1.4.
|
|
35
|
+
* [pyrefly](https://pyrefly.org/) 1.4.1
|
|
36
36
|
* [pyright](https://microsoft.github.io/pyright/) 1.1.414
|
|
37
|
-
* [ty](https://docs.astral.sh/ty/) 0.0.
|
|
37
|
+
* [ty](https://docs.astral.sh/ty/) 0.0.99
|
|
38
38
|
|
|
39
39
|
It was generated from typeshed commit
|
|
40
|
-
[`
|
|
40
|
+
[`8e21ebd653f6cad1ef9e6518bd81833d39c2c863`](https://github.com/python/typeshed/commit/8e21ebd653f6cad1ef9e6518bd81833d39c2c863).
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{types_pymysql-1.2.4.20261111 → types_pymysql-1.2.4.20261116}/pymysql-stubs/constants/CLIENT.pyi
RENAMED
|
File without changes
|
{types_pymysql-1.2.4.20261111 → types_pymysql-1.2.4.20261116}/pymysql-stubs/constants/COMMAND.pyi
RENAMED
|
File without changes
|
{types_pymysql-1.2.4.20261111 → types_pymysql-1.2.4.20261116}/pymysql-stubs/constants/CR.pyi
RENAMED
|
File without changes
|
{types_pymysql-1.2.4.20261111 → types_pymysql-1.2.4.20261116}/pymysql-stubs/constants/ER.pyi
RENAMED
|
File without changes
|
{types_pymysql-1.2.4.20261111 → types_pymysql-1.2.4.20261116}/pymysql-stubs/constants/FIELD_TYPE.pyi
RENAMED
|
File without changes
|
{types_pymysql-1.2.4.20261111 → types_pymysql-1.2.4.20261116}/pymysql-stubs/constants/FLAG.pyi
RENAMED
|
File without changes
|
|
File without changes
|
{types_pymysql-1.2.4.20261111 → types_pymysql-1.2.4.20261116}/pymysql-stubs/constants/__init__.pyi
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{types_pymysql-1.2.4.20261111 → types_pymysql-1.2.4.20261116}/types_PyMySQL.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{types_pymysql-1.2.4.20261111 → types_pymysql-1.2.4.20261116}/types_PyMySQL.egg-info/top_level.txt
RENAMED
|
File without changes
|