Skip to content

Commit ec495ee

Browse files
Update SDK to version v2.41.1
- Generated from OpenAPI spec version v2.41.1 - Auto-generated by GitHub Actions
1 parent ddeb1ac commit ec495ee

89 files changed

Lines changed: 143 additions & 1305 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.sdk-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v2.37.4
1+
v2.41.1

docs/AnalysesCoreApi.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -597,11 +597,8 @@ Gets the most recent analyses provided a scope, this is then paginated, if pages
597597

598598
```python
599599
import revengai
600-
from revengai.models.app_api_rest_v2_analyses_enums_order_by import AppApiRestV2AnalysesEnumsOrderBy
601600
from revengai.models.base_response_recent import BaseResponseRecent
602-
from revengai.models.dynamic_execution_status_input import DynamicExecutionStatusInput
603601
from revengai.models.model_name import ModelName
604-
from revengai.models.order import Order
605602
from revengai.models.status_input import StatusInput
606603
from revengai.models.workspace import Workspace
607604
from revengai.rest import ApiException

docs/CollectionsApi.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,10 +271,8 @@ Returns a list of collections
271271

272272
```python
273273
import revengai
274-
from revengai.models.app_api_rest_v2_collections_enums_order_by import AppApiRestV2CollectionsEnumsOrderBy
275274
from revengai.models.base_response_list_collection_results import BaseResponseListCollectionResults
276275
from revengai.models.filters import Filters
277-
from revengai.models.order import Order
278276
from revengai.rest import ApiException
279277
from pprint import pprint
280278

docs/SearchApi.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,8 @@ Searches for a specific collection
115115

116116
```python
117117
import revengai
118-
from revengai.models.app_api_rest_v2_collections_enums_order_by import AppApiRestV2CollectionsEnumsOrderBy
119118
from revengai.models.base_response_collection_search_response import BaseResponseCollectionSearchResponse
120119
from revengai.models.filters import Filters
121-
from revengai.models.order import Order
122120
from revengai.rest import ApiException
123121
from pprint import pprint
124122

revengai/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
""" # noqa: E501
1414

1515

16-
__version__ = "v2.37.4"
16+
__version__ = "v2.41.1"
1717

1818
# Define package exports
1919
__all__ = [

revengai/api/analyses_core_api.py

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
from revengai.models.analysis_create_request import AnalysisCreateRequest
2222
from revengai.models.analysis_update_request import AnalysisUpdateRequest
2323
from revengai.models.analysis_update_tags_request import AnalysisUpdateTagsRequest
24-
from revengai.models.app_api_rest_v2_analyses_enums_order_by import AppApiRestV2AnalysesEnumsOrderBy
2524
from revengai.models.base_response_analysis_create_response import BaseResponseAnalysisCreateResponse
2625
from revengai.models.base_response_analysis_detail_response import BaseResponseAnalysisDetailResponse
2726
from revengai.models.base_response_analysis_function_mapping import BaseResponseAnalysisFunctionMapping
@@ -34,9 +33,7 @@
3433
from revengai.models.base_response_recent import BaseResponseRecent
3534
from revengai.models.base_response_status import BaseResponseStatus
3635
from revengai.models.base_response_upload_response import BaseResponseUploadResponse
37-
from revengai.models.dynamic_execution_status_input import DynamicExecutionStatusInput
3836
from revengai.models.model_name import ModelName
39-
from revengai.models.order import Order
4037
from revengai.models.re_analysis_form import ReAnalysisForm
4138
from revengai.models.status_input import StatusInput
4239
from revengai.models.upload_file_type import UploadFileType
@@ -1940,13 +1937,13 @@ def list_analyses(
19401937
workspace: Annotated[Optional[List[Workspace]], Field(description="The workspace to be viewed")] = None,
19411938
status: Annotated[Optional[List[StatusInput]], Field(description="The status of the analysis")] = None,
19421939
model_name: Annotated[Optional[List[ModelName]], Field(description="Show analysis belonging to the model")] = None,
1943-
dynamic_execution_status: Annotated[Optional[DynamicExecutionStatusInput], Field(description="Show analysis that have a dynamic execution with the given status")] = None,
1940+
dynamic_execution_status: Annotated[Optional[Any], Field(description="Show analysis that have a dynamic execution with the given status")] = None,
19441941
usernames: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Show analysis belonging to the user")] = None,
19451942
sha256_hash: Optional[StrictStr] = None,
19461943
limit: Optional[Annotated[int, Field(le=50, strict=True, ge=5)]] = None,
19471944
offset: Optional[StrictInt] = None,
1948-
order_by: Optional[AppApiRestV2AnalysesEnumsOrderBy] = None,
1949-
order: Optional[Order] = None,
1945+
order_by: Optional[Any] = None,
1946+
order: Optional[Any] = None,
19501947
_request_timeout: Union[
19511948
None,
19521949
Annotated[StrictFloat, Field(gt=0)],
@@ -2048,13 +2045,13 @@ def list_analyses_with_http_info(
20482045
workspace: Annotated[Optional[List[Workspace]], Field(description="The workspace to be viewed")] = None,
20492046
status: Annotated[Optional[List[StatusInput]], Field(description="The status of the analysis")] = None,
20502047
model_name: Annotated[Optional[List[ModelName]], Field(description="Show analysis belonging to the model")] = None,
2051-
dynamic_execution_status: Annotated[Optional[DynamicExecutionStatusInput], Field(description="Show analysis that have a dynamic execution with the given status")] = None,
2048+
dynamic_execution_status: Annotated[Optional[Any], Field(description="Show analysis that have a dynamic execution with the given status")] = None,
20522049
usernames: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Show analysis belonging to the user")] = None,
20532050
sha256_hash: Optional[StrictStr] = None,
20542051
limit: Optional[Annotated[int, Field(le=50, strict=True, ge=5)]] = None,
20552052
offset: Optional[StrictInt] = None,
2056-
order_by: Optional[AppApiRestV2AnalysesEnumsOrderBy] = None,
2057-
order: Optional[Order] = None,
2053+
order_by: Optional[Any] = None,
2054+
order: Optional[Any] = None,
20582055
_request_timeout: Union[
20592056
None,
20602057
Annotated[StrictFloat, Field(gt=0)],
@@ -2156,13 +2153,13 @@ def list_analyses_without_preload_content(
21562153
workspace: Annotated[Optional[List[Workspace]], Field(description="The workspace to be viewed")] = None,
21572154
status: Annotated[Optional[List[StatusInput]], Field(description="The status of the analysis")] = None,
21582155
model_name: Annotated[Optional[List[ModelName]], Field(description="Show analysis belonging to the model")] = None,
2159-
dynamic_execution_status: Annotated[Optional[DynamicExecutionStatusInput], Field(description="Show analysis that have a dynamic execution with the given status")] = None,
2156+
dynamic_execution_status: Annotated[Optional[Any], Field(description="Show analysis that have a dynamic execution with the given status")] = None,
21602157
usernames: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Show analysis belonging to the user")] = None,
21612158
sha256_hash: Optional[StrictStr] = None,
21622159
limit: Optional[Annotated[int, Field(le=50, strict=True, ge=5)]] = None,
21632160
offset: Optional[StrictInt] = None,
2164-
order_by: Optional[AppApiRestV2AnalysesEnumsOrderBy] = None,
2165-
order: Optional[Order] = None,
2161+
order_by: Optional[Any] = None,
2162+
order: Optional[Any] = None,
21662163
_request_timeout: Union[
21672164
None,
21682165
Annotated[StrictFloat, Field(gt=0)],

revengai/api/collections_api.py

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@
1616
from typing_extensions import Annotated
1717

1818
from pydantic import Field, StrictBool, StrictInt, StrictStr
19-
from typing import List, Optional
19+
from typing import Any, List, Optional
2020
from typing_extensions import Annotated
21-
from revengai.models.app_api_rest_v2_collections_enums_order_by import AppApiRestV2CollectionsEnumsOrderBy
2221
from revengai.models.base_response_bool import BaseResponseBool
2322
from revengai.models.base_response_collection_binaries_update_response import BaseResponseCollectionBinariesUpdateResponse
2423
from revengai.models.base_response_collection_response import BaseResponseCollectionResponse
@@ -29,7 +28,6 @@
2928
from revengai.models.collection_tags_update_request import CollectionTagsUpdateRequest
3029
from revengai.models.collection_update_request import CollectionUpdateRequest
3130
from revengai.models.filters import Filters
32-
from revengai.models.order import Order
3331

3432
from revengai.api_client import ApiClient, RequestSerialized
3533
from revengai.api_response import ApiResponse
@@ -895,8 +893,8 @@ def list_collections(
895893
filters: Optional[List[Filters]] = None,
896894
limit: Optional[Annotated[int, Field(le=50, strict=True, ge=5)]] = None,
897895
offset: Optional[StrictInt] = None,
898-
order_by: Optional[AppApiRestV2CollectionsEnumsOrderBy] = None,
899-
order: Optional[Order] = None,
896+
order_by: Optional[Any] = None,
897+
order: Optional[Any] = None,
900898
_request_timeout: Union[
901899
None,
902900
Annotated[StrictFloat, Field(gt=0)],
@@ -983,8 +981,8 @@ def list_collections_with_http_info(
983981
filters: Optional[List[Filters]] = None,
984982
limit: Optional[Annotated[int, Field(le=50, strict=True, ge=5)]] = None,
985983
offset: Optional[StrictInt] = None,
986-
order_by: Optional[AppApiRestV2CollectionsEnumsOrderBy] = None,
987-
order: Optional[Order] = None,
984+
order_by: Optional[Any] = None,
985+
order: Optional[Any] = None,
988986
_request_timeout: Union[
989987
None,
990988
Annotated[StrictFloat, Field(gt=0)],
@@ -1071,8 +1069,8 @@ def list_collections_without_preload_content(
10711069
filters: Optional[List[Filters]] = None,
10721070
limit: Optional[Annotated[int, Field(le=50, strict=True, ge=5)]] = None,
10731071
offset: Optional[StrictInt] = None,
1074-
order_by: Optional[AppApiRestV2CollectionsEnumsOrderBy] = None,
1075-
order: Optional[Order] = None,
1072+
order_by: Optional[Any] = None,
1073+
order: Optional[Any] = None,
10761074
_request_timeout: Union[
10771075
None,
10781076
Annotated[StrictFloat, Field(gt=0)],

revengai/api/search_api.py

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,13 @@
1616
from typing_extensions import Annotated
1717

1818
from pydantic import Field, StrictBool, StrictStr
19-
from typing import List, Optional
19+
from typing import Any, List, Optional
2020
from typing_extensions import Annotated
21-
from revengai.models.app_api_rest_v2_collections_enums_order_by import AppApiRestV2CollectionsEnumsOrderBy
2221
from revengai.models.base_response_binary_search_response import BaseResponseBinarySearchResponse
2322
from revengai.models.base_response_collection_search_response import BaseResponseCollectionSearchResponse
2423
from revengai.models.base_response_function_search_response import BaseResponseFunctionSearchResponse
2524
from revengai.models.base_response_tag_search_response import BaseResponseTagSearchResponse
2625
from revengai.models.filters import Filters
27-
from revengai.models.order import Order
2826

2927
from revengai.api_client import ApiClient, RequestSerialized
3028
from revengai.api_response import ApiResponse
@@ -424,8 +422,8 @@ def search_collections(
424422
tags: Annotated[Optional[List[StrictStr]], Field(description="The tags to be searched for")] = None,
425423
model_name: Annotated[Optional[StrictStr], Field(description="The name of the model used to analyze the binary the function belongs to")] = None,
426424
filters: Annotated[Optional[List[Filters]], Field(description="The filters to be used for the search")] = None,
427-
order_by: Annotated[Optional[AppApiRestV2CollectionsEnumsOrderBy], Field(description="The field to sort the order by in the results")] = None,
428-
order_by_direction: Annotated[Optional[Order], Field(description="The order direction in which to return results")] = None,
425+
order_by: Annotated[Optional[Any], Field(description="The field to sort the order by in the results")] = None,
426+
order_by_direction: Annotated[Optional[Any], Field(description="The order direction in which to return results")] = None,
429427
_request_timeout: Union[
430428
None,
431429
Annotated[StrictFloat, Field(gt=0)],
@@ -529,8 +527,8 @@ def search_collections_with_http_info(
529527
tags: Annotated[Optional[List[StrictStr]], Field(description="The tags to be searched for")] = None,
530528
model_name: Annotated[Optional[StrictStr], Field(description="The name of the model used to analyze the binary the function belongs to")] = None,
531529
filters: Annotated[Optional[List[Filters]], Field(description="The filters to be used for the search")] = None,
532-
order_by: Annotated[Optional[AppApiRestV2CollectionsEnumsOrderBy], Field(description="The field to sort the order by in the results")] = None,
533-
order_by_direction: Annotated[Optional[Order], Field(description="The order direction in which to return results")] = None,
530+
order_by: Annotated[Optional[Any], Field(description="The field to sort the order by in the results")] = None,
531+
order_by_direction: Annotated[Optional[Any], Field(description="The order direction in which to return results")] = None,
534532
_request_timeout: Union[
535533
None,
536534
Annotated[StrictFloat, Field(gt=0)],
@@ -634,8 +632,8 @@ def search_collections_without_preload_content(
634632
tags: Annotated[Optional[List[StrictStr]], Field(description="The tags to be searched for")] = None,
635633
model_name: Annotated[Optional[StrictStr], Field(description="The name of the model used to analyze the binary the function belongs to")] = None,
636634
filters: Annotated[Optional[List[Filters]], Field(description="The filters to be used for the search")] = None,
637-
order_by: Annotated[Optional[AppApiRestV2CollectionsEnumsOrderBy], Field(description="The field to sort the order by in the results")] = None,
638-
order_by_direction: Annotated[Optional[Order], Field(description="The order direction in which to return results")] = None,
635+
order_by: Annotated[Optional[Any], Field(description="The field to sort the order by in the results")] = None,
636+
order_by_direction: Annotated[Optional[Any], Field(description="The order direction in which to return results")] = None,
639637
_request_timeout: Union[
640638
None,
641639
Annotated[StrictFloat, Field(gt=0)],

revengai/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def __init__(
9090
self.default_headers[header_name] = header_value
9191
self.cookie = cookie
9292
# Set default User-Agent.
93-
self.user_agent = 'OpenAPI-Generator/v2.37.4/python'
93+
self.user_agent = 'OpenAPI-Generator/v2.41.1/python'
9494
self.client_side_validation = configuration.client_side_validation
9595

9696
def __enter__(self):

revengai/configuration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -533,8 +533,8 @@ def to_debug_report(self) -> str:
533533
return "Python SDK Debug Report:\n"\
534534
"OS: {env}\n"\
535535
"Python Version: {pyversion}\n"\
536-
"Version of the API: v2.37.4\n"\
537-
"SDK Package Version: v2.37.4".\
536+
"Version of the API: v2.41.1\n"\
537+
"SDK Package Version: v2.41.1".\
538538
format(env=sys.platform, pyversion=sys.version)
539539

540540
def get_host_settings(self) -> List[HostSetting]:

0 commit comments

Comments
 (0)