Skip to content

Commit 0bf204d

Browse files
committed
Added the missing constant DEPRECATED_METHOD_WARNING which was erased while resolving
merge conflicts between WL#16752 and WL#16754. Change-Id: Ide1db0292f815cba59160cbcd4348708ef60695a
1 parent 936a405 commit 0bf204d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

mysql-connector-python/lib/mysql/connector/constants.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,10 @@
120120
"_connector_version",
121121
)
122122

123+
DEPRECATED_METHOD_WARNING: str = """
124+
The property counterpart '{property_name}' should be used instead.
125+
"""
126+
123127
TLS_VERSIONS: List[str] = APPROVED_TLS_VERSIONS + DEPRECATED_TLS_VERSIONS
124128
"""Accepted TLS versions. A warning is raised when using a deprecated version."""
125129

0 commit comments

Comments
 (0)