Closed lukasschwab closed 3 years ago
A note for posterity: pdoc
's output depends in part on the version of Python running. A diff between pdoc
running on Python 3.9 and running on Python 3.7:
1519c1519
< authors: list[<a href="#Result.Author">arxiv.arxiv.Result.Author</a>] = [],
---
> authors: List[<a href="#Result.Author">arxiv.arxiv.Result.Author</a>] = [],
1526c1526
< links: list[<a href="#Result.Link">arxiv.arxiv.Result.Link</a>] = [],
---
> links: List[<a href="#Result.Link">arxiv.arxiv.Result.Link</a>] = [],
List
versus list
. Can use diff -i
to ignore differences in case, but that work-around doesn't seem necessary at this point.
Description
"0"
as a default title when an Atom feed entry from arXiv is missing itstitle
attribute. Logs a warning when defaulting.logger.warning
instead oflogger.warn
:logger.warn
is deprecated.If we find this bug in other fields, we should add similar patches.
If we find other field values causing this API bug, we should default to
None
instead of defaulting to"0"
. Only defaulting to"0"
for now because it seems we can infer it's the title.Breaking changes
None.
Relevant issues
Checklist
README.md
example usage has been updated.~