Skip to content

Commit f8550fc

Browse files
authored
Merge pull request #90 from RevEngAI/sdk-update-v3.1.1
🤖 Update SDK to version v3.1.1
2 parents 3b32cf8 + e3803ed commit f8550fc

File tree

8 files changed

+19
-7
lines changed

8 files changed

+19
-7
lines changed

.sdk-version

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

docs/ConfigResponse.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
88
**dashboard_url** | **str** | The domain of the RevEng.AI platform you are connected to | [optional] [default to '']
99
**max_file_size_bytes** | **int** | Maximum file size (in bytes) that can be uploaded for analysis |
1010
**ai_decompiler_unsupported_languages** | **List[str]** | List of programming languages that are not supported for AI decompilation |
11+
**ai_decompiler_supported_models** | **List[str]** | List of models that support AI decompilation |
1112

1213
## Example
1314

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__ = "v3.0.0"
16+
__version__ = "v3.1.1"
1717

1818
# Define package exports
1919
__all__ = [

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/v3.0.0/python'
93+
self.user_agent = 'OpenAPI-Generator/v3.1.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: v3.0.0\n"\
537-
"SDK Package Version: v3.0.0".\
536+
"Version of the API: v3.1.1\n"\
537+
"SDK Package Version: v3.1.1".\
538538
format(env=sys.platform, pyversion=sys.version)
539539

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

revengai/models/config_response.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ class ConfigResponse(BaseModel):
2828
dashboard_url: Optional[StrictStr] = Field(default='', description="The domain of the RevEng.AI platform you are connected to")
2929
max_file_size_bytes: StrictInt = Field(description="Maximum file size (in bytes) that can be uploaded for analysis")
3030
ai_decompiler_unsupported_languages: List[StrictStr] = Field(description="List of programming languages that are not supported for AI decompilation")
31-
__properties: ClassVar[List[str]] = ["dashboard_url", "max_file_size_bytes", "ai_decompiler_unsupported_languages"]
31+
ai_decompiler_supported_models: List[StrictStr] = Field(description="List of models that support AI decompilation")
32+
__properties: ClassVar[List[str]] = ["dashboard_url", "max_file_size_bytes", "ai_decompiler_unsupported_languages", "ai_decompiler_supported_models"]
3233

3334
model_config = ConfigDict(
3435
populate_by_name=True,
@@ -83,7 +84,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
8384
_obj = cls.model_validate({
8485
"dashboard_url": obj.get("dashboard_url") if obj.get("dashboard_url") is not None else '',
8586
"max_file_size_bytes": obj.get("max_file_size_bytes"),
86-
"ai_decompiler_unsupported_languages": obj.get("ai_decompiler_unsupported_languages")
87+
"ai_decompiler_unsupported_languages": obj.get("ai_decompiler_unsupported_languages"),
88+
"ai_decompiler_supported_models": obj.get("ai_decompiler_supported_models")
8789
})
8890
return _obj
8991

test/test_base_response_config_response.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ def make_instance(self, include_optional) -> BaseResponseConfigResponse:
3939
dashboard_url = '',
4040
max_file_size_bytes = 56,
4141
ai_decompiler_unsupported_languages = [
42+
''
43+
],
44+
ai_decompiler_supported_models = [
4245
''
4346
], ),
4447
message = '',

test/test_config_response.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ def make_instance(self, include_optional) -> ConfigResponse:
3737
dashboard_url = '',
3838
max_file_size_bytes = 56,
3939
ai_decompiler_unsupported_languages = [
40+
''
41+
],
42+
ai_decompiler_supported_models = [
4043
''
4144
]
4245
)
@@ -46,6 +49,9 @@ def make_instance(self, include_optional) -> ConfigResponse:
4649
ai_decompiler_unsupported_languages = [
4750
''
4851
],
52+
ai_decompiler_supported_models = [
53+
''
54+
],
4955
)
5056
"""
5157

0 commit comments

Comments
 (0)