diff --git a/.sdk-version b/.sdk-version index 194d155..147ed7d 100644 --- a/.sdk-version +++ b/.sdk-version @@ -1 +1 @@ -v2.51.0 +v2.52.1 diff --git a/docs/AppApiRestV2FunctionsTypesFunction.md b/docs/AppApiRestV2FunctionsTypesFunction.md index c2afbb0..e708c7e 100644 --- a/docs/AppApiRestV2FunctionsTypesFunction.md +++ b/docs/AppApiRestV2FunctionsTypesFunction.md @@ -11,8 +11,8 @@ Name | Type | Description | Notes **function_vaddr** | **int** | Function virtual address | **function_size** | **int** | Function size | **debug** | **bool** | Whether the function is debug | -**embedding_3d** | **List[float]** | | -**embedding_1d** | **List[float]** | | +**embedding_3d** | **List[float]** | | [optional] +**embedding_1d** | **List[float]** | | [optional] ## Example diff --git a/revengai/__init__.py b/revengai/__init__.py index 745cf80..fd3c6c7 100644 --- a/revengai/__init__.py +++ b/revengai/__init__.py @@ -13,7 +13,7 @@ """ # noqa: E501 -__version__ = "v2.51.0" +__version__ = "v2.52.1" # Define package exports __all__ = [ diff --git a/revengai/api_client.py b/revengai/api_client.py index 29ff407..0261654 100644 --- a/revengai/api_client.py +++ b/revengai/api_client.py @@ -90,7 +90,7 @@ def __init__( self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/v2.51.0/python' + self.user_agent = 'OpenAPI-Generator/v2.52.1/python' self.client_side_validation = configuration.client_side_validation def __enter__(self): diff --git a/revengai/configuration.py b/revengai/configuration.py index 01b471a..8afa467 100644 --- a/revengai/configuration.py +++ b/revengai/configuration.py @@ -533,8 +533,8 @@ def to_debug_report(self) -> str: return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: v2.51.0\n"\ - "SDK Package Version: v2.51.0".\ + "Version of the API: v2.52.1\n"\ + "SDK Package Version: v2.52.1".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self) -> List[HostSetting]: diff --git a/revengai/models/app_api_rest_v2_functions_types_function.py b/revengai/models/app_api_rest_v2_functions_types_function.py index efa2171..d8100db 100644 --- a/revengai/models/app_api_rest_v2_functions_types_function.py +++ b/revengai/models/app_api_rest_v2_functions_types_function.py @@ -31,8 +31,8 @@ class AppApiRestV2FunctionsTypesFunction(BaseModel): function_vaddr: StrictInt = Field(description="Function virtual address") function_size: StrictInt = Field(description="Function size") debug: StrictBool = Field(description="Whether the function is debug") - embedding_3d: Optional[List[Union[StrictFloat, StrictInt]]] - embedding_1d: Optional[List[Union[StrictFloat, StrictInt]]] + embedding_3d: Optional[List[Union[StrictFloat, StrictInt]]] = None + embedding_1d: Optional[List[Union[StrictFloat, StrictInt]]] = None __properties: ClassVar[List[str]] = ["function_id", "function_name", "function_mangled_name", "function_vaddr", "function_size", "debug", "embedding_3d", "embedding_1d"] model_config = ConfigDict( diff --git a/test/test_app_api_rest_v2_functions_types_function.py b/test/test_app_api_rest_v2_functions_types_function.py index a3322e4..b0912be 100644 --- a/test/test_app_api_rest_v2_functions_types_function.py +++ b/test/test_app_api_rest_v2_functions_types_function.py @@ -55,12 +55,6 @@ def make_instance(self, include_optional) -> AppApiRestV2FunctionsTypesFunction: function_vaddr = 56, function_size = 56, debug = True, - embedding_3d = [ - 1.337 - ], - embedding_1d = [ - 1.337 - ], ) """