Skip to content

Commit 6c8889c

Browse files
committed
reformat and rebuild
1 parent dff35f2 commit 6c8889c

File tree

4 files changed

+42
-41
lines changed

4 files changed

+42
-41
lines changed

examples/containers/sglang_deployment_example.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,7 @@ def graceful_shutdown(signum, _frame) -> None:
103103
# Get the inference API key
104104
inference_key = INFERENCE_KEY
105105
if not inference_key:
106-
inference_key = input(
107-
'Enter your Inference API Key from the DataCrunch dashboard: '
108-
)
106+
inference_key = input('Enter your Inference API Key from the DataCrunch dashboard: ')
109107
else:
110108
print('Using Inference API Key from environment')
111109

uv.lock

Lines changed: 35 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

verda/__init__.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,18 @@
33

44
import warnings
55

6+
67
class _DataCrunchClientAlias:
78
def __call__(self, *args, **kwargs):
89
warnings.warn(
9-
"DataCrunchClient is deprecated; use VerdaClient instead.",
10+
'DataCrunchClient is deprecated; use VerdaClient instead.',
1011
DeprecationWarning,
1112
stacklevel=2,
1213
)
1314
return VerdaClient(*args, **kwargs)
1415

16+
1517
# creates a callable that behaves like the class
1618
DataCrunchClient = _DataCrunchClientAlias()
17-
DataCrunchClient.__name__ = "DataCrunchClient"
19+
DataCrunchClient.__name__ = 'DataCrunchClient'
1820
DataCrunchClient.__doc__ = VerdaClient.__doc__

verda/datacrunch.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@
66
from verda.verda import VerdaClient as DataCrunchClient
77

88
import warnings
9+
910
warnings.warn(
10-
"datacrunch.datacrunch is deprecated; use `from verda` instead.",
11+
'datacrunch.datacrunch is deprecated; use `from verda` instead.',
1112
DeprecationWarning,
1213
stacklevel=2,
1314
)

0 commit comments

Comments
 (0)