Skip to content

Commit

Permalink
Add missing import
Browse files Browse the repository at this point in the history
  • Loading branch information
mariosasko committed Dec 14, 2023
1 parent 9d02422 commit b7a8d4a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/huggingface_hub/_commit_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,14 @@
from dataclasses import dataclass, field
from itertools import groupby
from pathlib import Path, PurePosixPath
from typing import TYPE_CHECKING, Any, BinaryIO, Dict, Iterable, Iterator, List, Literal, Optional, Tuple, Union
from typing import Any, BinaryIO, Dict, Iterable, Iterator, List, Literal, Optional, Tuple, Union

from tqdm.contrib.concurrent import thread_map

from huggingface_hub import get_session

from .constants import ENDPOINT, HF_HUB_ENABLE_HF_TRANSFER
from .hf_api import RepoFile
from .lfs import UploadInfo, lfs_upload, post_lfs_batch_info
from .utils import (
EntryNotFoundError,
Expand All @@ -30,10 +31,6 @@
from .utils import tqdm as hf_tqdm


if TYPE_CHECKING:
from .hf_api import RepoFile


logger = logging.get_logger(__name__)


Expand Down

0 comments on commit b7a8d4a

Please sign in to comment.