Skip to content

Commit

Permalink
chore: document where the fields come from
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaqq committed Oct 8, 2024
1 parent b359e0d commit 186ab56
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions juju/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,16 @@


class Application(model.ModelEntity):
"""Represents the current state of a deployed application.
In the current library version, as well entire 2.x and 3.x series,
the data is supplied by Juju AllWatcher notifications, also known as deltas
for the specific application. The fields are declared here:
https://github.com/juju/juju/blob/be8a779/core/multiwatcher/types.go#L191-L209
The fields marked deprecated below will be removed in version 4.0 because
a different API must be used against Juju 4.
"""
@property
def name(self) -> str:
return self.entity_id
Expand Down

0 comments on commit 186ab56

Please sign in to comment.