@@ -26,6 +26,7 @@ class CreatePluginRequest(Request):
2626 type : str = None
2727 transport : str = None
2828 isPublic : bool = None
29+ isTrainable : bool = None
2930 handle : str = None
3031 description : str = None
3132 dimensionality : int = None
@@ -102,6 +103,7 @@ class Plugin:
102103 type : str = None
103104 transport : str = None
104105 isPublic : bool = None
106+ isTrainable : bool = None
105107 handle : str = None
106108 description : str = None
107109 dimensionality : int = None
@@ -122,6 +124,7 @@ def from_dict(d: any, client: Client = None) -> "Plugin":
122124 type = d .get ('type' , None ),
123125 transport = d .get ('transport' , None ),
124126 isPublic = d .get ('isPublic' , None ),
127+ isTrainable = d .get ('isTrainable' , None ),
125128 handle = d .get ('handle' , None ),
126129 description = d .get ('description' , None ),
127130 dimensionality = d .get ('dimensionality' , None ),
@@ -140,6 +143,7 @@ def create(
140143 type : str ,
141144 transport : str ,
142145 isPublic : bool ,
146+ isTrainable : bool = False ,
143147 handle : str = None ,
144148 dimensionality : int = None ,
145149 limitAmount : int = None ,
@@ -159,6 +163,7 @@ def create(
159163 type = type ,
160164 transport = transport ,
161165 isPublic = isPublic ,
166+ isTrainable = isTrainable ,
162167 handle = handle ,
163168 description = description ,
164169 dimensionality = dimensionality ,
0 commit comments