Skip to content

Commit 28d9ee4

Browse files
committed
Merge branch 'release/v0.28.4'
2 parents 111b971 + 1655b16 commit 28d9ee4

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Install is either via pip or cloning the repository.
99

1010
From pip:
1111
```sh
12-
python3 -m pip install thothlibrary==0.28.3
12+
python3 -m pip install thothlibrary==0.28.4
1313
```
1414

1515
Or from the repo:

thothlibrary/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python3
22
"""GraphQL client for Thoth"""
33

4-
__version__ = "0.28.3"
4+
__version__ = "0.28.4"
55
__author__ = "Javier Arias <javi@openbookpublishers.com>"
66
__copyright__ = "Copyright (c) 2020 Open Book Publishers"
77
__license__ = "Apache 2.0"

thothlibrary/client.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,10 @@ def update_institution(self, institution):
157157
"""Construct and trigger a mutation to update an institution object"""
158158
return self.mutation("updateInstitution", institution)
159159

160+
def update_location(self, location):
161+
"""Construct and trigger a mutation to update a location object"""
162+
return self.mutation("updateLocation", location)
163+
160164
def delete_location(self, location):
161165
"""Construct and trigger a mutation to delete a location object"""
162166
return self.mutation("deleteLocation", location, nested=False)

0 commit comments

Comments
 (0)