Skip to content

Conversation

@alexfurmenkov
Copy link
Collaborator

fix sorted lambda to prevent str and None comparison in USDM and SDTM reports

@alexfurmenkov alexfurmenkov changed the title #1513 #1513 fix TypeError when generating validation reports with None entity or core id values Jan 26, 2026
@alexfurmenkov alexfurmenkov marked this pull request as ready for review January 27, 2026 16:36
]
return sorted(
entity_details_data,
key=lambda x: x.get("entity", "").lower(),
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we need to fix this line as well?

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.

TypeError when generating USDM validation reports with None entity values

4 participants