We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ee5b60 commit 3bf5221Copy full SHA for 3bf5221
1 file changed
singlestoredb/management/inference_api.py
@@ -23,6 +23,7 @@ class InferenceAPIInfo(object):
23
name: str
24
connection_url: str
25
project_id: str
26
+ hosting_platform: str
27
28
def __init__(
29
self,
@@ -31,12 +32,14 @@ def __init__(
31
32
name: str,
33
connection_url: str,
34
project_id: str,
35
+ hosting_platform: str,
36
):
37
self.service_id = service_id
38
self.connection_url = connection_url
39
self.model_name = model_name
40
self.name = name
41
self.project_id = project_id
42
+ self.hosting_platform = hosting_platform
43
44
@classmethod
45
def from_dict(
@@ -62,6 +65,7 @@ def from_dict(
62
65
model_name=obj['modelName'],
63
66
name=obj['name'],
64
67
connection_url=obj['connectionURL'],
68
+ hosting_platform=obj['hostingPlatform'],
69
)
70
return out
71
0 commit comments