Skip to content

Commit b89b1e2

Browse files
committed
Add useful fields to ApplicationOffer
1 parent dea7412 commit b89b1e2

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

juju/remoteapplication.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,11 @@ class ApplicationOffer(model.ModelEntity):
4444
@property
4545
def tag(self):
4646
return tag.application(self.name)
47+
48+
@property
49+
def offer_name(self):
50+
return self.safe_data['offer-name']
51+
52+
@property
53+
def application_name(self):
54+
return self.safe_data['application-name']

0 commit comments

Comments
 (0)