Skip to content

Commit 777296d

Browse files
Change the type hint from str to int
1 parent e966d37 commit 777296d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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)