Skip to content

Commit ca5b79c

Browse files
authored
Merge pull request #28 from RevEngAI/sdk-update-v2.0.4
🤖 Update SDK to version v2.0.4
2 parents 0c93f59 + 104dec7 commit ca5b79c

File tree

7 files changed

+10
-15
lines changed

7 files changed

+10
-15
lines changed

.sdk-version

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

docs/AnalysesCoreApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ Name | Type | Description | Notes
274274
275275
Gets basic analysis information
276276

277-
Just a random placeholder for now
277+
Returns basic analysis information for an analysis
278278

279279
### Example
280280

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.0.0"
16+
__version__ = "v2.0.4"
1717

1818
# Define package exports
1919
__all__ = [

revengai/api/analyses_core_api.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -928,7 +928,7 @@ def get_analysis_basic_info(
928928
) -> BaseResponseBasic:
929929
"""Gets basic analysis information
930930
931-
Just a random placeholder for now
931+
Returns basic analysis information for an analysis
932932
933933
:param analysis_id: (required)
934934
:type analysis_id: int
@@ -996,7 +996,7 @@ def get_analysis_basic_info_with_http_info(
996996
) -> ApiResponse[BaseResponseBasic]:
997997
"""Gets basic analysis information
998998
999-
Just a random placeholder for now
999+
Returns basic analysis information for an analysis
10001000
10011001
:param analysis_id: (required)
10021002
:type analysis_id: int
@@ -1064,7 +1064,7 @@ def get_analysis_basic_info_without_preload_content(
10641064
) -> RESTResponseType:
10651065
"""Gets basic analysis information
10661066
1067-
Just a random placeholder for now
1067+
Returns basic analysis information for an analysis
10681068
10691069
:param analysis_id: (required)
10701070
:type analysis_id: int

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.0.0/python'
93+
self.user_agent = 'OpenAPI-Generator/v2.0.4/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
@@ -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: v2.0.0\n"\
533-
"SDK Package Version: v2.0.0".\
532+
"Version of the API: v2.0.4\n"\
533+
"SDK Package Version: v2.0.4".\
534534
format(env=sys.platform, pyversion=sys.version)
535535

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

revengai/models/matched_function.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class MatchedFunction(BaseModel):
2929
binary_id: StrictInt
3030
function_name: StrictStr
3131
function_vaddr: StrictInt
32-
mangled_name: Optional[StrictStr]
32+
mangled_name: StrictStr
3333
debug: StrictBool
3434
binary_name: StrictStr
3535
sha_256_hash: StrictStr
@@ -77,11 +77,6 @@ def to_dict(self) -> Dict[str, Any]:
7777
exclude=excluded_fields,
7878
exclude_none=True,
7979
)
80-
# set to None if mangled_name (nullable) is None
81-
# and model_fields_set contains the field
82-
if self.mangled_name is None and "mangled_name" in self.model_fields_set:
83-
_dict['mangled_name'] = None
84-
8580
# set to None if similarity (nullable) is None
8681
# and model_fields_set contains the field
8782
if self.similarity is None and "similarity" in self.model_fields_set:

0 commit comments

Comments
 (0)