Skip to content

Commit 17a9744

Browse files
committed
union -> |
1 parent aede737 commit 17a9744

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/together/resources/finetune.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import re
44
from pathlib import Path
5-
from typing import List, Dict, Literal, Union
5+
from typing import List, Dict, Literal
66

77
from rich import print as rprint
88

@@ -545,9 +545,7 @@ def download(
545545
*,
546546
output: Path | str | None = None,
547547
checkpoint_step: int | None = None,
548-
checkpoint_type: Union[
549-
DownloadCheckpointType, str
550-
] = DownloadCheckpointType.DEFAULT,
548+
checkpoint_type: DownloadCheckpointType | str = DownloadCheckpointType.DEFAULT,
551549
) -> FinetuneDownloadResult:
552550
"""
553551
Downloads compressed fine-tuned model or checkpoint to local disk.

0 commit comments

Comments
 (0)