Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions cf/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -3228,11 +3228,10 @@ def _DEPRECATION_ERROR_ATTRIBUTE(
):
if removed_at:
removed_at = f" and will be removed at version {removed_at}"

raise DeprecationError(
f"{instance.__class__.__name__} attribute {attribute!r} has been "
f"deprecated at version {version} and will be removed at version "
f"{removed_at}. {message}"
f"deprecated at version {version}{removed_at}. {message}"
)


Expand Down