Skip to content

Commit

Permalink
Focal lib changes (#817)
Browse files Browse the repository at this point in the history
  • Loading branch information
dragomirp authored Jan 14, 2025
1 parent da22c0f commit f2e6fc1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/charms/postgresql_k8s/v0/postgresql.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

import logging
from collections import OrderedDict
from typing import List, Optional, Set, Tuple
from typing import Dict, List, Optional, Set, Tuple

import psycopg2
from ops.model import Relation
Expand All @@ -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 = 41
LIBPATCH = 42

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

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

def enable_disable_extensions(
self, extensions: dict[str, bool], database: Optional[str] = None
self, extensions: Dict[str, bool], database: Optional[str] = None
) -> None:
"""Enables or disables a PostgreSQL extension.
Expand Down

0 comments on commit f2e6fc1

Please sign in to comment.