Skip to content

Commit 7f66ad0

Browse files
committed
moved changes
1 parent 17bef74 commit 7f66ad0

7 files changed

Lines changed: 776 additions & 254 deletions

File tree

python/deeplake/__init__.py

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import os
2+
import platform
23
from typing import Callable, Any, Dict, Optional
34

45
try:
@@ -16,7 +17,7 @@ def progress_bar(iterable, *args, **kwargs):
1617
from deeplake.ingestion import from_coco
1718

1819

19-
__version__ = "4.3.0"
20+
__version__ = "4.4.1"
2021

2122
__all__ = [
2223
"__version__",
@@ -72,6 +73,7 @@ def progress_bar(iterable, *args, **kwargs):
7273
"InvalidColumnValueError",
7374
"InvalidCredsKeyAssignmentError",
7475
"InvalidImageCompression",
76+
"InvalidTextCompression",
7577
"InvalidIndexCreationError",
7678
"InvalidLinkDataError",
7779
"InvalidLinkType",
@@ -111,6 +113,7 @@ def progress_bar(iterable, *args, **kwargs):
111113
"StorageKeyAlreadyExists",
112114
"StorageKeyNotFound",
113115
"StorageNetworkConnectionError",
116+
"StorageProviderMissingError",
114117
"Tag",
115118
"TagExistsError",
116119
"TagNotFoundError",
@@ -149,6 +152,7 @@ def progress_bar(iterable, *args, **kwargs):
149152
"delete_async",
150153
"disconnect",
151154
"exists",
155+
"exists_async",
152156
"explain_query",
153157
"from_coco",
154158
"from_csv",
@@ -346,17 +350,19 @@ def after_fork_parent():
346350
def after_fork_child():
347351
pass
348352

349-
os.register_at_fork(
350-
before=before_fork,
351-
after_in_parent=after_fork_parent,
352-
after_in_child=after_fork_child,
353-
)
354353

355-
ff = os.fork
356-
def fork():
357-
__prepare_atfork()
358-
return ff()
354+
if platform.system() != "Windows":
355+
os.register_at_fork(
356+
before=before_fork,
357+
after_in_parent=after_fork_parent,
358+
after_in_child=after_fork_child,
359+
)
360+
361+
ff = os.fork
362+
def fork():
363+
__prepare_atfork()
364+
return ff()
359365

360-
os.fork = fork
366+
os.fork = fork
361367

362368
__register_at_fork()

0 commit comments

Comments
 (0)