Skip to content

Commit

Permalink
fix: payload inherits resource
Browse files Browse the repository at this point in the history
  • Loading branch information
Justintime50 authored and nwithan8 committed Oct 20, 2023
1 parent f74826e commit 9a6b196
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## v7.13.1 (2023-05-31)

- Fixes a bug where `Payload` didn't inherit `EasyPostObject` which could throw errors when retrieving event payloads (closes #284)

## v7.13.0 (2023-05-02)

- Adds `retrieve_estimated_delivery_date` function to the Shipment class
Expand Down
5 changes: 4 additions & 1 deletion easypost/payload.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
class Payload:
from easypost.resource import Resource


class Payload(Resource):
pass
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

setup(
name="easypost",
version="7.13.0",
version="7.13.1",
description="EasyPost Shipping API Client Library for Python",
author="EasyPost",
author_email="support@easypost.com",
Expand Down

0 comments on commit 9a6b196

Please sign in to comment.