Skip to content

Commit f4a634d

Browse files
author
Dan Hertz
committed
add back type annotation
1 parent f63611a commit f4a634d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nightfall/api.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ def __init__(self, key: Optional[str] = None, signing_secret: Optional[str] = No
5252
self.logger = logging.getLogger(__name__)
5353

5454
def scan_text(self, texts: List[str], detection_rules: Optional[List[DetectionRule]] = None,
55-
detection_rule_uuids: Optional[List[str]] = None, context_bytes = None) -> Tuple[List[List[Finding]], List[str]]:
55+
detection_rule_uuids: Optional[List[str]] = None, context_bytes: Optional[int] = None) ->\
56+
Tuple[List[List[Finding]], List[str]]:
5657
"""Scan text with Nightfall.
5758
5859
This method takes the specified config and then makes

0 commit comments

Comments
 (0)