Skip to content

Update documentation examples to use Splink 5 APIs - #3322

Open
Robin Linacre (RobinL) wants to merge 1 commit into
masterfrom
codex/docs-v5-api-examples
Open

Robin Linacre (RobinL) wants to merge 1 commit into
masterfrom
codex/docs-v5-api-examples

Conversation

@RobinL

Copy link
Copy Markdown
Member

Copying several documentation examples into Splink 5 fails because they pass raw data or db_api to Linker, call obsolete comparison/dataset methods, or use settings that no longer exist.

Update the README and affected guides to register inputs first, use the current API names and settings, and load saved models through the v5 constructor. Also correct the README's date input type and the blocking/term-frequency examples, and use record output in the basic examples so they do not require pandas. This changes documentation only.

Validation: reproduced the old API failures, executed the revised markdown examples against the unmodified v5 runtime, and smoke-ran 45 notebook source files successfully with DuckDB 1.5.5, PyArrow 25.0.1 and SQLGlot 30.18.0. Notebook runs used temporary output directories and cached example data. Spark and the optional pseudopeople example were not executed; a static API-signature sweep included all 47 notebooks. No runtime, deployment, dependency or test changes are included.

Closes #3321.

@github-actions

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

This branch has not been deployed

No deployments
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.

Update documentation examples that still use pre-v5 APIs

1 participant