Skip to content

Commit 1749b17

Browse files
committed
fixup! feat(models): handle is_excluded and exclude_reason in PolicyBreak
1 parent 89e2826 commit 1749b17

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pygitguardian/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,8 +357,9 @@ def content_scan(
357357
self,
358358
document: str,
359359
filename: Optional[str] = None,
360-
all_secrets: Optional[bool] = None,
361360
extra_headers: Optional[Dict[str, str]] = None,
361+
*,
362+
all_secrets: Optional[bool] = None,
362363
) -> Union[Detail, ScanResult]:
363364
"""
364365
content_scan handles the /scan endpoint of the API.
@@ -447,7 +448,6 @@ def multi_content_scan(
447448
if all_secrets is not None:
448449
params["all_secrets"] = all_secrets
449450

450-
print("PARAMS", params)
451451
resp = self.post(
452452
endpoint="multiscan",
453453
data=request_obj,

0 commit comments

Comments
 (0)