File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ class InferenceAPIInfo(object):
2323 name : str
2424 connection_url : str
2525 project_id : str
26+ hosting_platform : str
2627
2728 def __init__ (
2829 self ,
@@ -31,12 +32,14 @@ def __init__(
3132 name : str ,
3233 connection_url : str ,
3334 project_id : str ,
35+ hosting_platform : str ,
3436 ):
3537 self .service_id = service_id
3638 self .connection_url = connection_url
3739 self .model_name = model_name
3840 self .name = name
3941 self .project_id = project_id
42+ self .hosting_platform = hosting_platform
4043
4144 @classmethod
4245 def from_dict (
@@ -62,6 +65,7 @@ def from_dict(
6265 model_name = obj ['modelName' ],
6366 name = obj ['name' ],
6467 connection_url = obj ['connectionURL' ],
68+ hosting_platform = obj ['hostingPlatform' ],
6569 )
6670 return out
6771
You can’t perform that action at this time.
0 commit comments