revengai 2.0.4__py3-none-any.whl → 2.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of revengai might be problematic. Click here for more details.
- revengai/__init__.py +1 -1
- revengai/api_client.py +1 -1
- revengai/configuration.py +2 -2
- revengai/models/app_api_rest_v2_functions_responses_function.py +7 -2
- {revengai-2.0.4.dist-info → revengai-2.1.0.dist-info}/METADATA +1 -1
- {revengai-2.0.4.dist-info → revengai-2.1.0.dist-info}/RECORD +8 -8
- {revengai-2.0.4.dist-info → revengai-2.1.0.dist-info}/WHEEL +0 -0
- {revengai-2.0.4.dist-info → revengai-2.1.0.dist-info}/licenses/LICENSE.md +0 -0
revengai/__init__.py
CHANGED
revengai/api_client.py
CHANGED
|
@@ -90,7 +90,7 @@ class ApiClient:
|
|
|
90
90
|
self.default_headers[header_name] = header_value
|
|
91
91
|
self.cookie = cookie
|
|
92
92
|
# Set default User-Agent.
|
|
93
|
-
self.user_agent = 'OpenAPI-Generator/v2.0
|
|
93
|
+
self.user_agent = 'OpenAPI-Generator/v2.1.0/python'
|
|
94
94
|
self.client_side_validation = configuration.client_side_validation
|
|
95
95
|
|
|
96
96
|
def __enter__(self):
|
revengai/configuration.py
CHANGED
|
@@ -529,8 +529,8 @@ conf = revengai.Configuration(
|
|
|
529
529
|
return "Python SDK Debug Report:\n"\
|
|
530
530
|
"OS: {env}\n"\
|
|
531
531
|
"Python Version: {pyversion}\n"\
|
|
532
|
-
"Version of the API: v2.0
|
|
533
|
-
"SDK Package Version: v2.0
|
|
532
|
+
"Version of the API: v2.1.0\n"\
|
|
533
|
+
"SDK Package Version: v2.1.0".\
|
|
534
534
|
format(env=sys.platform, pyversion=sys.version)
|
|
535
535
|
|
|
536
536
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -17,7 +17,7 @@ import re # noqa: F401
|
|
|
17
17
|
import json
|
|
18
18
|
|
|
19
19
|
from pydantic import BaseModel, ConfigDict, Field, StrictInt
|
|
20
|
-
from typing import Any, ClassVar, Dict, List
|
|
20
|
+
from typing import Any, ClassVar, Dict, List, Optional
|
|
21
21
|
from typing import Optional, Set
|
|
22
22
|
from typing_extensions import Self
|
|
23
23
|
|
|
@@ -25,7 +25,7 @@ class AppApiRestV2FunctionsResponsesFunction(BaseModel):
|
|
|
25
25
|
"""
|
|
26
26
|
Function schema used in function strings response.
|
|
27
27
|
""" # noqa: E501
|
|
28
|
-
function_id: StrictInt
|
|
28
|
+
function_id: Optional[StrictInt] = None
|
|
29
29
|
function_vaddr: StrictInt = Field(description="Function virtual address")
|
|
30
30
|
__properties: ClassVar[List[str]] = ["function_id", "function_vaddr"]
|
|
31
31
|
|
|
@@ -68,6 +68,11 @@ class AppApiRestV2FunctionsResponsesFunction(BaseModel):
|
|
|
68
68
|
exclude=excluded_fields,
|
|
69
69
|
exclude_none=True,
|
|
70
70
|
)
|
|
71
|
+
# set to None if function_id (nullable) is None
|
|
72
|
+
# and model_fields_set contains the field
|
|
73
|
+
if self.function_id is None and "function_id" in self.model_fields_set:
|
|
74
|
+
_dict['function_id'] = None
|
|
75
|
+
|
|
71
76
|
return _dict
|
|
72
77
|
|
|
73
78
|
@classmethod
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
revengai/__init__.py,sha256=
|
|
2
|
-
revengai/api_client.py,sha256=
|
|
1
|
+
revengai/__init__.py,sha256=eUyB-Vf0fB_mO79wF7CSa2hwVQqrBJ3n7yMp7JEp48k,42410
|
|
2
|
+
revengai/api_client.py,sha256=MeiemWWpAhM_kJ4gudHCkOSLjaVCtMd7wGW7cjCLdQ4,27669
|
|
3
3
|
revengai/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
4
|
-
revengai/configuration.py,sha256=
|
|
4
|
+
revengai/configuration.py,sha256=KvzDJz15t_JU8zlVVfNfq9HePm0Qa-8Ivh0VB7XsPa0,18747
|
|
5
5
|
revengai/exceptions.py,sha256=IvdI9ZIZ9b2lSSKtIKMQDlG-5UPAedrjm3U4xfmGkso,6385
|
|
6
6
|
revengai/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
7
|
revengai/rest.py,sha256=T6Q2dcazhntqm288H33BKC1hf8NVdvmQWgaymlJo158,9376
|
|
@@ -49,7 +49,7 @@ revengai/models/app_api_rest_v2_analyses_enums_dynamic_execution_status.py,sha25
|
|
|
49
49
|
revengai/models/app_api_rest_v2_analyses_enums_order_by.py,sha256=Wpv3tfyAeBzN5_jkk4tBtYlJvUn8h0qudg4bvzBtKh8,739
|
|
50
50
|
revengai/models/app_api_rest_v2_analyses_responses_tag_item.py,sha256=Clh9pPBQKqeqeRiOZG4Fbh77pLPyKMCH3r3nU8Ej0Pc,2921
|
|
51
51
|
revengai/models/app_api_rest_v2_collections_enums_order_by.py,sha256=IVV9Auj0-HwTYYI0ZvJv-P3ciLOkq0l7MOyy0A5s92I,846
|
|
52
|
-
revengai/models/app_api_rest_v2_functions_responses_function.py,sha256=
|
|
52
|
+
revengai/models/app_api_rest_v2_functions_responses_function.py,sha256=DYRGwkWhrmdjgQQ13SFRwkcEF7VyaJnsJWLrcZiQkvc,2936
|
|
53
53
|
revengai/models/app_api_rest_v2_functions_types_function.py,sha256=t3BttHuPogip0-MMl85lmIcc3wi_1dBcU1Ci-kEteTc,4071
|
|
54
54
|
revengai/models/app_services_binary_ann_schema_tag_item.py,sha256=m25sIz8KEsPES0XGjmOZFhmLNLmB-jsakfRUpRfiMks,2977
|
|
55
55
|
revengai/models/app_services_dynamic_execution_schemas_dynamic_execution_status.py,sha256=9e3LDnw0iNCbowQPFTkNyIqkzsCQyJLZrx6tqRska6o,2562
|
|
@@ -329,7 +329,7 @@ revengai/models/vulnerabilities.py,sha256=9t6uoZd3svWyfcZJjmj6zP731Dp47Apb25y8Qt
|
|
|
329
329
|
revengai/models/vulnerability.py,sha256=P7rAOAYU5JLLpcRr824-YJgZba5kPb_J9ALV3tSNfLQ,3688
|
|
330
330
|
revengai/models/vulnerability_type.py,sha256=SyOgfMmELYYc_H84oPkikBpjwngtG5Qw9Q_86a2TPr8,866
|
|
331
331
|
revengai/models/workspace.py,sha256=chjU62GFvByEmaNd6luMNQVQLP3wlPx1zJgGJ_yyMLA,676
|
|
332
|
-
revengai-2.0.
|
|
333
|
-
revengai-2.0.
|
|
334
|
-
revengai-2.0.
|
|
335
|
-
revengai-2.0.
|
|
332
|
+
revengai-2.1.0.dist-info/METADATA,sha256=Jg-ETCO4Ls3Z_tCrjkhGOjqlBcKXK9KvGv-jaBUA_V8,40938
|
|
333
|
+
revengai-2.1.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
334
|
+
revengai-2.1.0.dist-info/licenses/LICENSE.md,sha256=z1S-x9w52sZDqbFdJi0kL5-FLP5CR2aQA0kW8m6scaw,1052
|
|
335
|
+
revengai-2.1.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|