Skip to content
Closed
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.85.1
v3.86.1
1 change: 1 addition & 0 deletions docs/ELFRelocation.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Name | Type | Description | Notes
**symbol_name** | **str** | |
**is_dynamic** | **bool** | |
**is_pltgot** | **bool** | |
**is_unicode_symbol_name** | **bool** | | [optional] [default to True]

## Example

Expand Down
1 change: 1 addition & 0 deletions docs/ELFSymbol.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Name | Type | Description | Notes
**binding** | **str** | |
**visibility** | **str** | |
**section_index** | **int** | |
**is_unicode_name** | **bool** | | [optional] [default to True]

## 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.85.1"
__version__ = "v3.86.1"

# Define package exports
__all__ = [
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.85.1/python'
self.user_agent = 'OpenAPI-Generator/v3.86.1/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.85.1\n"\
"SDK Package Version: v3.85.1".\
"Version of the API: v3.86.1\n"\
"SDK Package Version: v3.86.1".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self) -> List[HostSetting]:
Expand Down
8 changes: 5 additions & 3 deletions revengai/models/elf_relocation.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import json

from pydantic import BaseModel, ConfigDict, StrictBool, StrictInt, StrictStr
from typing import Any, ClassVar, Dict, List
from typing import Any, ClassVar, Dict, List, Optional
from typing import Optional, Set
from typing_extensions import Self

Expand All @@ -32,7 +32,8 @@ class ELFRelocation(BaseModel):
symbol_name: StrictStr
is_dynamic: StrictBool
is_pltgot: StrictBool
__properties: ClassVar[List[str]] = ["address", "type", "size", "addend", "symbol_name", "is_dynamic", "is_pltgot"]
is_unicode_symbol_name: Optional[StrictBool] = True
__properties: ClassVar[List[str]] = ["address", "type", "size", "addend", "symbol_name", "is_dynamic", "is_pltgot", "is_unicode_symbol_name"]

model_config = ConfigDict(
populate_by_name=True,
Expand Down Expand Up @@ -91,7 +92,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"addend": obj.get("addend"),
"symbol_name": obj.get("symbol_name"),
"is_dynamic": obj.get("is_dynamic"),
"is_pltgot": obj.get("is_pltgot")
"is_pltgot": obj.get("is_pltgot"),
"is_unicode_symbol_name": obj.get("is_unicode_symbol_name") if obj.get("is_unicode_symbol_name") is not None else True
})
return _obj

Expand Down
10 changes: 6 additions & 4 deletions revengai/models/elf_symbol.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
import re # noqa: F401
import json

from pydantic import BaseModel, ConfigDict, StrictInt, StrictStr
from typing import Any, ClassVar, Dict, List
from pydantic import BaseModel, ConfigDict, StrictBool, StrictInt, StrictStr
from typing import Any, ClassVar, Dict, List, Optional
from typing import Optional, Set
from typing_extensions import Self

Expand All @@ -32,7 +32,8 @@ class ELFSymbol(BaseModel):
binding: StrictStr
visibility: StrictStr
section_index: StrictInt
__properties: ClassVar[List[str]] = ["name", "value", "size", "type", "binding", "visibility", "section_index"]
is_unicode_name: Optional[StrictBool] = True
__properties: ClassVar[List[str]] = ["name", "value", "size", "type", "binding", "visibility", "section_index", "is_unicode_name"]

model_config = ConfigDict(
populate_by_name=True,
Expand Down Expand Up @@ -91,7 +92,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"type": obj.get("type"),
"binding": obj.get("binding"),
"visibility": obj.get("visibility"),
"section_index": obj.get("section_index")
"section_index": obj.get("section_index"),
"is_unicode_name": obj.get("is_unicode_name") if obj.get("is_unicode_name") is not None else True
})
return _obj

Expand Down