Skip to content

Commit 93c40e8

Browse files
[pre-commit.ci lite] apply automatic fixes
1 parent 158985b commit 93c40e8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/yandex_cloud_ml_sdk/_types/tuning/tuning_types.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ def field_name(self) -> str:
1919

2020
@property
2121
@abc.abstractmethod
22-
def proto_type(self) -> Type[ProtoTuningTypeLora] | Type[ProtoTuningTypePromptTune]:
22+
def proto_type(self) -> type[ProtoTuningTypeLora] | type[ProtoTuningTypePromptTune]:
2323
""":meta private:"""
2424

2525

2626
@dataclass(frozen=True)
2727
class TuningTypeLora(BaseTuningType):
2828
#: :meta private:
29-
proto_type: ClassVar[Type[ProtoTuningTypeLora]] = ProtoTuningTypeLora
29+
proto_type: ClassVar[type[ProtoTuningTypeLora]] = ProtoTuningTypeLora
3030
#: :meta private:
3131
field_name: ClassVar[str] = 'lora'
3232

@@ -39,7 +39,7 @@ class TuningTypeLora(BaseTuningType):
3939
@dataclass(frozen=True)
4040
class TuningTypePromptTune(BaseTuningType):
4141
#: :meta private:
42-
proto_type: ClassVar[Type[ProtoTuningTypePromptTune]] = ProtoTuningTypePromptTune
42+
proto_type: ClassVar[type[ProtoTuningTypePromptTune]] = ProtoTuningTypePromptTune
4343
#: :meta private:
4444
field_name: ClassVar[str] = 'prompt_tune'
4545

0 commit comments

Comments
 (0)