Skip to content

Commit 78854dc

Browse files
committed
rename bulk commands
1 parent c25d905 commit 78854dc

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

databunkerpro/api.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1467,35 +1467,35 @@ def bulk_list_group_users(
14671467
data["groupname"] = str(group_ref)
14681468
return self._make_request("BulkListGroupUsers", data, request_metadata)
14691469

1470-
def bulk_list_user_requests(
1470+
def bulk_list_all_user_requests(
14711471
self,
14721472
unlock_uuid: str,
14731473
offset: int = 0,
14741474
limit: int = 10,
14751475
request_metadata: Optional[Dict[str, Any]] = None,
14761476
) -> Dict[str, Any]:
1477-
"""List user requests in a bulk operation."""
1477+
"""List all user requests in a bulk operation."""
14781478
data = {
14791479
"unlockuuid": unlock_uuid,
14801480
"offset": offset,
14811481
"limit": limit,
14821482
}
1483-
return self._make_request("BulkListUserRequests", data, request_metadata)
1483+
return self._make_request("BulkListAllUserRequests", data, request_metadata)
14841484

1485-
def bulk_list_audit_events(
1485+
def bulk_list_all_audit_events(
14861486
self,
14871487
unlock_uuid: str,
14881488
offset: int = 0,
14891489
limit: int = 10,
14901490
request_metadata: Optional[Dict[str, Any]] = None,
14911491
) -> Dict[str, Any]:
1492-
"""List audit events in a bulk operation."""
1492+
"""List all audit events in a bulk operation."""
14931493
data = {
14941494
"unlockuuid": unlock_uuid,
14951495
"offset": offset,
14961496
"limit": limit,
14971497
}
1498-
return self._make_request("BulkListAuditEvents", data, request_metadata)
1498+
return self._make_request("BulkListAllAuditEvents", data, request_metadata)
14991499

15001500
def bulk_list_tokens(
15011501
self,

0 commit comments

Comments
 (0)