fix(core): set deprecation since to 1.3.3 to match release (#37200)

This commit is contained in:
Nick Hollon
2026-05-05 14:59:47 -04:00
committed by GitHub
parent c979c6187b
commit 55a7707837
3 changed files with 6 additions and 6 deletions

View File

@@ -398,7 +398,7 @@ class Reviver:
"""
if allowed_objects is None:
warn_deprecated(
since="1.4.0",
since="1.3.3",
message=(
"The default value of `allowed_objects` will change in a future "
"version. Pass an explicit value (e.g., "
@@ -648,7 +648,7 @@ def loads(
"""
if allowed_objects is None:
warn_deprecated(
since="1.4.0",
since="1.3.3",
message=(
"The default value of `allowed_objects` will change in a future "
"version. Pass an explicit list of allowed classes (or "
@@ -781,7 +781,7 @@ def load(
"""
if allowed_objects is None:
warn_deprecated(
since="1.4.0",
since="1.3.3",
message=(
"The default value of `allowed_objects` will change in a future "
"version. Pass an explicit list of allowed classes (or "