Skip to content

FIX: Point the cloud examples at contact-us when a key lacks a paid property - #312

Draft
Rakesh51D wants to merge 2 commits into
rcfrom
fix/examples-contact-us
Draft

Rakesh51D wants to merge 2 commits into
rcfrom
fix/examples-contact-us

Conversation

@Rakesh51D

@Rakesh51D Rakesh51D commented Dec 5, 2026 •

Copy link
Copy Markdown
Collaborator

The examples now meet the examples' rules for running out of the box and for a paid property.

  • pipeline/fiftyone_pipeline_did/examples/fodid_example.py imported owid, which the published 51Did package does not install. It now imports from the package's own module, so it runs with only the published package installed.
  • The cloud examples (Device Detection getting started, failure to match, and configurator, the five IP Intelligence cloud examples, both location examples, and the pipeline's mixed cloud example) print one note where the key can't return a paid property they ask for. It names those properties, says a paid key needs them added on the configuration page, and gives the link to contact us about a paid key. Each examples package has a helper for it, and the three cloud web pages that show paid properties give the same note in HTML, with the link as a link.
  • offlineprocessing.py and performance.py crashed with a TypeError when the evidence file could not be downloaded. They now say where the evidence file goes and exit cleanly.

New tests check each note and link, the 51Did example with owid unavailable, and both missing-evidence paths. The link lint and the repository's lint pass.

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