Skip to content

Commit 1241c0c

Browse files
authored
Merge pull request #133 from packethost/release-1.44.3
prepare v1.44.3
2 parents 8c4fe6f + 43a0e47 commit 1241c0c

File tree

5 files changed

+18
-14
lines changed

5 files changed

+18
-14
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
python-version: ${{ matrix.python-version }}
2121
- id: fmt_and_lint
2222
run: |
23-
pip install black==19.3b0 pylama
23+
pip install black==22.6.0 pylama
2424
black --check --diff .
2525
pylama packet test setup.py
2626

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
99
### Changed
1010
### Fixed
1111

12+
## [1.44.3] - 2022-07-27
13+
### Fixed
14+
- Fix handling non-dict error data in ResponseError #128 #129
15+
1216
## [1.44.2] - 2021-11-18
1317
### Fixed
1418
- Fix logic behind `validate_metro_capacity` #125

packet/Volume.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -142,17 +142,17 @@ def delete(self):
142142
def update_snapshot_policy(self, frequency, count):
143143
"""Updates the volume snapshot policy.
144144
145-
:param frequency: (required) Snapshot frequency
146-
147-
Validation of `frequency` is left to the packet api to avoid going out
148-
of date if any new value is introduced.
149-
The currently known values are:
150-
- 1hour,
151-
- 1day
152-
- 1week
153-
- 1month
154-
- 1year
155-
"""
145+
:param frequency: (required) Snapshot frequency
146+
147+
Validation of `frequency` is left to the packet api to avoid going out
148+
of date if any new value is introduced.
149+
The currently known values are:
150+
- 1hour,
151+
- 1day
152+
- 1week
153+
- 1month
154+
- 1year
155+
"""
156156
data = self.policy.manager.call_api(
157157
"storage/snapshot-policies/{0}?snapshot_frequency={1}&snapshot_count={2}".format(
158158
self.id, frequency, count

packet/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
"""library to interact with the Equinix Metal API"""
55

6-
__version__ = "1.44.2"
6+
__version__ = "1.44.3"
77
__author__ = "Equinix Metal Engineers"
88
__author_email__ = "[email protected]"
99
__license__ = "LGPL v3"

packet/baseapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class JSONReadError(Error):
4848

4949
class BaseAPI(object):
5050
"""
51-
Basic api class for
51+
Basic api class for
5252
"""
5353

5454
def __init__(self, auth_token, consumer_token, user_agent=""):

0 commit comments

Comments
 (0)