File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -1276,6 +1276,7 @@ def create_annotation(
12761276 value : str ,
12771277 title : str ,
12781278 color : str = None ,
1279+ order : int = None ,
12791280 attributes : list = []
12801281 ) -> str :
12811282 """
@@ -1297,6 +1298,8 @@ def create_annotation(
12971298 }
12981299 if color :
12991300 payload ["color" ] = color
1301+ if order :
1302+ payload ["order" ] = order
13001303 if attributes :
13011304 payload ["attributes" ] = attributes
13021305 return self .api .post_request (endpoint , payload = payload )
@@ -1322,6 +1325,7 @@ def update_annotation(
13221325 value : str = None ,
13231326 title : str = None ,
13241327 color : str = None ,
1328+ order : int = None ,
13251329 attributes : list = []
13261330 ) -> str :
13271331 """
@@ -1341,6 +1345,8 @@ def update_annotation(
13411345 payload ["title" ] = title
13421346 if color :
13431347 payload ["color" ] = color
1348+ if order :
1349+ payload ["order" ] = order
13441350 if attributes :
13451351 payload ["attributes" ] = attributes
13461352 return self .api .put_request (endpoint , payload = payload )
Original file line number Diff line number Diff line change 88
99setuptools .setup (
1010 name = "fastlabel" ,
11- version = "0.11.6 " ,
11+ version = "0.11.7 " ,
1212 author = "eisuke-ueta" ,
13131414 description = "The official Python SDK for FastLabel API, the Data Platform for AI" ,
You can’t perform that action at this time.
0 commit comments