Skip to content

Commit

Permalink
Merge pull request #133 from packethost/release-1.44.3
Browse files Browse the repository at this point in the history
prepare v1.44.3
  • Loading branch information
ocobles authored Jul 27, 2022
2 parents 8c4fe6f + 43a0e47 commit 1241c0c
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- id: fmt_and_lint
run: |
pip install black==19.3b0 pylama
pip install black==22.6.0 pylama
black --check --diff .
pylama packet test setup.py
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
### Changed
### Fixed

## [1.44.3] - 2022-07-27
### Fixed
- Fix handling non-dict error data in ResponseError #128 #129

## [1.44.2] - 2021-11-18
### Fixed
- Fix logic behind `validate_metro_capacity` #125
Expand Down
22 changes: 11 additions & 11 deletions packet/Volume.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,17 +142,17 @@ def delete(self):
def update_snapshot_policy(self, frequency, count):
"""Updates the volume snapshot policy.
:param frequency: (required) Snapshot frequency
Validation of `frequency` is left to the packet api to avoid going out
of date if any new value is introduced.
The currently known values are:
- 1hour,
- 1day
- 1week
- 1month
- 1year
"""
:param frequency: (required) Snapshot frequency
Validation of `frequency` is left to the packet api to avoid going out
of date if any new value is introduced.
The currently known values are:
- 1hour,
- 1day
- 1week
- 1month
- 1year
"""
data = self.policy.manager.call_api(
"storage/snapshot-policies/{0}?snapshot_frequency={1}&snapshot_count={2}".format(
self.id, frequency, count
Expand Down
2 changes: 1 addition & 1 deletion packet/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

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

__version__ = "1.44.2"
__version__ = "1.44.3"
__author__ = "Equinix Metal Engineers"
__author_email__ = "support@equinixmetal.com"
__license__ = "LGPL v3"
Expand Down
2 changes: 1 addition & 1 deletion packet/baseapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class JSONReadError(Error):

class BaseAPI(object):
"""
Basic api class for
Basic api class for
"""

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

0 comments on commit 1241c0c

Please sign in to comment.