Skip to content

Commit

Permalink
Merge branch 'release/v0.8.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
ja573 committed Feb 1, 2022
2 parents 6cfb871 + 9e95008 commit cb22f10
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Install is either via pip or cloning the repository.

From pip:
```sh
python3 -m pip install thothlibrary==0.7.0
python3 -m pip install thothlibrary==0.8.1
```

Or from the repo:
Expand Down
2 changes: 1 addition & 1 deletion thothlibrary/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
"""GraphQL client for Thoth"""

__version__ = "0.8.0"
__version__ = "0.8.1"
__author__ = "Javier Arias <[email protected]>"
__copyright__ = "Copyright (c) 2020 Open Book Publishers"
__license__ = "Apache 2.0"
Expand Down
3 changes: 1 addition & 2 deletions thothlibrary/thoth-0_6_0/structures.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,7 @@ def _contributor_formatter(contributor):
@return: A formatted contributor object
"""
format_str = f"{contributor.fullName} " \
f"({contributor.contributions[0].contributionType} of " \
f"{contributor.contributions[0].work.fullTitle}) " \
f"contributed to {len(contributor.contributions)} works " \
f"[{contributor.contributorId}]"
return _generic_formatter(contributor, 'Contributor', format_str)

Expand Down

0 comments on commit cb22f10

Please sign in to comment.