Skip to content

Commit f2e6fc1

Browse files
authored
Focal lib changes (#817)
1 parent da22c0f commit f2e6fc1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/charms/postgresql_k8s/v0/postgresql.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
import logging
2323
from collections import OrderedDict
24-
from typing import List, Optional, Set, Tuple
24+
from typing import Dict, List, Optional, Set, Tuple
2525

2626
import psycopg2
2727
from ops.model import Relation
@@ -35,7 +35,7 @@
3535

3636
# Increment this PATCH version before using `charmcraft publish-lib` or reset
3737
# to 0 if you are raising the major API version
38-
LIBPATCH = 41
38+
LIBPATCH = 42
3939

4040
INVALID_EXTRA_USER_ROLE_BLOCKING_MESSAGE = "invalid role(s) for extra user roles"
4141

@@ -318,7 +318,7 @@ def delete_user(self, user: str) -> None:
318318
raise PostgreSQLDeleteUserError() from e
319319

320320
def enable_disable_extensions(
321-
self, extensions: dict[str, bool], database: Optional[str] = None
321+
self, extensions: Dict[str, bool], database: Optional[str] = None
322322
) -> None:
323323
"""Enables or disables a PostgreSQL extension.
324324

0 commit comments

Comments
 (0)