Skip to content

Commit

Permalink
update typing to typing_extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwardLi-coder committed Sep 12, 2024
1 parent 765d1a8 commit 07dfc02
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/datachain/lib/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,17 @@
from datetime import datetime
from io import BytesIO
from pathlib import Path, PurePosixPath
from typing import TYPE_CHECKING, Any, ClassVar, Literal, Optional, Self, Union
from typing import TYPE_CHECKING, Any, ClassVar, Literal, Optional, Union
from urllib.parse import unquote, urlparse
from urllib.request import url2pathname

from fsspec.callbacks import DEFAULT_CALLBACK, Callback
from PIL import Image
from pydantic import Field, field_validator

if TYPE_CHECKING:
from typing_extensions import Self

from datachain.cache import UniqueId
from datachain.client.fileslice import FileSlice
from datachain.lib.data_model import DataModel
Expand Down

0 comments on commit 07dfc02

Please sign in to comment.