Skip to content

Instantly share code, notes, and snippets.

@dataclass
class Status:
# important bits pulls from juju FullStatus
...
def check(full_status: juju.FullStatus, **kwargs) -> Status:
# simple, sync code here
...
diff --color=auto -ur juju-2.9.49.0/PKG-INFO juju-2.9.49.1/PKG-INFO
--- juju-2.9.49.0/PKG-INFO 2024-05-02 19:20:55
+++ juju-2.9.49.1/PKG-INFO 2024-11-29 16:15:21
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: juju
-Version: 2.9.49.0
+Version: 2.9.49.1
Summary: Python library for Juju
Home-page: https://github.com/juju/python-libjuju
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
connection id: 253219152672480 ---> {
"type": "Charms",
"request": "ResolveCharms",
"version": 7,
"params": {
"macaroon": null,
"resolve": [
{
"reference": "ch:ubuntu",
"charm-origin": {