Skip to content

Commit 7cbbb96

Browse files
committed
datacrunch: fix imports from datacrunch.instances.instances and friends
verda: hide sub-sub-modules under verda.instances._instances and friends and re-export in verda/instances/__init__.py
1 parent 13bedbc commit 7cbbb96

File tree

72 files changed

+99
-58
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+99
-58
lines changed

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
from verda.InferenceClient import InferenceClient, InferenceResponse
1+
from verda.inference_client import InferenceClient, InferenceResponse
22

33
__all__ = ['InferenceClient', 'InferenceResponse']
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
from verda.InferenceClient.inference_client import *
1+
from verda.inference_client import *

datacrunch_compat/datacrunch/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Compatibility layer for deprecated `datacrunch` package
22

3+
from verda import VerdaClient as DataCrunchClient
34
from verda import (
4-
InferenceClient,
55
__version__,
66
authentication,
77
balance,
@@ -19,12 +19,12 @@
1919
volume_types,
2020
volumes,
2121
)
22-
from verda import VerdaClient as DataCrunchClient
22+
from verda import inference_client as Inference_client
2323

2424
# For old `from datacrunch import *``
2525
__all__ = [
2626
'DataCrunchClient',
27-
'InferenceClient',
27+
'Inference_client',
2828
'__version__',
2929
'authentication',
3030
'balance',

datacrunch_compat/datacrunch/authentication/__init__.py

Whitespace-only changes.

datacrunch_compat/datacrunch/authentication.py renamed to datacrunch_compat/datacrunch/authentication/authentication.py

File renamed without changes.

datacrunch_compat/datacrunch/balance/__init__.py

Whitespace-only changes.
File renamed without changes.

datacrunch_compat/datacrunch/containers/__init__.py

Whitespace-only changes.
File renamed without changes.

0 commit comments

Comments
 (0)