Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@craigrbarnes
Copy link
Contributor

@craigrbarnes craigrbarnes commented Apr 11, 2024

Link to JIRA ticket if there is one:

New Features

Breaking Changes

Bug Fixes

  • Fixes an issue where metadata tags are None

Improvements

Dependency updates

Deployment changes

@github-actions
Copy link

The style in this PR agrees with black. ✔️

This formatting comment was generated automatically by a script in uc-cdis/wool.

@craigrbarnes craigrbarnes marked this pull request as draft April 11, 2024 17:36
@craigrbarnes craigrbarnes marked this pull request as ready for review April 11, 2024 18:33
num_tags, len(guid_discovery_metadata.get("tags", []))
)
tgs = guid_discovery_metadata.get("tags", [])
num_tags = max(num_tags, 0 if tgs is None else len(tgs))
Copy link
Contributor

Choose a reason for hiding this comment

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

tgs will never be None since guid_discovery_metadata.get("tags", []) has [] as the default return if guid_discovery_metadata["tags"] is None.

So tgs will always be an array here. This is effectively the same as the change that existed. I would revert this portion of the changeset.

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.

3 participants