From 148eed0b24a2d1a17c0abb11e4fbe28111b77e06 Mon Sep 17 00:00:00 2001 From: Dima Tisnek Date: Wed, 25 Sep 2024 15:40:27 +0900 Subject: [PATCH] note about exposed --- juju/application.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/juju/application.py b/juju/application.py index 687c60f9..3e0eda80 100644 --- a/juju/application.py +++ b/juju/application.py @@ -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