Skip to content

[NDR-375] Author & custodian should be optional return fields. #1077

Open
jameslinnell wants to merge 8 commits intomainfrom
NDR-375
Open

[NDR-375] Author & custodian should be optional return fields. #1077
jameslinnell wants to merge 8 commits intomainfrom
NDR-375

Conversation

@jameslinnell
Copy link
Contributor

Overview

Jira ticket: NDR-375

Description

Context

Checklist

Tasks for all changes:

@jameslinnell jameslinnell requested review from a team as code owners February 11, 2026 15:03
author_ods = document.author or self.custodian
custodian_ods = document.custodian or self.custodian
else:
if document.author:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could this be refactored to be just

author_ods = document.author or None
custodian_ods = document.custodian or None

Then don't need setting on line 246 & 247, and restricts it to our snomed logic only

@github-actions
Copy link

Code security issues found

View full details here.

@sonarqubecloud
Copy link

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.

2 participants