Commit d0bb093 1 parent c5c7498 commit d0bb093 Copy full SHA for d0bb093
File tree 1 file changed +13
-0
lines changed
1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change
1
+ import warnings
1
2
import sys
2
3
import http .client
3
4
import json
@@ -1505,6 +1506,11 @@ def __init__(
1505
1506
:param container_memory: Docker container memory available to the application.
1506
1507
:param container: Used when instantiating VespaDocker from a running container.
1507
1508
"""
1509
+ warnings .warn (
1510
+ "VespaDocker will only be available on vespa.deployment module starting at version 0.9.0. Use vespa.deployment.VespaDocker instead." ,
1511
+ category = DeprecationWarning ,
1512
+ stacklevel = 2 ,
1513
+ )
1508
1514
self .container = container
1509
1515
container_id = None
1510
1516
container_name = None
@@ -1879,6 +1885,13 @@ def __init__(
1879
1885
key file is not available.
1880
1886
:param output_file: Output file to write output messages.
1881
1887
"""
1888
+
1889
+ warnings .warn (
1890
+ "VespaCloud will only be available on vespa.deployment module starting at version 0.9.0. Use vespa.deployment.VespaCloud instead." ,
1891
+ category = DeprecationWarning ,
1892
+ stacklevel = 2 ,
1893
+ )
1894
+
1882
1895
self .tenant = tenant
1883
1896
self .application = application
1884
1897
self .application_package = application_package
You can’t perform that action at this time.
0 commit comments