Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .sdk-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v3.87.0
v3.88.0
1 change: 1 addition & 0 deletions docs/SseEventContextCompactedData.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | **object** | |
**event_id** | **int** | |
**source_run_id** | **str** | | [optional]
**type** | **str** | |

## Example
Expand Down
1 change: 1 addition & 0 deletions docs/SseEventRunCancelledData.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | **object** | |
**event_id** | **int** | |
**source_run_id** | **str** | | [optional]
**type** | **str** | |

## Example
Expand Down
1 change: 1 addition & 0 deletions docs/SseEventRunErrorData.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | **object** | |
**event_id** | **int** | |
**source_run_id** | **str** | | [optional]
**type** | **str** | |

## Example
Expand Down
1 change: 1 addition & 0 deletions docs/SseEventRunFinishedData.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | **object** | |
**event_id** | **int** | |
**source_run_id** | **str** | | [optional]
**type** | **str** | |

## Example
Expand Down
1 change: 1 addition & 0 deletions docs/SseEventRunStartedData.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | **object** | |
**event_id** | **int** | |
**source_run_id** | **str** | | [optional]
**type** | **str** | |

## Example
Expand Down
1 change: 1 addition & 0 deletions docs/SseEventStepFinishedData.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | **object** | |
**event_id** | **int** | |
**source_run_id** | **str** | | [optional]
**type** | **str** | |

## Example
Expand Down
1 change: 1 addition & 0 deletions docs/SseEventStepStartedData.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | **object** | |
**event_id** | **int** | |
**source_run_id** | **str** | | [optional]
**type** | **str** | |

## Example
Expand Down
1 change: 1 addition & 0 deletions docs/SseEventTextMessageContentData.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | **object** | |
**event_id** | **int** | |
**source_run_id** | **str** | | [optional]
**type** | **str** | |

## Example
Expand Down
1 change: 1 addition & 0 deletions docs/SseEventTextMessageEndData.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | **object** | |
**event_id** | **int** | |
**source_run_id** | **str** | | [optional]
**type** | **str** | |

## Example
Expand Down
1 change: 1 addition & 0 deletions docs/SseEventTextMessageStartData.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | **object** | |
**event_id** | **int** | |
**source_run_id** | **str** | | [optional]
**type** | **str** | |

## Example
Expand Down
1 change: 1 addition & 0 deletions docs/SseEventTitleUpdatedData.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | **object** | |
**event_id** | **int** | |
**source_run_id** | **str** | | [optional]
**type** | **str** | |

## Example
Expand Down
1 change: 1 addition & 0 deletions docs/SseEventToolCallArgsDeltaData.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | **object** | |
**event_id** | **int** | |
**source_run_id** | **str** | | [optional]
**type** | **str** | |

## Example
Expand Down
1 change: 1 addition & 0 deletions docs/SseEventToolCallEndData.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | **object** | |
**event_id** | **int** | |
**source_run_id** | **str** | | [optional]
**type** | **str** | |

## Example
Expand Down
1 change: 1 addition & 0 deletions docs/SseEventToolCallResultData.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | **object** | |
**event_id** | **int** | |
**source_run_id** | **str** | | [optional]
**type** | **str** | |

## Example
Expand Down
1 change: 1 addition & 0 deletions docs/SseEventToolCallStartData.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | **object** | |
**event_id** | **int** | |
**source_run_id** | **str** | | [optional]
**type** | **str** | |

## Example
Expand Down
1 change: 1 addition & 0 deletions docs/SseEventToolConfirmationRequiredData.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | **object** | |
**event_id** | **int** | |
**source_run_id** | **str** | | [optional]
**type** | **str** | |

## Example
Expand Down
2 changes: 1 addition & 1 deletion revengai/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
""" # noqa: E501


__version__ = "v3.87.0"
__version__ = "v3.88.0"

# Define package exports
__all__ = [
Expand Down
9 changes: 6 additions & 3 deletions revengai/api/analyses_core_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,7 @@ def get_analysis_basic_info(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> BaseResponseBasic:
"""Gets basic analysis information
"""(Deprecated) Gets basic analysis information

Returns basic analysis information for an analysis

Expand All @@ -981,6 +981,7 @@ def get_analysis_basic_info(
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501
warnings.warn("GET /v2/analyses/{analysis_id}/basic is deprecated.", DeprecationWarning)

_param = self._get_analysis_basic_info_serialize(
analysis_id=analysis_id,
Expand Down Expand Up @@ -1022,7 +1023,7 @@ def get_analysis_basic_info_with_http_info(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ApiResponse[BaseResponseBasic]:
"""Gets basic analysis information
"""(Deprecated) Gets basic analysis information

Returns basic analysis information for an analysis

Expand All @@ -1049,6 +1050,7 @@ def get_analysis_basic_info_with_http_info(
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501
warnings.warn("GET /v2/analyses/{analysis_id}/basic is deprecated.", DeprecationWarning)

_param = self._get_analysis_basic_info_serialize(
analysis_id=analysis_id,
Expand Down Expand Up @@ -1090,7 +1092,7 @@ def get_analysis_basic_info_without_preload_content(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> RESTResponseType:
"""Gets basic analysis information
"""(Deprecated) Gets basic analysis information

Returns basic analysis information for an analysis

Expand All @@ -1117,6 +1119,7 @@ def get_analysis_basic_info_without_preload_content(
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501
warnings.warn("GET /v2/analyses/{analysis_id}/basic is deprecated.", DeprecationWarning)

_param = self._get_analysis_basic_info_serialize(
analysis_id=analysis_id,
Expand Down
18 changes: 12 additions & 6 deletions revengai/api/binaries_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ def get_binary_additional_details(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> BaseResponseBinaryAdditionalResponse:
"""Gets the additional details of a binary
"""(Deprecated) Gets the additional details of a binary


:param binary_id: (required)
Expand All @@ -351,6 +351,7 @@ def get_binary_additional_details(
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501
warnings.warn("GET /v2/binaries/{binary_id}/additional-details is deprecated.", DeprecationWarning)

_param = self._get_binary_additional_details_serialize(
binary_id=binary_id,
Expand Down Expand Up @@ -392,7 +393,7 @@ def get_binary_additional_details_with_http_info(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ApiResponse[BaseResponseBinaryAdditionalResponse]:
"""Gets the additional details of a binary
"""(Deprecated) Gets the additional details of a binary


:param binary_id: (required)
Expand All @@ -418,6 +419,7 @@ def get_binary_additional_details_with_http_info(
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501
warnings.warn("GET /v2/binaries/{binary_id}/additional-details is deprecated.", DeprecationWarning)

_param = self._get_binary_additional_details_serialize(
binary_id=binary_id,
Expand Down Expand Up @@ -459,7 +461,7 @@ def get_binary_additional_details_without_preload_content(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> RESTResponseType:
"""Gets the additional details of a binary
"""(Deprecated) Gets the additional details of a binary


:param binary_id: (required)
Expand All @@ -485,6 +487,7 @@ def get_binary_additional_details_without_preload_content(
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501
warnings.warn("GET /v2/binaries/{binary_id}/additional-details is deprecated.", DeprecationWarning)

_param = self._get_binary_additional_details_serialize(
binary_id=binary_id,
Expand Down Expand Up @@ -859,7 +862,7 @@ def get_binary_additional_details_status(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> BaseResponseAdditionalDetailsStatusResponse:
"""Gets the status of the additional details task for a binary
"""(Deprecated) Gets the status of the additional details task for a binary


:param binary_id: (required)
Expand All @@ -885,6 +888,7 @@ def get_binary_additional_details_status(
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501
warnings.warn("GET /v2/binaries/{binary_id}/additional-details/status is deprecated.", DeprecationWarning)

_param = self._get_binary_additional_details_status_serialize(
binary_id=binary_id,
Expand Down Expand Up @@ -926,7 +930,7 @@ def get_binary_additional_details_status_with_http_info(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ApiResponse[BaseResponseAdditionalDetailsStatusResponse]:
"""Gets the status of the additional details task for a binary
"""(Deprecated) Gets the status of the additional details task for a binary


:param binary_id: (required)
Expand All @@ -952,6 +956,7 @@ def get_binary_additional_details_status_with_http_info(
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501
warnings.warn("GET /v2/binaries/{binary_id}/additional-details/status is deprecated.", DeprecationWarning)

_param = self._get_binary_additional_details_status_serialize(
binary_id=binary_id,
Expand Down Expand Up @@ -993,7 +998,7 @@ def get_binary_additional_details_status_without_preload_content(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> RESTResponseType:
"""Gets the status of the additional details task for a binary
"""(Deprecated) Gets the status of the additional details task for a binary


:param binary_id: (required)
Expand All @@ -1019,6 +1024,7 @@ def get_binary_additional_details_status_without_preload_content(
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501
warnings.warn("GET /v2/binaries/{binary_id}/additional-details/status is deprecated.", DeprecationWarning)

_param = self._get_binary_additional_details_status_serialize(
binary_id=binary_id,
Expand Down
2 changes: 1 addition & 1 deletion revengai/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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/v3.87.0/python'
self.user_agent = 'OpenAPI-Generator/v3.88.0/python'
self.client_side_validation = configuration.client_side_validation

def __enter__(self):
Expand Down
4 changes: 2 additions & 2 deletions revengai/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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: v3.87.0\n"\
"SDK Package Version: v3.87.0".\
"Version of the API: v3.88.0\n"\
"SDK Package Version: v3.88.0".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self) -> List[HostSetting]:
Expand Down
4 changes: 3 additions & 1 deletion revengai/models/sse_event_context_compacted_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ class SseEventContextCompactedData(BaseModel):
""" # noqa: E501
data: Optional[Any]
event_id: StrictInt
source_run_id: Optional[StrictStr] = None
type: StrictStr
additional_properties: Dict[str, Any] = {}
__properties: ClassVar[List[str]] = ["data", "event_id", "type"]
__properties: ClassVar[List[str]] = ["data", "event_id", "source_run_id", "type"]

model_config = ConfigDict(
populate_by_name=True,
Expand Down Expand Up @@ -96,6 +97,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
_obj = cls.model_validate({
"data": obj.get("data"),
"event_id": obj.get("event_id"),
"source_run_id": obj.get("source_run_id"),
"type": obj.get("type")
})
# store additional fields in additional_properties
Expand Down
4 changes: 3 additions & 1 deletion revengai/models/sse_event_run_cancelled_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ class SseEventRunCancelledData(BaseModel):
""" # noqa: E501
data: Optional[Any]
event_id: StrictInt
source_run_id: Optional[StrictStr] = None
type: StrictStr
additional_properties: Dict[str, Any] = {}
__properties: ClassVar[List[str]] = ["data", "event_id", "type"]
__properties: ClassVar[List[str]] = ["data", "event_id", "source_run_id", "type"]

model_config = ConfigDict(
populate_by_name=True,
Expand Down Expand Up @@ -96,6 +97,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
_obj = cls.model_validate({
"data": obj.get("data"),
"event_id": obj.get("event_id"),
"source_run_id": obj.get("source_run_id"),
"type": obj.get("type")
})
# store additional fields in additional_properties
Expand Down
4 changes: 3 additions & 1 deletion revengai/models/sse_event_run_error_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ class SseEventRunErrorData(BaseModel):
""" # noqa: E501
data: Optional[Any]
event_id: StrictInt
source_run_id: Optional[StrictStr] = None
type: StrictStr
additional_properties: Dict[str, Any] = {}
__properties: ClassVar[List[str]] = ["data", "event_id", "type"]
__properties: ClassVar[List[str]] = ["data", "event_id", "source_run_id", "type"]

model_config = ConfigDict(
populate_by_name=True,
Expand Down Expand Up @@ -96,6 +97,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
_obj = cls.model_validate({
"data": obj.get("data"),
"event_id": obj.get("event_id"),
"source_run_id": obj.get("source_run_id"),
"type": obj.get("type")
})
# store additional fields in additional_properties
Expand Down
4 changes: 3 additions & 1 deletion revengai/models/sse_event_run_finished_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ class SseEventRunFinishedData(BaseModel):
""" # noqa: E501
data: Optional[Any]
event_id: StrictInt
source_run_id: Optional[StrictStr] = None
type: StrictStr
additional_properties: Dict[str, Any] = {}
__properties: ClassVar[List[str]] = ["data", "event_id", "type"]
__properties: ClassVar[List[str]] = ["data", "event_id", "source_run_id", "type"]

model_config = ConfigDict(
populate_by_name=True,
Expand Down Expand Up @@ -96,6 +97,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
_obj = cls.model_validate({
"data": obj.get("data"),
"event_id": obj.get("event_id"),
"source_run_id": obj.get("source_run_id"),
"type": obj.get("type")
})
# store additional fields in additional_properties
Expand Down
Loading