diff options
author | wurstsalat <mailtrash@posteo.de> | 2023-06-11 13:39:01 +0300 |
---|---|---|
committer | wurstsalat <mailtrash@posteo.de> | 2023-06-11 13:39:01 +0300 |
commit | 77c9c8818f9ed19bb71172048e1d81f634a5a5e6 (patch) | |
tree | 0afa411791cea26b77c219dd7691434a29a7d099 /clients_icons/clients.py | |
parent | 298406cc223302b11f46f36700833526f5f33d4c (diff) |
cq: Use union operator
Diffstat (limited to 'clients_icons/clients.py')
-rw-r--r-- | clients_icons/clients.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/clients_icons/clients.py b/clients_icons/clients.py index 745fafe..baa9d53 100644 --- a/clients_icons/clients.py +++ b/clients_icons/clients.py @@ -16,7 +16,6 @@ from __future__ import annotations from typing import Any -from typing import Optional from collections import UserDict from dataclasses import dataclass @@ -26,8 +25,8 @@ from gajim.plugins.plugins_i18n import _ @dataclass class ClientData: - default: Optional[tuple[str, str]] = None - variations: Optional[dict[str, str]] = None + default: tuple[str, str] | None = None + variations: dict[str, str] | None = None def get_variations(client_name: str) -> list[str]: |