Open YoungMind1 opened 7 months ago
search_authors() return type should be either Generator[Author, None, None] or Iterator[Author]; currently it is Author.
search_authors()
Generator[Author, None, None]
Iterator[Author]
Author
I couldn't setup a proper python3.8 env in order to fully test. I think Generator[Author, None, None] should do the trick for python3.8, in python 3.9 and later [Author] should suffice.
[Author]
search_authors()
return type should be eitherGenerator[Author, None, None]
orIterator[Author]
; currently it isAuthor
.