Skip to content

Commit

Permalink
Tweak lib for use in focal charms
Browse files Browse the repository at this point in the history
  • Loading branch information
dragomirp committed Oct 11, 2023
1 parent 6f7551c commit 2fb366d
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 @@ -19,7 +19,7 @@
Any charm using this library should import the `psycopg2` or `psycopg2-binary` dependency.
"""
import logging
from typing import List, Optional, Set, Tuple
from typing import Dict, List, Optional, Set, Tuple

import psycopg2
from psycopg2 import sql
Expand All @@ -32,7 +32,7 @@

# Increment this PATCH version before using `charmcraft publish-lib` or reset
# to 0 if you are raising the major API version
LIBPATCH = 14
LIBPATCH = 15

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

Expand Down Expand Up @@ -423,7 +423,7 @@ def update_user_password(self, username: str, password: str) -> None:
@staticmethod
def build_postgresql_parameters(
profile: str, available_memory: int
) -> Optional[dict[str, str]]:
) -> Optional[Dict[str, str]]:
"""Builds the PostgreSQL parameters.
Args:
Expand Down

0 comments on commit 2fb366d

Please sign in to comment.