Skip to content

Leave evidence named licence out of a cloud request - #86

Closed
jwrosewell wants to merge 2 commits into
rcfrom
fix/reserved-licence-spelling
Closed

jwrosewell wants to merge 2 commits into
rcfrom
fix/reserved-licence-spelling

Conversation

@jwrosewell

Copy link
Copy Markdown
Contributor

Problem

For specifications#125. Evidence whose key strips to values, resource, license or licence, in any letter case, MUST be left out of the request, because the remote server also reads licence as another spelling of license. Python compared the stripped name, lower-cased, with resource, license and values only, so evidence named licence was sent beside the engine's own licence key.

What changed

RESERVED_EVIDENCE_SUFFIXES in pipeline/fiftyone_pipeline_cloudrequestengine/src/fiftyone_pipeline_cloudrequestengine/constants.py includes licence. The comparison already ignored letter case.

How it was verified

New test test_reserved_evidence.py.

  • Red: run 42722694889, 1 of 2 fails.
  • Green, head 95966788: LICGREEN
  • Full build: FULLBUILD

The last release into main merged on 2026-11-04.

The service reads licence as another spelling of license, so evidence that
strips to either is left out, in any letter case.
@jwrosewell

Copy link
Copy Markdown
Contributor Author

Closing as superseded by #79, which merged into rc on 10 November and already leaves Evidence named licence out of a cloud request, by holding licence in RESERVED_EVIDENCE_SUFFIXES in constants.py.

@jwrosewell jwrosewell closed this Nov 12, 2026
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