From 312fc7c917f85753f72dfaa52c3b8fe78332574b Mon Sep 17 00:00:00 2001 From: MiaAltieri Date: Wed, 31 Jul 2024 14:51:46 +0000 Subject: [PATCH] update libs --- lib/charms/mongos/v0/mongos_client_interface.py | 8 +++++--- lib/charms/mongos/v0/set_status.py | 1 + 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/lib/charms/mongos/v0/mongos_client_interface.py b/lib/charms/mongos/v0/mongos_client_interface.py index c99938df..6b25f6a0 100644 --- a/lib/charms/mongos/v0/mongos_client_interface.py +++ b/lib/charms/mongos/v0/mongos_client_interface.py @@ -7,11 +7,13 @@ shards. """ import logging +from ops.framework import Object +from ops.charm import CharmBase +from charms.data_platform_libs.v0.data_interfaces import ( + DatabaseProvides, +) -from charms.data_platform_libs.v0.data_interfaces import DatabaseProvides from charms.mongodb.v1.mongos import MongosConfiguration -from ops.charm import CharmBase -from ops.framework import Object logger = logging.getLogger(__name__) DATABASE_KEY = "database" diff --git a/lib/charms/mongos/v0/set_status.py b/lib/charms/mongos/v0/set_status.py index bc5b4b9b..4f17fdfe 100644 --- a/lib/charms/mongos/v0/set_status.py +++ b/lib/charms/mongos/v0/set_status.py @@ -7,6 +7,7 @@ from ops.framework import Object from ops.model import StatusBase + # The unique Charmhub library identifier, never change it LIBID = "0713372afa0841359edbb777273ecdbf"