Skip to content

Commit d7d17a5

Browse files
typing
1 parent 218e7d1 commit d7d17a5

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

exasol/toolbox/BaseConfig/__init__.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
from collections.abc import Iterable
2-
from dataclasses import dataclass
3-
from pathlib import Path
42
from typing import (
53
Annotated,
6-
Optional,
74
)
85

96
from pydantic import (
@@ -12,7 +9,6 @@
129
ConfigDict,
1310
computed_field,
1411
)
15-
from pydantic.dataclasses import dataclass
1612

1713
from exasol.toolbox.util.version import Version
1814

@@ -42,12 +38,12 @@ class BaseConfig(BaseModel):
4238
] = ["7.1.9"]
4339
model_config = ConfigDict(frozen=True)
4440

45-
@computed_field
41+
@computed_field # type: ignore[misc]
4642
@property
4743
def min_py_version(self) -> str:
4844
return str(min([Version.from_string(v) for v in self.python_versions]))
4945

50-
@computed_field
46+
@computed_field # type: ignore[misc]
5147
@property
5248
def max_py_version(self) -> str:
5349
return str(max([Version.from_string(v) for v in self.python_versions]))

0 commit comments

Comments
 (0)