Skip to content

Commit ebcdeac

Browse files
committed
refactor: upgrade code
1 parent ea5ff19 commit ebcdeac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hcloud/metrics/domain.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
from __future__ import annotations
22

33
from datetime import datetime
4-
from typing import Dict, List, Literal, Tuple
4+
from typing import Literal
55

66
from dateutil.parser import isoparse
77

88
from ..core import BaseDomain
99

10-
TimeSeries = Dict[str, Dict[Literal["values"], List[Tuple[float, str]]]]
10+
TimeSeries = dict[str, dict[Literal["values"], list[tuple[float, str]]]]
1111

1212

1313
class Metrics(BaseDomain):

0 commit comments

Comments
 (0)