Skip to content

Commit

Permalink
fixup! Upgrade type annotations syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
dlax committed Feb 21, 2024
1 parent cab5757 commit a706a91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pgactivity/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import enum
import os
from pathlib import Path
from typing import IO, Any, TypeVar
from typing import IO, Any, Dict, TypeVar

import attr
from attr import validators
Expand Down Expand Up @@ -194,7 +194,7 @@ def from_config_section(cls: type[_T], section: configparser.SectionProxy) -> _T
ETC = Path("/etc")


class Configuration(dict[str, UISection]):
class Configuration(Dict[str, UISection]):
_T = TypeVar("_T", bound="Configuration")

@classmethod
Expand Down

0 comments on commit a706a91

Please sign in to comment.