Skip to content

Add ChoiceBySchemeDocumentLoader for scheme-based document loading - #302

Open
anatoly-scherbakov wants to merge 13 commits into
file-document-loaderfrom
choice-by-scheme-document-loader
Open

Add ChoiceBySchemeDocumentLoader for scheme-based document loading#302
anatoly-scherbakov wants to merge 13 commits into
file-document-loaderfrom
choice-by-scheme-document-loader

Conversation

@anatoly-scherbakov

Copy link
Copy Markdown
Collaborator

Summary

  • Add ChoiceBySchemeDocumentLoader, which dispatches to per-scheme loaders so a local file: document can resolve a remote https: @context
  • Export the loader, cover dispatch/fallback/errors with tests, and document it with an offline composed-loader example
  • Add an example_data macro and tabbed sourced JSON-LD on the ChoiceByScheme and File loader pages

Stacked on #301 (file-document-loader). Closes #300.

Test plan

  • pytest tests/test_choice_by_scheme_document_loader.py
  • make test
  • make lint
  • make docs-build
  • Confirm docs page tabs show Example + sourced JSON-LD for ChoiceByScheme and File loaders

@github-actions

github-actions Bot commented Jul 26, 2026

Copy link
Copy Markdown

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.

1 participant