Skip to content
This repository was archived by the owner on Sep 12, 2024. It is now read-only.

Commit d174b21

Browse files
committed
return offer request client key
1 parent c516bfb commit d174b21

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

duffel_api/models/offer_request.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ class OfferRequest:
8686
"""
8787

8888
id: str
89+
client_key: str
8990
live_mode: bool
9091
cabin_class: str
9192
created_at: datetime
@@ -98,6 +99,7 @@ def from_json(cls, json: dict):
9899
"""Construct a class instance from a JSON response."""
99100
return cls(
100101
id=json["id"],
102+
client_key=json["client_key"],
101103
live_mode=json["live_mode"],
102104
cabin_class=json["cabin_class"],
103105
offers=get_and_transform(

0 commit comments

Comments
 (0)