Skip to content

fix: remove all None authors, not just first#10044

Merged
jennifer-richards merged 1 commit intoietf-tools:feat/rpc-apifrom
jennifer-richards:fix-the-fixme
Dec 3, 2025
Merged

fix: remove all None authors, not just first#10044
jennifer-richards merged 1 commit intoietf-tools:feat/rpc-apifrom
jennifer-richards:fix-the-fixme

Conversation

@jennifer-richards
Copy link
Copy Markdown
Member

No description provided.

Comment thread ietf/doc/models.py
@@ -470,7 +470,7 @@ def authors(self):
log.log(
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Remove the log message?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

No - it still doesn't handle them properly, it just doesn't fail. Authors without a person are omitted from the return value.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Well.. I guess we could remove it if it's being hit often enough to cause problems. Its main purpose was to be sure we didn't forget the todo on L467

@jennifer-richards jennifer-richards merged commit 19b7016 into ietf-tools:feat/rpc-api Dec 3, 2025
2 checks passed
@jennifer-richards jennifer-richards deleted the fix-the-fixme branch December 3, 2025 14:34
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Dec 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants