You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tests: Assert encryption/password payloads via public payload models
- add `pdfrest.models.payloads` as a public export surface for
`PdfEncryptPayload`, `PdfDecryptPayload`, `PdfRestrictPayload`, and
`PdfUnrestrictPayload`
- re-export payload models from `pdfrest.models` for test usage without private
imports
- update encrypt/restrict unit tests to build expected JSON via
`model_validate(...).model_dump(...)` instead of hand-built dicts
- fix a circular import by importing `PdfRestFile` from `models.public` inside
`_internal.py`
Assisted-by: Codex
0 commit comments