Skip to content

Commit

Permalink
Comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dlesbre committed Sep 22, 2023
1 parent 11b89f7 commit f0d7c8b
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bibtexautocomplete/APIs/arxiv.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ def get_value(self, result: Element) -> BibtexEntry:
values.year = year
return values

# Set of fields we can get from a query.
# If all are already present on an entry, the query can be skipped.
fields = {
FieldNames.AUTHOR,
FieldNames.DOI,
Expand Down
2 changes: 2 additions & 0 deletions bibtexautocomplete/APIs/crossref.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ def get_value(self, result: SafeJSON) -> BibtexEntry:
values.year = year
return values

# Set of fields we can get from a query.
# If all are already present on an entry, the query can be skipped.
fields = {
FieldNames.AUTHOR,
FieldNames.BOOKTITLE,
Expand Down
2 changes: 2 additions & 0 deletions bibtexautocomplete/APIs/dblp.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ def get_value(self, result: SafeJSON) -> BibtexEntry:
values.year = info["year"].to_str()
return values

# Set of fields we can get from a query.
# If all are already present on an entry, the query can be skipped.
fields = {
FieldNames.AUTHOR,
FieldNames.DOI,
Expand Down
2 changes: 2 additions & 0 deletions bibtexautocomplete/APIs/researchr.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ def get_value(self, result: SafeJSON) -> BibtexEntry:
values.year = result["year"].to_str()
return values

# Set of fields we can get from a query.
# If all are already present on an entry, the query can be skipped.
fields = {
FieldNames.ADDRESS,
FieldNames.AUTHOR,
Expand Down
2 changes: 2 additions & 0 deletions bibtexautocomplete/APIs/semantic_scholar.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ def get_value(self, result: SafeJSON) -> BibtexEntry:
values.year = year
return values

# Set of fields we can get from a query.
# If all are already present on an entry, the query can be skipped.
fields = {
FieldNames.AUTHOR,
FieldNames.BOOKTITLE,
Expand Down
2 changes: 2 additions & 0 deletions bibtexautocomplete/APIs/unpaywall.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ def get_value(self, result: SafeJSON) -> BibtexEntry:

return values

# Set of fields we can get from a query.
# If all are already present on an entry, the query can be skipped.
fields = {
FieldNames.AUTHOR,
FieldNames.BOOKTITLE,
Expand Down

0 comments on commit f0d7c8b

Please sign in to comment.