Skip to content

Commit

Permalink
feat: comment out unsupported typing
Browse files Browse the repository at this point in the history
  • Loading branch information
18alantom committed Jan 23, 2024
1 parent e8ea985 commit 23bd717
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bench/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from pathlib import Path
from shlex import split
from tarfile import data_filter, AbsoluteLinkError, TarInfo
from typing import Callable, List, Optional, Tuple
from typing import List, Optional, Tuple

# imports - third party imports
import click
Expand Down Expand Up @@ -575,7 +575,7 @@ def get_cmd_from_sysargv():
def get_app_cache_extract_filter(
count_threshold: int = 10_000,
size_threshold: int = 1_000_000_000,
) -> Callable[[TarInfo, str], TarInfo | None]:
): # -> Callable[[TarInfo, str], TarInfo | None]
state = dict(count=0, size=0)

def filter_function(member: TarInfo, dest_path: str) -> Optional[TarInfo]:
Expand Down

0 comments on commit 23bd717

Please sign in to comment.