René's URL Explorer Experiment


Title: feat(documents): extract with IXP models deployed to a folder by alexandrujircan · Pull Request #2004 · UiPath/uipath-python · GitHub

Open Graph Title: feat(documents): extract with IXP models deployed to a folder by alexandrujircan · Pull Request #2004 · UiPath/uipath-python

X Title: feat(documents): extract with IXP models deployed to a folder by alexandrujircan · Pull Request #2004 · UiPath/uipath-python

Description: What DocumentsServiceV2 can now extract with IXP models deployed to an Orchestrator folder. These models have their own DU Framework v2 routes (du_/api/framework/models/{name}/…), addressed by model name and folder key, and can't be reached through a project and tag. New methods on DocumentsServiceV2 only, each with an _async twin: start_model_extraction(model_name, file | file_path, folder_key=None, folder_path=None): digitizes the document, then starts the extraction. It returns a StartModelExtractionResponse. retrieve_model_extraction_result(start_response): checks once. It raises OperationNotCompleteException while the extraction runs, and OperationFailedException if it failed. extract_with_model(...): start_model_extraction, then retrieve_model_extraction_result until the result is ready. It returns a ModelExtractionResponse. response = UiPath().documents_v2.extract_with_model( model_name="invoices-ixp", file_path="invoice.pdf", folder_path="Shared/Invoices", ) How the methods pick the folder: Order: folder_key first. Otherwise folder_path, whose key is looked up. Otherwise the job's folder (UIPATH_FOLDER_KEY, then UIPATH_FOLDER_PATH). Errors: they raise ValueError when no folder is available, when both a key and a path are given, or when the key isn't a GUID. Why a key: these routes accept only a GUID folder key, not a folder path. model_name is the model's URL name (for example invoices-08963f00-ixp), not its display name. It gets the same encoding and ./.. checks as the project routes. UiPath().documents (API v1.1) is unchanged. Why separate methods instead of new extract parameters Folder models differ from projects in more than how they are addressed: extraction is async only, and there is no classification; results have no data projection, and nothing in them identifies the model; validation is a separate flow. Separate response types also mean a folder-model result can't be passed by mistake to the project-based validation methods or resume triggers, which build project and tag URLs. The start/retrieve pair is what resume triggers will need. The blocking method is built on that pair, so there is one code path. Follow-ups Validation of folder-model extractions, ported from #1934. Resume triggers for folder-model extractions. How it was tested Unit tests in test_documents_service_v2.py, sync and async: the full flow, including the folder key header and the uploaded file; PascalCase responses; folder resolution from an explicit path, the job folder key and the job folder path; invalid arguments: no folder, both a key and a path, a key that isn't a GUID, and dot or empty model names; the start/retrieve pair, with the start response rebuilt from JSON as triggers will do; failed and timed-out extractions; documents (v1.1) doesn't get the new methods. uipath-platform suite: 2301 passed. ruff and mypy are clean. Live on alpha, with models deployed to a personal workspace folder: Scenario Result Sync, folder_key Extracted in about 11 s Async, folder_path The path resolved to its key, then extracted Start, then retrieve, with the job folder from UIPATH_FOLDER_KEY Not complete twice, then the result Model with a field group Values with v2 field IDs, e.g. Default.details.name Unknown model, or the right model in another folder OperationFailedException with ModelNotFoundError Unknown folder key 403 FolderAccessForbiddenError Unknown folder path FolderNotFoundException, before any DU request Known issue (not new): a document passed as raw bytes is rejected with UnsupportedContentTypeError, because it is uploaded without a file name or content type. The existing extract behaves the same way on both API versions. A file path or an open file works. This will be fixed separately. uipath-platform 0.3.10 → 0.3.11. Ported from #1933 by Thomas Lammers, which this replaces. 🤖 Generated with Claude Code

Open Graph Description: What DocumentsServiceV2 can now extract with IXP models deployed to an Orchestrator folder. These models have their own DU Framework v2 routes (du_/api/framework/models/{name}/…), addressed by mode...

X Description: What DocumentsServiceV2 can now extract with IXP models deployed to an Orchestrator folder. These models have their own DU Framework v2 routes (du_/api/framework/models/{name}/…), addressed by mode...

Opengraph URL: https://github.com/UiPath/uipath-python/pull/2004

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:36ffddf8-d54d-fdf7-e5ac-f0a4146f5959
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9B58:28E7AF:13C9E6:1B4294:6AFF60F2
html-safe-nonce1b146a60b29cbe0ce3fd332b6541fc0a05b71f3d3efc46e6a348ef149f4c04e7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QjU4OjI4RTdBRjoxM0M5RTY6MUI0Mjk0OjZBRkY2MEYyIiwidmlzaXRvcl9pZCI6Ijc4NjMxMjQ3ODc1NTg1NzIyNzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac5415424571ae85ecd3fbaeb03ba19d8d1fcfd305b8c157cc85e7405c3f3b22b9
hovercard-subject-tagpull_request:5391017371
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/UiPath/uipath-python/pull/2004/files
twitter:imagehttps://avatars.githubusercontent.com/u/138583433?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/138583433?s=400&v=4
og:image:altWhat DocumentsServiceV2 can now extract with IXP models deployed to an Orchestrator folder. These models have their own DU Framework v2 routes (du_/api/framework/models/{name}/…), addressed by mode...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None2422ccd4bc783f932948cce4871cb9e0622bab749db07f387c9631b7e6834d1f
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/UiPath/uipath-python git https://github.com/UiPath/uipath-python.git
octolytics-dimension-user_id375663
octolytics-dimension-user_loginUiPath
octolytics-dimension-repository_id925171912
octolytics-dimension-repository_nwoUiPath/uipath-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id925171912
octolytics-dimension-repository_network_root_nwoUiPath/uipath-python
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release2a39546baeb98186e651a01d5d7aa6465825eeb1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/UiPath/uipath-python/pull/2004/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FUiPath%2Fuipath-python%2Fpull%2F2004%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FUiPath%2Fuipath-python%2Fpull%2F2004%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=UiPath%2Fuipath-python
Reloadhttps://github.com/UiPath/uipath-python/pull/2004/files
Reloadhttps://github.com/UiPath/uipath-python/pull/2004/files
Reloadhttps://github.com/UiPath/uipath-python/pull/2004/files
UiPathhttps://github.com/UiPath
uipath-pythonhttps://github.com/UiPath/uipath-python
Codehttps://github.com/UiPath/uipath-python
Issues81 (81)https://github.com/UiPath/uipath-python/issues
Pull requests144 (144)https://github.com/UiPath/uipath-python/pulls
Actionshttps://github.com/UiPath/uipath-python/actions
Projectshttps://github.com/UiPath/uipath-python/projects
Security and qualityhttps://github.com/UiPath/uipath-python/security
Insightshttps://github.com/UiPath/uipath-python/insights
Sign up for GitHub https://github.com/signup?return_to=%2FUiPath%2Fuipath-python%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FUiPath%2Fuipath-python%2Fissues%2Fnew%2Fchoose
alexandrujircanhttps://github.com/alexandrujircan
mainhttps://github.com/UiPath/uipath-python/tree/main
feat/documents-v2-folder-modelshttps://github.com/UiPath/uipath-python/tree/feat/documents-v2-folder-models
Conversation 6 https://github.com/UiPath/uipath-python/pull/2004
Commits 3 https://github.com/UiPath/uipath-python/pull/2004/commits
Checks 186 https://github.com/UiPath/uipath-python/pull/2004/checks
Files changed https://github.com/UiPath/uipath-python/pull/2004/files
Please reload this pagehttps://github.com/UiPath/uipath-python/pull/2004/files
feat(documents): extract with IXP models deployed to a folder https://github.com/UiPath/uipath-python/pull/2004/files#top
Show all changes 3 commits https://github.com/UiPath/uipath-python/pull/2004/files
4c5bd33 feat(documents): extract with IXP models deployed to a folder alexandrujircan Nov 18, 2026 https://github.com/UiPath/uipath-python/pull/2004/commits/4c5bd33e0066dbd02a03a92c196f00a5dddc0417
4efde7d refactor(documents): pass the folder service into DocumentsServiceV2 alexandrujircan Nov 19, 2026 https://github.com/UiPath/uipath-python/pull/2004/commits/4efde7d45fbdb3fc66480e90ec2cabfc26645f81
6dba716 fix(documents): read folder-model uploads off the event loop alexandrujircan Nov 19, 2026 https://github.com/UiPath/uipath-python/pull/2004/commits/6dba716f72ba610b428260a997d2b4e7ab68b950
Clear filters https://github.com/UiPath/uipath-python/pull/2004/files
Please reload this pagehttps://github.com/UiPath/uipath-python/pull/2004/files
Please reload this pagehttps://github.com/UiPath/uipath-python/pull/2004/files
pyproject.toml https://github.com/UiPath/uipath-python/pull/2004/files#diff-93e550aa33599cf5e6aead5572178e0290d4ecec7ebf98f11329b6c6948d2ebe
_uipath.py https://github.com/UiPath/uipath-python/pull/2004/files#diff-8ce5354835f5576280464b9d6522621b04e0378afcc96b6c6fe3f751b3849b87
__init__.py https://github.com/UiPath/uipath-python/pull/2004/files#diff-4cd38c2079a0239f2ef4a73294a81391da70556fbf2ee2167e53e762ed259d7c
_documents_service.py https://github.com/UiPath/uipath-python/pull/2004/files#diff-ae880737d486560bca0405919c5a98a253b3e39fa59f1727e1ae1eb40ae1ea0b
_documents_service_v2.py https://github.com/UiPath/uipath-python/pull/2004/files#diff-683839170a4b16569c6fb67a00d65c39cfdad9fcd204265d5f44238b8f2421b4
documents.py https://github.com/UiPath/uipath-python/pull/2004/files#diff-f536985e23c2e93fa1b6d02fec1d5308ec34f82b78a54f3b59119a43d583726e
test_documents_service_v2.py https://github.com/UiPath/uipath-python/pull/2004/files#diff-93d8bfd7bcf906bfc85bd6bc4f2e0d4ef1be58720b5fb64bd82531235f5282a8
uv.lock https://github.com/UiPath/uipath-python/pull/2004/files#diff-b1941f3c9d97056e1db33a6b5e706049826ba13e3a107c5964c851d5cf5fc18d
uv.lock https://github.com/UiPath/uipath-python/pull/2004/files#diff-efeee29d7c8092034bd6a65cd840950a53caecf98d99b7e5aaaf32a0aa3a05ec
packages/uipath-platform/pyproject.tomlhttps://github.com/UiPath/uipath-python/pull/2004/files#diff-93e550aa33599cf5e6aead5572178e0290d4ecec7ebf98f11329b6c6948d2ebe
View file https://github.com/UiPath/uipath-python/blob/6dba716f72ba610b428260a997d2b4e7ab68b950/packages/uipath-platform/pyproject.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/UiPath/uipath-python/pull/2004/{{ revealButtonHref }}
https://github.com/UiPath/uipath-python/pull/2004/files#diff-93e550aa33599cf5e6aead5572178e0290d4ecec7ebf98f11329b6c6948d2ebe
packages/uipath-platform/src/uipath/platform/_uipath.pyhttps://github.com/UiPath/uipath-python/pull/2004/files#diff-8ce5354835f5576280464b9d6522621b04e0378afcc96b6c6fe3f751b3849b87
View file https://github.com/UiPath/uipath-python/blob/6dba716f72ba610b428260a997d2b4e7ab68b950/packages/uipath-platform/src/uipath/platform/_uipath.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/UiPath/uipath-python/pull/2004/{{ revealButtonHref }}
https://github.com/UiPath/uipath-python/pull/2004/files#diff-8ce5354835f5576280464b9d6522621b04e0378afcc96b6c6fe3f751b3849b87
https://github.com/UiPath/uipath-python/pull/2004/files#diff-8ce5354835f5576280464b9d6522621b04e0378afcc96b6c6fe3f751b3849b87
packages/uipath-platform/src/uipath/platform/documents/__init__.pyhttps://github.com/UiPath/uipath-python/pull/2004/files#diff-4cd38c2079a0239f2ef4a73294a81391da70556fbf2ee2167e53e762ed259d7c
View file https://github.com/UiPath/uipath-python/blob/6dba716f72ba610b428260a997d2b4e7ab68b950/packages/uipath-platform/src/uipath/platform/documents/__init__.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/UiPath/uipath-python/pull/2004/{{ revealButtonHref }}
https://github.com/UiPath/uipath-python/pull/2004/files#diff-4cd38c2079a0239f2ef4a73294a81391da70556fbf2ee2167e53e762ed259d7c
https://github.com/UiPath/uipath-python/pull/2004/files#diff-4cd38c2079a0239f2ef4a73294a81391da70556fbf2ee2167e53e762ed259d7c
https://github.com/UiPath/uipath-python/pull/2004/files#diff-4cd38c2079a0239f2ef4a73294a81391da70556fbf2ee2167e53e762ed259d7c
packages/uipath-platform/src/uipath/platform/documents/_documents_service.pyhttps://github.com/UiPath/uipath-python/pull/2004/files#diff-ae880737d486560bca0405919c5a98a253b3e39fa59f1727e1ae1eb40ae1ea0b
View file https://github.com/UiPath/uipath-python/blob/6dba716f72ba610b428260a997d2b4e7ab68b950/packages/uipath-platform/src/uipath/platform/documents/_documents_service.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/UiPath/uipath-python/pull/2004/{{ revealButtonHref }}
https://github.com/UiPath/uipath-python/pull/2004/files#diff-ae880737d486560bca0405919c5a98a253b3e39fa59f1727e1ae1eb40ae1ea0b
https://github.com/UiPath/uipath-python/pull/2004/files#diff-ae880737d486560bca0405919c5a98a253b3e39fa59f1727e1ae1eb40ae1ea0b
Please reload this pagehttps://github.com/UiPath/uipath-python/pull/2004/files
Please reload this pagehttps://github.com/UiPath/uipath-python/pull/2004/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.