Issue with outdated sample code in PDF Services SDK (Python) – incompatible with version 4.1.1
I am working with the Adobe PDF Services SDK for Python and have encountered compatibility issues when trying to follow your official “Getting Started” documentation and sample code provided in the PDFServicesSDK-PythonSamples repository.
I successfully created the credentials file (pdfservices-api-credentials.json) and installed the latest SDK version using:
This installed version 4.1.1.
However, the sample code appears to be designed for an older SDK structure. It references classes and modules that no longer exist in the latest version, such as:
execution_context
extract_pdf_params
stream_asset
pdf_services_media_type
These imports and objects are not found in version 4.1.1, and there is no clear migration path or updated equivalent sample script provided.
I have thoroughly checked the Getting Started page and confirmed that I am following the 5 recommended steps correctly. Despite that, there is no working example showing how to extract text and tables from a PDF using the JSON credentials file with version 4.1.1 of the SDK.
Could you please provide or point me to an updated and functional example that uses the current SDK structure and supports text and table extraction via pdfservices-api-credentials.json?
I would appreciate guidance or documentation that reflects the current version of the SDK.
Kind regards,
Daniel Vial
