Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
klaasmeinke committed Oct 29, 2024
1 parent 7092c0b commit 0d2ca52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions subwiz/types.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import argparse
import os
from typing import Optional
from typing import Optional, Union

import tldextract
import torch
Expand Down Expand Up @@ -84,7 +84,7 @@ def input_domains_type(value: list[str]) -> list[Domain]:
return domains


def output_file_type(value: Optional[str, os.PathLike]) -> Optional[os.PathLike]:
def output_file_type(value: Optional[Union[str, os.PathLike]]) -> Optional[os.PathLike]:
if value is None:
return value

Expand Down

0 comments on commit 0d2ca52

Please sign in to comment.