Skip to content

Commit

Permalink
chore: fix mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
jooola committed Aug 8, 2023
1 parent 3d47d23 commit c7c7fae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hcloud/core/domain.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from __future__ import annotations

from datetime import datetime
from typing import Any

from .client import BoundModelBase

Expand All @@ -23,7 +24,7 @@ def __repr__(self) -> str:
return f"{self.__class__.__qualname__}({', '.join(kwargs)})"


def _make_serializable(value) -> dict | list | str | int | float:
def _make_serializable(value: Any) -> dict | list | str | int | float:
if isinstance(value, BoundModelBase):
value = value.data_model

Expand Down

0 comments on commit c7c7fae

Please sign in to comment.