Skip to content

Commit 59c610c

Browse files
committed
chore: upgrade code to python >=3.10
1 parent 474b30b commit 59c610c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

hcloud/core/client.py

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

33
import warnings
4-
from typing import TYPE_CHECKING, Any, Callable, ClassVar
4+
from collections.abc import Callable
5+
from typing import TYPE_CHECKING, Any, ClassVar
56

67
if TYPE_CHECKING:
78
from .._client import Client, ClientBase

tests/unit/conftest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
from __future__ import annotations
44

55
import inspect
6-
from typing import Callable, ClassVar, TypedDict
6+
from collections.abc import Callable
7+
from typing import ClassVar, TypedDict
78
from unittest import mock
89

910
import pytest

0 commit comments

Comments
 (0)