Skip to content

Commit b80caf2

Browse files
authored
Merge pull request #61 from RevEngAI/sdk-update-v2.52.1
🤖 Update SDK to version v2.52.1
2 parents 8d7d37d + 0ae0b35 commit b80caf2

7 files changed

Lines changed: 9 additions & 15 deletions

.sdk-version

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

docs/AppApiRestV2FunctionsTypesFunction.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ Name | Type | Description | Notes
1111
**function_vaddr** | **int** | Function virtual address |
1212
**function_size** | **int** | Function size |
1313
**debug** | **bool** | Whether the function is debug |
14-
**embedding_3d** | **List[float]** | |
15-
**embedding_1d** | **List[float]** | |
14+
**embedding_3d** | **List[float]** | | [optional]
15+
**embedding_1d** | **List[float]** | | [optional]
1616

1717
## Example
1818

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

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

revengai/models/app_api_rest_v2_functions_types_function.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ class AppApiRestV2FunctionsTypesFunction(BaseModel):
3131
function_vaddr: StrictInt = Field(description="Function virtual address")
3232
function_size: StrictInt = Field(description="Function size")
3333
debug: StrictBool = Field(description="Whether the function is debug")
34-
embedding_3d: Optional[List[Union[StrictFloat, StrictInt]]]
35-
embedding_1d: Optional[List[Union[StrictFloat, StrictInt]]]
34+
embedding_3d: Optional[List[Union[StrictFloat, StrictInt]]] = None
35+
embedding_1d: Optional[List[Union[StrictFloat, StrictInt]]] = None
3636
__properties: ClassVar[List[str]] = ["function_id", "function_name", "function_mangled_name", "function_vaddr", "function_size", "debug", "embedding_3d", "embedding_1d"]
3737

3838
model_config = ConfigDict(

test/test_app_api_rest_v2_functions_types_function.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,6 @@ def make_instance(self, include_optional) -> AppApiRestV2FunctionsTypesFunction:
5555
function_vaddr = 56,
5656
function_size = 56,
5757
debug = True,
58-
embedding_3d = [
59-
1.337
60-
],
61-
embedding_1d = [
62-
1.337
63-
],
6458
)
6559
"""
6660

0 commit comments

Comments
 (0)