You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A lazy query is giving me normal, valid responses with all of the properties in place and seemingly valid. Adding fl parameters however breaks some of those parameters (example below) giving "Unknown author" and "Unknown year" responses.
Steps to Reproduce (for bugs)
bib = '2010ApJ...725L..91K'
papers = ads.SearchQuery(bibcode=bib)
for pp in papers:
print(pp, pp.bibcode)
papers = ads.SearchQuery(bibcode=bib, fl=['bibcode'])
for pp in papers:
print(pp, pp.bibcode)
Produces the output:
<Kelley, Luke Zoltan et al. 2010, 2010ApJ...725L..91K> 2010ApJ...725L..91K
<Unknown author Unknown year, 2010ApJ...725L..91K> 2010ApJ...725L..91K
Ah, I see, interesting. Yeah, I just checked and accessing those same elements directly (i.e. pp.article) still works fine. It's easy to use that as a fix for me, but yeah... seems like there's no reason not to (low-priority) fix the __unicode__ usage too. Thanks!
A lazy query is giving me normal, valid responses with all of the properties in place and seemingly valid. Adding
fl
parameters however breaks some of those parameters (example below) giving "Unknown author" and "Unknown year" responses.Steps to Reproduce (for bugs)
Produces the output:
Your Environment
The text was updated successfully, but these errors were encountered: