Skip to content

Commit 7f3e742

Browse files
authored
Merge pull request #7 from RevEngAI/sdk-update-v1.75.0
🤖 Update SDK to version v1.75.0
2 parents 8fad518 + 0308789 commit 7f3e742

File tree

337 files changed

+21
-1058
lines changed

Some content is hidden

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

337 files changed

+21
-1058
lines changed

.sdk-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1.73.0
1+
v1.75.0

docs/CalleesCallerFunctionsResponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
8-
**base_address** | **int** | Base address of the binary | [optional] [default to 0]
8+
**base_address** | **int** | Base address of the binary |
99
**callees** | [**List[CalleeFunctionInfo]**](CalleeFunctionInfo.md) | List of functions called by the target function |
1010
**callers** | [**List[CallerFunctionInfo]**](CallerFunctionInfo.md) | List of functions that call the target function |
1111

docs/Symbols.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
8-
**base_address** | **int** | The starting address of the execution | [optional] [default to 0]
8+
**base_address** | **int** | The starting address of the execution |
99
**function_boundaries** | [**List[FunctionBoundary]**](FunctionBoundary.md) | List of user defined function boundaries | [optional] [default to []]
1010

1111
## Example

revengai/__init__.py

Lines changed: 2 additions & 358 deletions
Large diffs are not rendered by default.

revengai/api/__init__.py

Lines changed: 1 addition & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,6 @@
11
# flake8: noqa
22

3-
if __import__("typing").TYPE_CHECKING:
4-
# import apis into api package
5-
from revengai.api.analyses_comments_api import AnalysesCommentsApi
6-
from revengai.api.analyses_core_api import AnalysesCoreApi
7-
from revengai.api.analyses_dynamic_execution_api import AnalysesDynamicExecutionApi
8-
from revengai.api.analyses_results_metadata_api import AnalysesResultsMetadataApi
9-
from revengai.api.analyses_security_checks_api import AnalysesSecurityChecksApi
10-
from revengai.api.authentication_users_api import AuthenticationUsersApi
11-
from revengai.api.binaries_api import BinariesApi
12-
from revengai.api.collections_api import CollectionsApi
13-
from revengai.api.confidence_api import ConfidenceApi
14-
from revengai.api.external_sources_api import ExternalSourcesApi
15-
from revengai.api.firmware_api import FirmwareApi
16-
from revengai.api.functions_ai_decompilation_api import FunctionsAIDecompilationApi
17-
from revengai.api.functions_block_comments_api import FunctionsBlockCommentsApi
18-
from revengai.api.functions_core_api import FunctionsCoreApi
19-
from revengai.api.functions_data_types_api import FunctionsDataTypesApi
20-
from revengai.api.functions_decompilation_api import FunctionsDecompilationApi
21-
from revengai.api.functions_renaming_history_api import FunctionsRenamingHistoryApi
22-
from revengai.api.functions_threat_score_api import FunctionsThreatScoreApi
23-
from revengai.api.models_api import ModelsApi
24-
from revengai.api.search_api import SearchApi
25-
26-
else:
27-
from lazy_imports import LazyModule, as_package, load
28-
29-
load(
30-
LazyModule(
31-
*as_package(__file__),
32-
"""# import apis into api package
3+
# import apis into api package
334
from revengai.api.analyses_comments_api import AnalysesCommentsApi
345
from revengai.api.analyses_core_api import AnalysesCoreApi
356
from revengai.api.analyses_dynamic_execution_api import AnalysesDynamicExecutionApi
@@ -51,8 +22,3 @@
5122
from revengai.api.models_api import ModelsApi
5223
from revengai.api.search_api import SearchApi
5324

54-
""",
55-
name=__name__,
56-
doc=__doc__,
57-
)
58-
)

revengai/api_client.py

Lines changed: 5 additions & 5 deletions
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/v1.73.0/python'
93+
self.user_agent = 'OpenAPI-Generator/v1.75.0/python'
9494
self.client_side_validation = configuration.client_side_validation
9595

9696
def __enter__(self):
@@ -459,13 +459,13 @@ def __deserialize(self, data, klass):
459459

460460
if klass in self.PRIMITIVE_TYPES:
461461
return self.__deserialize_primitive(data, klass)
462-
elif klass == object:
462+
elif klass is object:
463463
return self.__deserialize_object(data)
464-
elif klass == datetime.date:
464+
elif klass is datetime.date:
465465
return self.__deserialize_date(data)
466-
elif klass == datetime.datetime:
466+
elif klass is datetime.datetime:
467467
return self.__deserialize_datetime(data)
468-
elif klass == decimal.Decimal:
468+
elif klass is decimal.Decimal:
469469
return decimal.Decimal(data)
470470
elif issubclass(klass, Enum):
471471
return self.__deserialize_enum(data, klass)

revengai/configuration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -529,8 +529,8 @@ def to_debug_report(self) -> str:
529529
return "Python SDK Debug Report:\n"\
530530
"OS: {env}\n"\
531531
"Python Version: {pyversion}\n"\
532-
"Version of the API: v1.73.0\n"\
533-
"SDK Package Version: v1.73.0".\
532+
"Version of the API: v1.75.0\n"\
533+
"SDK Package Version: v1.75.0".\
534534
format(env=sys.platform, pyversion=sys.version)
535535

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

0 commit comments

Comments
 (0)