File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
exasol/toolbox/BaseConfig Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 11from collections .abc import Iterable
2- from dataclasses import dataclass
3- from pathlib import Path
42from typing import (
53 Annotated ,
6- Optional ,
74)
85
96from pydantic import (
129 ConfigDict ,
1310 computed_field ,
1411)
15- from pydantic .dataclasses import dataclass
1612
1713from 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 ]))
You can’t perform that action at this time.
0 commit comments