Skip to content
Snippets Groups Projects

Fix how list types are specified in type hints for type checking

3 files
+ 23
23
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -5,7 +5,7 @@ import random
import string
import shutil
from pathlib import Path
from typing import Literal
from typing import Literal, List
from urllib.parse import unquote
import pandas as pd
@@ -81,7 +81,7 @@ def convert(
def hivize(
parquet_path: str | Path,
hive_path: str | Path,
tld: str | list[str] | None = None,
tld: str | List[str] | None = None,
staging_path: str | Path | None = None,
partition_size: str = '100MiB',
with_cuda: bool | Literal['infer'] = 'infer',
Loading