Skip to content

AI junk - #434

Closed
nerdytyphanie wants to merge 1 commit into
pallets:mainfrom
nerdytyphanie:fix-429-reject-max-age
Closed

nerdytyphanie wants to merge 1 commit into
pallets:mainfrom
nerdytyphanie:fix-429-reject-max-age

Conversation

@nerdytyphanie

Copy link
Copy Markdown

Summary

  • reject unsupported keyword arguments such as max_age in untimed serializers
  • cover both Serializer and URLSafeSerializer
  • preserve timed serializer max_age support

Fixes #429.

Validation

  • 279 focused serializer, timed serializer, and URL-safe serializer tests passed
  • tox -e typing passed, including mypy, pyright, and verifytypes (100%)

AI disclosure

This implementation was produced with assistance from OpenAI GPT-Terra. The resulting change was reviewed and validated before submission.

@davidism

Copy link
Copy Markdown
Member

@davidism davidism closed this Aug 21, 2026
@davidism davidism changed the title Reject max_age for untimed serializers AI junk Aug 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

URLSafeSerializer.loads silently ignores unexpected max_age argument

2 participants