Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions python/deeplake/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@

import deeplake
from ._deeplake import *
from ._deeplake import _deepcopy

__version__ = "4.0.1"
__version__ = "4.0.2"

__all__ = [
"__version__",
Expand Down Expand Up @@ -93,7 +92,7 @@
"core",
"create",
"create_async",
"_deepcopy",
"copy",
"delete",
"formats",
"exists",
Expand Down
6 changes: 3 additions & 3 deletions python/deeplake/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ __all__ = [
"core",
"create",
"create_async",
"_deepcopy",
"copy",
"delete",
"formats",
"exists",
Expand Down Expand Up @@ -1899,7 +1899,7 @@ def create_async(url: str, creds: dict[str, str] | None = None, token: str | Non
ValueError: if a dataset already exists at the given URL (will be raised when the future is awaited)
"""

def _deepcopy(src: str, dst: str, src_creds: dict[str, str] | None = None, dst_creds: dict[str, str] | None = None,
def copy(src: str, dst: str, src_creds: dict[str, str] | None = None, dst_creds: dict[str, str] | None = None,
token: str | None = None,) -> None:
"""
Copies the dataset at the source URL to the destination URL.
Expand All @@ -1914,7 +1914,7 @@ def _deepcopy(src: str, dst: str, src_creds: dict[str, str] | None = None, dst_c
token (str, optional): Activeloop token, used for fetching credentials to the dataset at path if it is a Deep Lake dataset. This is optional, tokens are normally autogenerated.

Examples:
>>> deeplake._deepcopy("al://organization_id/source_dataset", "al://organization_id/destination_dataset")
>>> deeplake.copy("al://organization_id/source_dataset", "al://organization_id/destination_dataset")

"""

Expand Down
10 changes: 0 additions & 10 deletions python/deeplake/types.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -425,16 +425,6 @@ def Image(dtype: DataType | str = "uint8", sample_compression: str = "png") -> T
...


@typing.overload
def BoundingBox(dtype: DataType | str = "float32") -> Type: ...


@typing.overload
def BoundingBox(
dtype: DataType | str, format: str, bbox_type: str | None = None
) -> Type: ...


def BoundingBox(
dtype: DataType | str = "float32",
format: str | None = None,
Expand Down