Skip to content

Commit

Permalink
note about exposed
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaqq committed Sep 25, 2024
1 parent a143a70 commit 0d48c3d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions juju/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@ def name(self) -> str:

@property
def exposed(self) -> bool:
"""
FIXME what's the best way to get this?
1. Applications[19].ApplicationInfo(*entities[tag:str])
-> results[n].result.exposed: bool
2. FullStatus(...)
# we don't want to use that
3. Firewaller[7].GetExposeInfo(*entities[tag:str])
-> results[n].exposed: bool
"""
rv = self.safe_data["exposed"]
return rv

Expand Down

0 comments on commit 0d48c3d

Please sign in to comment.