dspinellis / alexandria3k

Local relational access to openly-available publication data sets
GNU General Public License v3.0
79 stars 14 forks source link

Fix documentation example syntax error #1

Closed Papajohn77 closed 1 year ago

Papajohn77 commented 1 year ago

In the documentation example Record selection from external database, the argument ["attached:selected.db"] was passed as a positional argument after the keyword argument condition, which caused a SyntaxError when running the code. To fix the issue, I added the key of the attach_databases parameter to the argument list. This ensures that the argument is correctly associated with the corresponding parameter in the function signature.

dspinellis commented 1 year ago

Excellent, thank you!

dspinellis commented 1 year ago

I'm closing this, because attach_databases is now part of the Crossref constructor. But please open a PR if you see another problem, or if you add something neat.