Skip to content

Commit

Permalink
refactor: upgrade code
Browse files Browse the repository at this point in the history
  • Loading branch information
jooola committed Oct 22, 2024
1 parent 276f925 commit 5d2640e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hcloud/metrics/domain.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
from __future__ import annotations

from datetime import datetime
from typing import Dict, List, Literal, Tuple
from typing import Literal

from dateutil.parser import isoparse

from ..core import BaseDomain

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


class Metrics(BaseDomain):
Expand Down

0 comments on commit 5d2640e

Please sign in to comment.