Skip to content

Commit 1786c97

Browse files
tests: Import payload models from private internals and drop payloads shim
Assisted-by: Codex
1 parent eb5c06b commit 1786c97

3 files changed

Lines changed: 2 additions & 17 deletions

File tree

src/pdfrest/models/payloads.py

Lines changed: 0 additions & 15 deletions
This file was deleted.

tests/test_encrypt_pdf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
PdfRestFileBasedResponse,
1414
PdfRestFileID,
1515
)
16-
from pdfrest.models.payloads import PdfDecryptPayload, PdfEncryptPayload
16+
from pdfrest.models._internal import PdfDecryptPayload, PdfEncryptPayload
1717

1818
from .graphics_test_helpers import (
1919
ASYNC_API_KEY,

tests/test_permissions_password.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
PdfRestFileBasedResponse,
1414
PdfRestFileID,
1515
)
16-
from pdfrest.models.payloads import PdfRestrictPayload, PdfUnrestrictPayload
16+
from pdfrest.models._internal import PdfRestrictPayload, PdfUnrestrictPayload
1717
from pdfrest.types import PdfRestriction
1818

1919
from .graphics_test_helpers import (

0 commit comments

Comments
 (0)