Skip to content

Commit f9ce43d

Browse files
committed
Include additional param
1 parent dbf11c2 commit f9ce43d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

synapseclient/models/protocols/access_control_protocol.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
from typing import TYPE_CHECKING, Dict, List, Optional, Protocol, Union
55

6+
from tqdm import tqdm
7+
68
from synapseclient import Synapse
79

810
if TYPE_CHECKING:
@@ -319,6 +321,7 @@ def list_acl(
319321
log_tree: bool = False,
320322
*,
321323
synapse_client: Optional[Synapse] = None,
324+
_progress_bar: Optional[tqdm] = None, # Internal parameter for recursive calls
322325
) -> "AclListResult":
323326
"""
324327
List the Access Control Lists (ACLs) for this entity and optionally its children.
@@ -349,6 +352,8 @@ def list_acl(
349352
synapse_client: If not passed in and caching was not disabled by
350353
`Synapse.allow_client_caching(False)` this will use the last created
351354
instance from the Synapse class constructor.
355+
_progress_bar: Internal parameter. Progress bar instance to use for updates
356+
when called recursively. Should not be used by external callers.
352357
353358
Returns:
354359
An AclListResult object containing a structured representation of ACLs where:

0 commit comments

Comments
 (0)