Skip to content

Commit eef1891

Browse files
Merge pull request #46 from MislavReversingLabs/main
2.5.5
2 parents dce2c65 + db8d8ef commit eef1891

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

CHANGELOG.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -262,4 +262,12 @@ v2.5.1 (2024-04-02)
262262
#### Improvements
263263
- Updated the Python package dependencies to:
264264
- `requests>=2.31.0`
265-
- `urllib3>=2.0.7`
265+
- `urllib3>=2.0.7`
266+
267+
268+
2.5.5 (2024-05-15)
269+
-------------------
270+
271+
#### Bugfixes
272+
- **a1000** module:
273+
- Changed the `risk_score` parameter's type hint from `str` to `int` in `set_classification` method's docstring.

ReversingLabs/SDK/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
A Python SDK for communicating with ReversingLabs services.
66
"""
77

8-
__version__ = "2.5.4"
8+
__version__ = "2.5.5"

ReversingLabs/SDK/a1000.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1124,7 +1124,7 @@ def set_classification(self, sample_hash, classification, system, risk_score=Non
11241124
:type classification: str
11251125
:param risk_score: If specified, it must be within range for the specified classification. If not specified,
11261126
a default value is used: Goodware: 0, Suspicious: 6, Malicious: 10
1127-
:type risk_score: str
1127+
:type risk_score: int
11281128
:param threat_platform: if specified, it must be on the supported list (platforms and subplatforms - see
11291129
official API docs). If not specified, the default value is 'Win32'.
11301130
:type threat_platform: str
@@ -2114,7 +2114,7 @@ def __create_post_payload(custom_filename=None, file_url=None, crawler=None, ar
21142114
:type classification: str
21152115
:param risk_score: If specified, it must be within range for the specified classification. If not specified,
21162116
a default value is used: Goodware: 0, Suspicious: 6, Malicious: 10
2117-
:type risk_score: str
2117+
:type risk_score: int
21182118
:param threat_platform: if specified, it must be on the supported list (platforms and subplatforms - see
21192119
official API docs). If not specified, the default value is 'Win32'.
21202120
:type threat_platform: str

0 commit comments

Comments
 (0)