File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 66import csv
77import pprint
88import datetime
9- from typing import Dict , List
109import re
10+ from typing import Dict , List , Union
1111from ._navigator import Navigator
1212from ._proxy_generator import ProxyGenerator
1313from dotenv import find_dotenv , load_dotenv
@@ -159,11 +159,11 @@ def search_pubs(self,
159159 sort_by = sort_by , include_last_year = include_last_year , start_index = start_index )
160160 return self .__nav .search_publications (url )
161161
162- def search_citedby (self , publication_id : int , ** kwargs ):
162+ def search_citedby (self , publication_id : Union [ int , str ] , ** kwargs ):
163163 """Searches by Google Scholar publication id and returns a generator of Publication objects.
164164
165165 :param publication_id: Google Scholar publication id
166- :type publication_id: int
166+ :type publication_id: int or str
167167
168168 For the remaining parameters, see documentation of `search_pubs`.
169169 """
You can’t perform that action at this time.
0 commit comments