pybliometrics version:
pybliometrics | 4.4.2.dev1+g34fbe512d |
Code to reproduce the bug:
import pybliometrics
pybliometrics.init()
ab = pybliometrics.scopus.AbstractRetrieval("2-s2.0-105002632983", view="FULL", refresh=30)
print(ab.funding_text)
Expected behavior:
it seems return list[dict] | str. but the defination is str | None:
@property
def funding_text(self) -> str | None:
"""The raw text from which Scopus derives funding information."""
path = ['item', 'xocs:meta', 'xocs:funding-list', 'xocs:funding-text']
return chained_get(self._json, path)
it maybe beacuse the len(funding_text)==2, when 1 is ok.
pybliometrics version:
pybliometrics | 4.4.2.dev1+g34fbe512d |
Code to reproduce the bug:
Expected behavior:
it seems
return list[dict] | str. but the defination isstr | None:it maybe beacuse the len(funding_text)==2, when 1 is ok.