From 0b9256d997da926016d47b6aa9aef91bff2d369a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sinclert=20P=C3=A9rez?= Date: Tue, 4 Mar 2025 13:01:23 +0100 Subject: [PATCH] Fix PostgreSQL lib function signature --- lib/charms/postgresql_k8s/v0/postgresql.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/charms/postgresql_k8s/v0/postgresql.py b/lib/charms/postgresql_k8s/v0/postgresql.py index c0f09af804..8e2b7072ad 100644 --- a/lib/charms/postgresql_k8s/v0/postgresql.py +++ b/lib/charms/postgresql_k8s/v0/postgresql.py @@ -35,7 +35,7 @@ # Increment this PATCH version before using `charmcraft publish-lib` or reset # to 0 if you are raising the major API version -LIBPATCH = 44 +LIBPATCH = 45 # Groups to distinguish database permissions PERMISSIONS_GROUP_ADMIN = "admin" @@ -223,7 +223,7 @@ def create_user( user: str, password: Optional[str] = None, admin: bool = False, - extra_user_roles: Optional[list[str]] = None, + extra_user_roles: Optional[List[str]] = None, ) -> None: """Creates a database user.