Skip to content

Commit 4ac3d80

Browse files
committed
v4.0.2 api.
1 parent 6039f72 commit 4ac3d80

File tree

3 files changed

+5
-16
lines changed

3 files changed

+5
-16
lines changed

python/deeplake/__init__.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55

66
import deeplake
77
from ._deeplake import *
8-
from ._deeplake import _deepcopy
98

10-
__version__ = "4.0.1"
9+
__version__ = "4.0.2"
1110

1211
__all__ = [
1312
"__version__",
@@ -93,7 +92,7 @@
9392
"core",
9493
"create",
9594
"create_async",
96-
"_deepcopy",
95+
"copy",
9796
"delete",
9897
"formats",
9998
"exists",

python/deeplake/__init__.pyi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ __all__ = [
9090
"core",
9191
"create",
9292
"create_async",
93-
"_deepcopy",
93+
"copy",
9494
"delete",
9595
"formats",
9696
"exists",
@@ -1899,7 +1899,7 @@ def create_async(url: str, creds: dict[str, str] | None = None, token: str | Non
18991899
ValueError: if a dataset already exists at the given URL (will be raised when the future is awaited)
19001900
"""
19011901

1902-
def _deepcopy(src: str, dst: str, src_creds: dict[str, str] | None = None, dst_creds: dict[str, str] | None = None,
1902+
def copy(src: str, dst: str, src_creds: dict[str, str] | None = None, dst_creds: dict[str, str] | None = None,
19031903
token: str | None = None,) -> None:
19041904
"""
19051905
Copies the dataset at the source URL to the destination URL.
@@ -1914,7 +1914,7 @@ def _deepcopy(src: str, dst: str, src_creds: dict[str, str] | None = None, dst_c
19141914
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.
19151915
19161916
Examples:
1917-
>>> deeplake._deepcopy("al://organization_id/source_dataset", "al://organization_id/destination_dataset")
1917+
>>> deeplake.copy("al://organization_id/source_dataset", "al://organization_id/destination_dataset")
19181918
19191919
"""
19201920

python/deeplake/types.pyi

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -425,16 +425,6 @@ def Image(dtype: DataType | str = "uint8", sample_compression: str = "png") -> T
425425
...
426426

427427

428-
@typing.overload
429-
def BoundingBox(dtype: DataType | str = "float32") -> Type: ...
430-
431-
432-
@typing.overload
433-
def BoundingBox(
434-
dtype: DataType | str, format: str, bbox_type: str | None = None
435-
) -> Type: ...
436-
437-
438428
def BoundingBox(
439429
dtype: DataType | str = "float32",
440430
format: str | None = None,

0 commit comments

Comments
 (0)